{"kendo.dataviz.ui.Barcode":{"file":"api/dataviz/barcode.md","name":"kendo.dataviz.ui.Barcode","config":[{"name":"renderAs","type":["String"],"default":"\"canvas\"","short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Barcode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Barcode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":4},"Example - Render as SVG, if supported"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  renderAs: \"svg\"\n});\n</script>"]]},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background of the barcode area.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The background of the barcode area.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value: \"HELLO WORLD\",\n  background: \"#2eb3a6\"\n});\n</script>"]]},{"name":"border","type":["Object"],"short_doc":[["para","The border of the barcode area."]],"doc":[["para","The border of the barcode area."],["header",{"level":4},"Example - set the border of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  border: {\n    width: 2,\n    dashType: \"solid\",\n    color: \"black\"\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."]],"orig":"border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"border.color"}]},{"name":"checksum","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the barcode will not display the checksum digit next to the value in the text area."]],"doc":[["para","If set to ",["inlinecode","true"]," the barcode will not display the checksum digit next to the value in the text area."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean8\",\n  value: \"1234567\",\n  checksum: true\n});\n</script>"]]},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the bar elements.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the bar elements.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean13\",\n  value: \"123456789987\",\n  color: \"#10c4b2\"\n});\n</script>"]]},{"name":"height","type":["Number"],"default":"100","short_doc":[["para","The height of the barcode in pixels.  By default the height is 100."]],"doc":[["para","The height of the barcode in pixels.  By default the height is 100."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean13\",\n  value: \"123456789987\",\n  color: \"#10c4b2\",\n  height: 200\n});\n</script>"]]},{"name":"padding","type":["Object"],"short_doc":[["para","The padding of the barcode."]],"doc":[["para","The padding of the barcode."],["header",{"level":4},"Example - set the padding of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  padding: {\n    top: 20,\n    left: 5,\n    right: 5,\n    bottom: 5\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the barcode."]],"doc":[["para","The top padding of the barcode."]],"orig":"padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the barcode."]],"doc":[["para","The right padding of the barcode."]],"orig":"padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the barcode."]],"doc":[["para","The left padding of the barcode."]],"orig":"padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the barcode."]],"doc":[["para","The bottom padding of the barcode."]],"orig":"padding.bottom"}]},{"name":"text","type":["Object"],"short_doc":[["para","Can be set to a JavaScript object which represents the text configuration."]],"doc":[["para","Can be set to a JavaScript object which represents the text configuration."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    color: \"red\",\n    font: \"20px sans-serif\"\n  }\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to false the barcode will not display the value as a text below the barcode lines."]],"doc":[["para","If set to false the barcode will not display the value as a text below the barcode lines."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    visible: false\n  }\n});\n</script>"]],"orig":"text.visible"},{"name":"margin","type":["Object"],"short_doc":[["para","The margin of the text"]],"doc":[["para","The margin of the text"],["header",{"level":4},"Example - set the margin of the text."],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    margin : {\n      top: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the text."]],"doc":[["para","The top margin of the text."]],"orig":"text.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the text."]],"doc":[["para","The right margin of the text."]],"orig":"text.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the text."]],"doc":[["para","The left margin of the text."]],"orig":"text.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the text."]],"doc":[["para","The bottom margin of the text."]],"orig":"text.margin.bottom"}],"orig":"text.margin"},{"name":"font","type":["String"],"default":"\"16px Consolas, Monaco, Sans Mono, monospace, sans-serif\"","short_doc":[["para","The font of the text."]],"doc":[["para","The font of the text."]],"orig":"text.font"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the text. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the text. Any valid CSS color string will work here, including hex and rgb."]],"orig":"text.color"}]},{"name":"type","type":["String"],"default":"\"code39\"","short_doc":[["para","The symbology (encoding) the barcode will use."],["para","The supported values are:"],["bulletlist",["listitem","EAN8"],["listitem","EAN13"],["listitem","UPCE"],["listitem","UPCA"],["listitem","Code11"],["listitem","Code39"],["listitem","Code39Extended"],["listitem","Code93"],["listitem","Code93Extended"],["listitem","Code128"],["listitem","Code128A"],["listitem","Code128B"],["listitem","Code128C"],["listitem","GS1-128"],["listitem","MSImod10"],["listitem","MSImod11"],["listitem","MSImod1010"],["listitem","MSImod1110"],["listitem","POSTNET"]]],"doc":[["para","The symbology (encoding) the barcode will use."],["para","The supported values are:"],["bulletlist",["listitem","EAN8"],["listitem","EAN13"],["listitem","UPCE"],["listitem","UPCA"],["listitem","Code11"],["listitem","Code39"],["listitem","Code39Extended"],["listitem","Code93"],["listitem","Code93Extended"],["listitem","Code128"],["listitem","Code128A"],["listitem","Code128B"],["listitem","Code128C"],["listitem","GS1-128"],["listitem","MSImod10"],["listitem","MSImod11"],["listitem","MSImod1010"],["listitem","MSImod1110"],["listitem","POSTNET"]],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"code128\",\n  value:\"Hello World\",\n  width: 400\n});\n</script>"]]},{"name":"value","type":["String"],"short_doc":[["para","The initial value of the Barcode"]],"doc":[["para","The initial value of the Barcode"],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"12345\"\n});\n</script>"]]},{"name":"width","type":["Number"],"default":"300","short_doc":[["para","The width of the barcode in pixels.  By default the width is 300."]],"doc":[["para","The width of the barcode in pixels.  By default the width is 300."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"code128\",\n  value:\"Hi\",\n  width: 200\n});\n</script>"]]}],"methods":[{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the barcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the barcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value: \"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar image = barcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the Barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value: \"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar image = barcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]},{"name":"redraw","args":[],"short_doc":[["para","Redraws the barcode."]],"doc":[["para","Redraws the barcode."],["header",{"level":4},"Example"],["code_block","var barcode = $(\"#barcode\").data(\"kendoBarcode\");\nbarcode.redraw();"]],"examples":[[["header",{"level":4},"Example"],["code_block","var barcode = $(\"#barcode\").data(\"kendoBarcode\");\nbarcode.redraw();"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the barcode."],["header",{"level":4},"Example - get the SVG representation of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar svg = barcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example - get the SVG representation of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar svg = barcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Number","String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets/Sets the value of the barcode."]],"doc":[["para","Gets/Sets the value of the barcode."],["header",{"level":4},"Example"],["code_block","// get a reference to the barcode widget\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\n\n// get the value of the barcode.\nvar value = barcode.value();\n\n// sets the value of the barcode and redraws it.\nbarcode.value(\"1234567\");"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the barcode."]],"examples":[[["header",{"level":4},"Example"],["code_block","// get a reference to the barcode widget\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\n\n// get the value of the barcode.\nvar value = barcode.value();\n\n// sets the value of the barcode and redraws it.\nbarcode.value(\"1234567\");"]]]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"renderAs ",["inlinecode","String"]," ",["em","(default: \"canvas\")"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Barcode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":4},"Example - Render as SVG, if supported"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  renderAs: \"svg\"\n});\n</script>"],["header",{"level":3},"background ",["inlinecode","String"]," ",["em","(default: \"white\")"]],["para","The background of the barcode area.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value: \"HELLO WORLD\",\n  background: \"#2eb3a6\"\n});\n</script>"],["header",{"level":3},"border ",["inlinecode","Object"]],["para","The border of the barcode area."],["header",{"level":4},"Example - set the border of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  border: {\n    width: 2,\n    dashType: \"solid\",\n    color: \"black\"\n  }\n});\n</script>"],["header",{"level":3},"border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":3},"border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"checksum ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the barcode will not display the checksum digit next to the value in the text area."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean8\",\n  value: \"1234567\",\n  checksum: true\n});\n</script>"],["header",{"level":3},"color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the bar elements.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean13\",\n  value: \"123456789987\",\n  color: \"#10c4b2\"\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The height of the barcode in pixels.  By default the height is 100."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"ean13\",\n  value: \"123456789987\",\n  color: \"#10c4b2\",\n  height: 200\n});\n</script>"],["header",{"level":3},"padding ",["inlinecode","Object"]],["para","The padding of the barcode."],["header",{"level":4},"Example - set the padding of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  padding: {\n    top: 20,\n    left: 5,\n    right: 5,\n    bottom: 5\n  }\n});\n</script>"],["header",{"level":3},"padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the barcode."],["header",{"level":3},"padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the barcode."],["header",{"level":3},"padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the barcode."],["header",{"level":3},"padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the barcode."],["header",{"level":3},"text ",["inlinecode","Object"]],["para","Can be set to a JavaScript object which represents the text configuration."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    color: \"red\",\n    font: \"20px sans-serif\"\n  }\n});\n</script>"],["header",{"level":3},"text.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the text. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"text.font ",["inlinecode","String"]," ",["em","(default: \"16px Consolas, Monaco, Sans Mono, monospace, sans-serif\")"]],["para","The font of the text."],["header",{"level":3},"text.margin ",["inlinecode","Object"]],["para","The margin of the text"],["header",{"level":4},"Example - set the margin of the text."],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    margin : {\n      top: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"text.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the text."],["header",{"level":3},"text.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the text."],["header",{"level":3},"text.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the text."],["header",{"level":3},"text.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the text."],["header",{"level":3},"text.visible ",["inlinecode","Boolean"]," ",["em","(default:true)"]],["para","If set to false the barcode will not display the value as a text below the barcode lines."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"123456\",\n  text:{\n    visible: false\n  }\n});\n</script>"],["header",{"level":3},"type ",["inlinecode","String"]," ",["em","(default: \"code39\")"]],["para","The symbology (encoding) the barcode will use."],["para","The supported values are:"],["bulletlist",["listitem","EAN8"],["listitem","EAN13"],["listitem","UPCE"],["listitem","UPCA"],["listitem","Code11"],["listitem","Code39"],["listitem","Code39Extended"],["listitem","Code93"],["listitem","Code93Extended"],["listitem","Code128"],["listitem","Code128A"],["listitem","Code128B"],["listitem","Code128C"],["listitem","GS1-128"],["listitem","MSImod10"],["listitem","MSImod11"],["listitem","MSImod1010"],["listitem","MSImod1110"],["listitem","POSTNET"]],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"code128\",\n  value:\"Hello World\",\n  width: 400\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String"]],["para","The initial value of the Barcode"],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"12345\"\n});\n</script>"],["header",{"level":3},"width ",["inlinecode","Number"]," ",["em","(default: 300)"]],["para","The width of the barcode in pixels.  By default the width is 300."],["header",{"level":4},"Example"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  type: \"code128\",\n  value:\"Hi\",\n  width: 200\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the barcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value: \"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar image = barcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":3},"redraw"],["para","Redraws the barcode."],["header",{"level":4},"Example"],["code_block","var barcode = $(\"#barcode\").data(\"kendoBarcode\");\nbarcode.redraw();"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the barcode."],["header",{"level":4},"Example - get the SVG representation of the barcode"],["code_block","<div id=\"barcode\"></div>\n<script>\n$(\"#barcode\").kendoBarcode({\n  value:\"FOO\"\n});\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\nvar svg = barcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"value"],["para","Gets/Sets the value of the barcode."],["header",{"level":4},"Example"],["code_block","// get a reference to the barcode widget\nvar barcode = $(\"#barcode\").data(\"kendoBarcode\");\n\n// get the value of the barcode.\nvar value = barcode.value();\n\n// sets the value of the barcode and redraws it.\nbarcode.value(\"1234567\");"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the barcode."]]},"kendo.dataviz.ui.Chart":{"file":"api/dataviz/chart.md","name":"kendo.dataviz.ui.Chart","config":[{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"chart\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/stockdata\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#chart\").kendoChart({\n  autoBind: false,\n  dataSource: dataSource,\n  series: [\n    { field: \"Volume\" }\n  ]\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"]]},{"name":"axisDefaults","type":["Object"],"short_doc":[["para","The default options for all chart axes. Accepts the options supported by ",["link",{"href":"#configuration-categoryAxis"},"categoryAxis"],", ",["link",{"href":"#configuration-valueAxis"},"valueAxis"],", ",["link",{"href":"#configuration-xAxis"},"xAxis"]," and ",["link",{"href":"#configuration-yAxis"},"yAxis"],"."]],"doc":[["para","The default options for all chart axes. Accepts the options supported by ",["link",{"href":"#configuration-categoryAxis"},"categoryAxis"],", ",["link",{"href":"#configuration-valueAxis"},"valueAxis"],", ",["link",{"href":"#configuration-xAxis"},"xAxis"]," and ",["link",{"href":"#configuration-yAxis"},"yAxis"],"."],["header",{"level":4},"Example - set the default axis options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  axisDefaults: {\n    categories: [ \"2012\", \"2013\"]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]]},{"name":"categoryAxis","type":["Array","Object"],"short_doc":[["para","The category axis configuration options."]],"doc":[["para","The category axis configuration options."],["header",{"level":4},"Example - configure the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    categories: [\"2012\", \"2013\"],\n    color: \"#ff0000\"\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The category axis notes configuration."]],"doc":[["para","The category axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.width"}],"orig":"categoryAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.color"}],"orig":"categoryAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.background"}],"orig":"categoryAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.color"}],"orig":"categoryAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.background"}],"orig":"categoryAxis.notes.data.icon"},{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"categoryAxis.notes.data.value"}],"orig":"categoryAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.width"}],"orig":"categoryAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.color"}],"orig":"categoryAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.background"}],"orig":"categoryAxis.notes.label"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.position"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.color"}],"orig":"categoryAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.background"}],"orig":"categoryAxis.notes.icon"}],"orig":"categoryAxis.notes"},{"name":"weekStartDay","type":["Number"],"default":"kendo.days.Sunday","short_doc":[["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]]],"doc":[["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]]],"orig":"categoryAxis.weekStartDay"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."],["header",{"level":4},"Example - hide the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2011/12/20\"),\n      new Date(\"2011/12/21\")\n    ],\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.visible"},{"name":"type","type":["String"],"default":"\"category\"","short_doc":[["para","The category axis type."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"category\" - discrete category axis."]],["listitem",["para","\"date\" - specialized axis for displaying chronological data."]]]],"doc":[["para","The category axis type."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"category\" - discrete category axis."]],["listitem",["para","\"date\" - specialized axis for displaying chronological data."]]],["header",{"level":4},"Example - set the category axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2011/12/20\"),\n      new Date(\"2011/12/21\")\n    ],\n    type: \"date\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.type"},{"name":"title","type":["Object"],"short_doc":[["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."],["header",{"level":4},"Example - hide the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."],["header",{"level":4},"Example - set the category axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"doc":[["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the category axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title. A numeric value will set all paddings."]],"doc":[["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."],["header",{"level":4},"Example - set the category axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."],["header",{"level":4},"Example - set the category axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."],["header",{"level":4},"Example - set the category axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."],["header",{"level":4},"Example - set the category axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.padding.bottom"}],"orig":"categoryAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the category axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the category axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the category axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the category axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the category axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.margin.bottom"}],"orig":"categoryAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."],["header",{"level":4},"Example - set the category axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example - set the category axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.border.color"}],"orig":"categoryAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.title.background"}],"orig":"categoryAxis.title"},{"name":"startAngle","type":["Number"],"default":"90","short_doc":[["para","The angle (degrees) of the first category on the axis."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."]],"doc":[["para","The angle (degrees) of the first category on the axis."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - set the donut chart series start angle"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"radarLine\",\n    data: [ 1, 2, 3 ]\n  }],\n  categoryAxis: {\n    startAngle: 180\n  }\n});\n</script>"]],"orig":"categoryAxis.startAngle"},{"name":"select","type":["Object"],"short_doc":[["para","The selected axis range. If set, axis selection will be enabled."],["para","The range units are:"],["bulletlist",["listitem","Category index (0-based)"],["listitem","Date"]]],"doc":[["para","The selected axis range. If set, axis selection will be enabled."],["para","The range units are:"],["bulletlist",["listitem","Category index (0-based)"],["listitem","Date"]],["header",{"level":4},"Example - configure category axis selection"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      max: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"sub":[{"name":"to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]]],"doc":[["para","The upper boundary of the selected range."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]],["header",{"level":4},"Example - set the category axis selection lower boundary"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.to"},{"name":"mousewheel","type":["Object"],"short_doc":[["para","The mouse wheel configuration of the selection."]],"doc":[["para","The mouse wheel configuration of the selection."],["header",{"level":4},"Example - configure the category axis selection mouse wheel behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        reverse: false,\n        zoom: \"left\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"sub":[{"name":"zoom","type":["String"],"default":"\"both\"","short_doc":[["para","The zoom direction."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"both\" - zooming expands and contracts the selection both sides"]],["listitem",["para","\"left\" - zooming expands and contracts the selection left side only"]],["listitem",["para","\"right\" - zooming expands and contracts the selection right side only"]]]],"doc":[["para","The zoom direction."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"both\" - zooming expands and contracts the selection both sides"]],["listitem",["para","\"left\" - zooming expands and contracts the selection left side only"]],["listitem",["para","\"right\" - zooming expands and contracts the selection right side only"]]],["header",{"level":4},"Example - set the category axis selection zoom"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        zoom: \"left\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.mousewheel.zoom"},{"name":"reverse","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," will reverse the mouse wheel direction. The normal direction is down for \"zoom out\", up for \"zoom in\"."]],"doc":[["para","If set to ",["inlinecode","true"]," will reverse the mouse wheel direction. The normal direction is down for \"zoom out\", up for \"zoom in\"."],["header",{"level":4},"Example - disable reverse mouse wheel selection"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        reverse: false\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.mousewheel.reverse"}],"orig":"categoryAxis.select.mousewheel"},{"name":"min","type":["Object"],"short_doc":[["para","The minimum value which the user can select."]],"doc":[["para","The minimum value which the user can select."],["header",{"level":4},"Example - set the category axis selection minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      min: 1\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.min"},{"name":"max","type":["Object"],"short_doc":[["para","The maximum value which the user can select."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]]],"doc":[["para","The maximum value which the user can select."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]],["header",{"level":4},"Example - set the category axis selection maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      max: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.max"},{"name":"from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."],["header",{"level":4},"Example - set the category axis selection lower boundary"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.select.from"}],"orig":"categoryAxis.select"},{"name":"roundToBaseUnit","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."]],"orig":"categoryAxis.roundToBaseUnit"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."]],"doc":[["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    categories: [\"2012\", \"2013\"],\n    reverse: true\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the category axis."]],"doc":[["para","The plot bands of the category axis."],["header",{"level":4},"Example - set the category plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the category plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.plotBands.to"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."],["header",{"level":4},"Example - set the category plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.plotBands.opacity"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the category plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.plotBands.from"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."],["header",{"level":4},"Example - set the category plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.plotBands.color"}],"orig":"categoryAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the category axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the category axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the category axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\",\n      categoryAxis: \"secondCategoryAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ],\n  categoryAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondCategoryAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"]],"orig":"categoryAxis.pane"},{"name":"name","type":["String"],"default":"\"primary\"","short_doc":[["para","The unique axis name. Used to associate a series with a category axis using the ",["link",{"href":"#configuration-series.categoryAxis"},"series.categoryAxis"]," option."]],"doc":[["para","The unique axis name. Used to associate a series with a category axis using the ",["link",{"href":"#configuration-series.categoryAxis"},"series.categoryAxis"]," option."],["header",{"level":4},"Example - set the category axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [\n    { name: \"month\", categories: [ \"Jan\", \"Feb\" ] },\n    { name: \"year\", categories: [ 2012 ] }\n  ],\n  series: [\n    { categoryAxis: \"month\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.name"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The configuration of the category axis minor ticks."]],"doc":[["para","The configuration of the category axis minor ticks."],["header",{"level":4},"Example - configure the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor ticks."]],"doc":[["para","The skip of the category axis minor ticks."],["header",{"level":4},"Example - set the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor ticks."]],"doc":[["para","The step of the category axis minor ticks."],["header",{"level":4},"Example - set the category axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the category axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."],["header",{"level":4},"Example - hide the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the category axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      size: 6\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorTicks.color"}],"orig":"categoryAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      width: 3,\n      color: \"green\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor grid lines."]],"doc":[["para","The skip of the category axis minor grid lines."],["header",{"level":4},"Example - set the category axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor grid lines."]],"doc":[["para","The step of the category axis minor grid lines."],["header",{"level":4},"Example - set the category axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis minor grid lines in pixels."]],"doc":[["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      width: 3\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.minorGridLines.color"}],"orig":"categoryAxis.minorGridLines"},{"name":"min","type":["Object"],"short_doc":[["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"doc":[["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"orig":"categoryAxis.min"},{"name":"maxDateGroups","type":["Number"],"default":"10","short_doc":[["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"doc":[["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"orig":"categoryAxis.maxDateGroups"},{"name":"max","type":["Object"],"short_doc":[["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"doc":[["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"orig":"categoryAxis.max"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The configuration of the category axis major ticks."]],"doc":[["para","The configuration of the category axis major ticks."],["header",{"level":4},"Example - configure the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major ticks."]],"doc":[["para","The skip of the category axis major ticks."],["header",{"level":4},"Example - set the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major ticks."]],"doc":[["para","The step of the category axis major ticks."],["header",{"level":4},"Example - set the category axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the category axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      width: 3\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the category axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      size: 6\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.majorTicks.color"}],"orig":"categoryAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      width: 3,\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major grid lines."]],"doc":[["para","The skip of the category axis major grid lines."],["header",{"level":4},"Example - set the category axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major grid lines."]],"doc":[["para","The step of the category axis major grid lines."],["header",{"level":4},"Example - set the category axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis major grid lines in pixels."]],"doc":[["para","The width of the category axis major grid lines in pixels."],["header",{"level":4},"Example - set the category axis major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."],["header",{"level":4},"Example - hide the category axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis major grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis major grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.majorGridLines.color"}],"orig":"categoryAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the category axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - set the category axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."],["header",{"level":4},"Example - hide the category axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the category axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.line.color"}],"orig":"categoryAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The axis labels configuration."]],"doc":[["para","The axis labels configuration."],["header",{"level":4},"Example - configure the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."],["header",{"level":4},"Example - hide the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      template: \"Year: #: value #\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      template: kendo.template(\"Year: #: value #\")\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."]],"doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd category axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.step"},{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The number of labels to skip. By default no labels are skipped."]],"doc":[["para","The number of labels to skip. By default no labels are skipped."],["header",{"level":4},"Example - skip category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      skip: 1\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels. By default the labels are not rotated."]],"doc":[["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - rotate the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      rotation: 90\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.rotation"},{"name":"padding","type":["Object","Number"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"doc":[["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: 20\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the category axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        top: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the category axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        right: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the category axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        left: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the category axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        bottom: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.padding.bottom"}],"orig":"categoryAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["header",{"level":4},"Example - mirror the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      mirror: true\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the category axis label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: 20\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the category axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        top: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the category axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        right: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the category axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        left: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the category axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.margin.bottom"}],"orig":"categoryAxis.labels.margin"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      format: \"Year: {0}\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the category axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n       font: \"20px sans-serif\",\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.font"},{"name":"dateFormats","type":["Object"],"short_doc":[["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]]],"doc":[["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set category axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\")\n    ],\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days:\"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"sub":[{"name":"years","type":["String"],"default":"\"yyyy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.dateFormats.years"},{"name":"weeks","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.dateFormats.weeks"},{"name":"months","type":["String"],"default":"\"MMM 'yy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.dateFormats.months"},{"name":"hours","type":["String"],"default":"\"HH:mm\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.dateFormats.hours"},{"name":"days","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\")\n    ],\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.labels.dateFormats.days"}],"orig":"categoryAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"orig":"categoryAxis.labels.culture"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.labels.border.color"}],"orig":"categoryAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.labels.background"}],"orig":"categoryAxis.labels"},{"name":"justified","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."]]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."]],["header",{"level":4},"Example - justify categories and series"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    justified: true,\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.justified"},{"name":"field","type":["String"],"short_doc":[["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."]],"doc":[["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."],["header",{"level":4},"Example - set the category axis field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    field: \"year\"\n  },\n  series: [\n    { field: \"value\" }\n  ],\n  dataSource: [\n    { year: \"2012\", value: 1 },\n    { year: \"2013\", value: 2 }\n  ]\n});\n</script>"]],"orig":"categoryAxis.field"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the category axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the crosshair in pixels."]],"doc":[["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the category axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."],["header",{"level":4},"Example - show the category axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.visible"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the category axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    {\n      type: \"line\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the category axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the crosshair tooltip."]],"doc":[["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the crosshair tooltip."]],"doc":[["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the crosshair tooltip."]],"doc":[["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the crosshair tooltip."]],"doc":[["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.padding.bottom"}],"orig":"categoryAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the category axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border options."]],"doc":[["para","The border options."],["header",{"level":4},"Example - set the category axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.border.color"}],"orig":"categoryAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.tooltip.background"}],"orig":"categoryAxis.crosshair.tooltip"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the category axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.crosshair.opacity"},{"name":"dashType","type":["string"],"default":"\"solid\"","short_doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"categoryAxis.crosshair.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.crosshair.color"}],"orig":"categoryAxis.crosshair"},{"name":"color","type":["String"],"short_doc":[["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."]],"doc":[["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."],["header",{"level":4},"Example - set the category axis color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.color"},{"name":"categories","type":["Array"],"short_doc":[["para","The category names. The chart will create a category for every item of the array."]],"doc":[["para","The category names. The chart will create a category for every item of the array."],["header",{"level":4},"Example - set the categories"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.categories"},{"name":"baseUnitStep","type":["Object"],"default":"1","short_doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"orig":"categoryAxis.baseUnitStep"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"orig":"categoryAxis.baseUnit"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    background: \"#ff0000\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]]],"doc":[["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    axisCrossingValue: [0, 10]\n  },\n  valueAxis: [{}, {}],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"categoryAxis.axisCrossingValue"},{"name":"autoBaseUnitSteps","type":["Object"],"short_doc":[["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"doc":[["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":4},"Example - set category axis auto base unit steps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    }\n});\n</script>"]],"sub":[{"name":"years","type":["Array"],"default":"[1, 2, 3, 5, 10, 25, 50]","short_doc":[["para","The years unit steps."]],"doc":[["para","The years unit steps."],["header",{"level":4},"Example"]],"orig":"categoryAxis.autoBaseUnitSteps.years"},{"name":"months","type":["Array"],"default":"[1, 2, 3, 6]","short_doc":[["para","The months unit steps."]],"doc":[["para","The months unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.months"},{"name":"weeks","type":["Array"],"default":"[1, 2]","short_doc":[["para","The weeks unit steps."]],"doc":[["para","The weeks unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.weeks"},{"name":"days","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The days unit steps."]],"doc":[["para","The days unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.days"},{"name":"hours","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The hours unit steps."]],"doc":[["para","The hours unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.hours"},{"name":"minutes","type":["Array"],"default":"[1, 2, 5, 15, 30]","short_doc":[["para","The minutes unit steps."]],"doc":[["para","The minutes unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.minutes"},{"name":"seconds","type":["Array"],"default":"[1, 2, 5, 15, 30]","short_doc":[["para","The seconds unit steps."]],"doc":[["para","The seconds unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.seconds"}],"orig":"categoryAxis.autoBaseUnitSteps"}]},{"name":"chartArea","type":["Object"],"short_doc":[["para","The chart area configuration options. Represents the entire visible area of the chart."]],"doc":[["para","The chart area configuration options. Represents the entire visible area of the chart."]],"sub":[{"name":"width","type":["Number"],"default":"600","short_doc":[["para","The width of the chart area."]],"doc":[["para","The width of the chart area."],["header",{"level":4},"Example - set the chart area width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    width: 500\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The background opacity of the chart area. By default the background is opaque."]],"doc":[["para","The background opacity of the chart area. By default the background is opaque."],["header",{"level":4},"Example - set the chart area opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"green\",\n    opacity: 0.1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.opacity"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the chart area. A numeric value will set all margins."]],"doc":[["para","The margin of the chart area. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart area margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"5","short_doc":[["para","The top margin of the chart area."]],"doc":[["para","The top margin of the chart area."],["header",{"level":4},"Example - set the chart area top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.margin.top"},{"name":"right","type":["Number"],"default":"5","short_doc":[["para","The right margin of the chart area."]],"doc":[["para","The right margin of the chart area."],["header",{"level":4},"Example - set the chart area right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.margin.right"},{"name":"left","type":["Number"],"default":"5","short_doc":[["para","The left margin of the chart area."]],"doc":[["para","The left margin of the chart area."],["header",{"level":4},"Example - set the chart area left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.margin.left"},{"name":"bottom","type":["Number"],"default":"5","short_doc":[["para","The bottom margin of the chart area."]],"doc":[["para","The bottom margin of the chart area."],["header",{"level":4},"Example - set the chart area bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.margin.bottom"}],"orig":"chartArea.margin"},{"name":"height","type":["Number"],"default":"400","short_doc":[["para","The height of the chart area."]],"doc":[["para","The height of the chart area."],["header",{"level":4},"Example - set the chart area height"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    height: 200\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart area."]],"doc":[["para","The border of the chart area."],["header",{"level":4},"Example - set the chart area border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart area border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart area border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart area border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.border.color"}],"orig":"chartArea.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the chart area. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the chart area. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart area background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart area background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart area background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"chartArea.background"}]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","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 ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","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 ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 10 },\n      { price: 20 }\n    ]\n  },\n  series: [\n    { field: \"price\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { price: 10 },\n    { price: 20 }\n  ],\n  series: [\n    { field: \"price\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id=\"chart\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/stockdata\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#chart\").kendoChart({\n  dataSource: dataSource,\n  series: [\n    { field: \"Volume\" }\n  ]\n});\n</script>"]]},{"name":"legend","type":["Object"],"short_doc":[["para","The chart legend configuration options."]],"doc":[["para","The chart legend configuration options."],["header",{"level":4},"Example - configure the chart legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    background: \"green\",\n    position: \"left\",\n    labels: {\n      font: \"20px sans-serif\",\n      color: \"red\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the legend. By default the chart legend is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the legend. By default the chart legend is visible."],["header",{"level":4},"Example - hide the legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    visible: false\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.visible"},{"name":"position","type":["String"],"default":"\"right\"","short_doc":[["para","The positions of the chart legend."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"top\" - the legend is positioned on the top."]],["listitem",["para","\"bottom\" - the legend is positioned on the bottom."]],["listitem",["para","\"left\" - the legend is positioned on the left."]],["listitem",["para","\"right\" - the legend is positioned on the right."]],["listitem",["para","\"custom\" - the legend is positioned using ",["link",{"href":"#configuration-legend.offsetX"},"legend.offsetX"]," and ",["link",{"href":"#configuration-legend.offsetY"},"legend.offsetY"],"."]]]],"doc":[["para","The positions of the chart legend."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"top\" - the legend is positioned on the top."]],["listitem",["para","\"bottom\" - the legend is positioned on the bottom."]],["listitem",["para","\"left\" - the legend is positioned on the left."]],["listitem",["para","\"right\" - the legend is positioned on the right."]],["listitem",["para","\"custom\" - the legend is positioned using ",["link",{"href":"#configuration-legend.offsetX"},"legend.offsetX"]," and ",["link",{"href":"#configuration-legend.offsetY"},"legend.offsetY"],"."]]]],"orig":"legend.position"},{"name":"offsetY","type":["Number"],"default":"0","short_doc":[["para","The Y offset of the chart legend.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from its initial position.\nA negative value will move the legend upwards from its current position."]],"doc":[["para","The Y offset of the chart legend.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from its initial position.\nA negative value will move the legend upwards from its current position."],["header",{"level":4},"Example - set the chart legend vertical offset"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    offsetY: 10\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.offsetY"},{"name":"offsetX","type":["Number"],"default":"0","short_doc":[["para","The X offset of the chart legend. The offset is relative to the default position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of its initial position.\nA negative value will move the legend to the left of its current position."]],"doc":[["para","The X offset of the chart legend. The offset is relative to the default position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of its initial position.\nA negative value will move the legend to the left of its current position."],["header",{"level":4},"Example - set the chart legend horizontal offset"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    offsetX: 10\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.offsetX"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the chart legend. A numeric value will set all paddings."]],"doc":[["para","The margin of the chart legend. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart legend margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: 20\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the chart legend."]],"doc":[["para","The top margin of the chart legend."],["header",{"level":4},"Example - set the chart legend top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      top: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the chart legend."]],"doc":[["para","The right margin of the chart legend."],["header",{"level":4},"Example - set the chart legend right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      right: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the chart legend."]],"doc":[["para","The left margin of the chart legend."],["header",{"level":4},"Example - set the chart legend left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      left: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the chart legend."]],"doc":[["para","The bottom margin of the chart legend."],["header",{"level":4},"Example - set the chart legend bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      bottom: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.margin.bottom"}],"orig":"legend.margin"},{"name":"labels","type":["Object"],"short_doc":[["para","The chart legend label configuration."]],"doc":[["para","The chart legend label configuration."],["header",{"level":4},"Example - configure the chart legend labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]],["header",{"level":4},"Example - set the chart legend label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: \"Name: #: text #\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: kendo.template(\"Name: #: text #\")\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.template"},{"name":"margin","type":["Number","Object"],"default":"10","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart legend label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart legend label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        top: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart legend label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        right: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart legend label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        left: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart legend label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.margin.bottom"}],"orig":"legend.labels.margin"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the chart legend label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n       font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.font"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.labels.color"}],"orig":"legend.labels"},{"name":"inactiveItems","type":["Object"],"short_doc":[["para","The chart inactive legend items configuration."]],"doc":[["para","The chart inactive legend items configuration."],["header",{"level":4},"Example - configure the chart legend inactive items"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        background: \"green\",\n        color: \"white\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"labels","type":["Object"],"short_doc":[["para","The chart legend label configuration."]],"doc":[["para","The chart legend label configuration."],["header",{"level":4},"Example - configure the chart legend labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        background: \"green\",\n        color: \"white\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]],["header",{"level":4},"Example - set the chart legend label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: \"Name: #: text #\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: kendo.template(\"Name: #: text #\")\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.inactiveItems.labels.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the chart legend label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        font: \"20px sans-serif\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.inactiveItems.labels.font"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"rgb(128, 0, 255)\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.inactiveItems.labels.color"}],"orig":"legend.inactiveItems.labels"}],"orig":"legend.inactiveItems"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the legend."]],"doc":[["para","The border of the legend."],["header",{"level":4},"Example - set the chart legend border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart legend border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.border.color"}],"orig":"legend.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the legend. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the legend. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend background as a RGB value"],["code_block","$(\"#chart\").kendoChart({\n  legend: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend background by name"],["code_block","$(\"#chart\").kendoChart({\n  legend: {\n    background: \"green\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"]],"orig":"legend.background"}]},{"name":"panes","type":["Array"],"short_doc":[["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."]],"doc":[["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."],["header",{"level":4},"Example - configure the chart panes"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\" },\n    { name: \"bottom-pane\" }\n  ]\n});\n</script>"]],"sub":[{"name":"title","type":["String","Object"],"short_doc":[["para","The title configuration of the chart pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the chart pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the chart pane title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\"\n      }\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."],["header",{"level":4},"Example - hide the chart pane title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        visible: false\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        visible: false\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."],["header",{"level":4},"Example - set the chart pane title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\"\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.text"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the chart pane title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        position: \"left\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        position: \"left\"\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.position"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart pane title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: 10\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: 10\n      }\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the chart pane title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          top: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          top: 10\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the chart pane title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          right: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          right: 10\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the chart pane title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          left: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          left: 10\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the chart pane title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          bottom: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          bottom: 10\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.margin.bottom"}],"orig":"panes.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."],["header",{"level":4},"Example - set the chart pane title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        font: \"20px sans-serif\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"green\"\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"#aa00bb\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"#a0b0c0\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart pane title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"rgb(128, 0, 255)\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"rgb(128, 0, 255)\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart pane title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"red\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"green\"\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example - set the chart pane title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          color: \"red\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          color: \"green\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart pane title border dashType"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          color: \"red\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          color: \"green\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.border.color"}],"orig":"panes.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        background: \"red\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        background: \"green\"\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.title.background"}],"orig":"panes.title"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the pane. A numeric value will set all paddings."]],"doc":[["para","The padding of the pane. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart pane padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", padding: 10 },\n    { name: \"bottom-pane\", padding: 10 }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the chart panes."]],"doc":[["para","The top padding of the chart panes."],["header",{"level":4},"Example - set the chart pane top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        top: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        top: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the chart panes."]],"doc":[["para","The right padding of the chart panes."],["header",{"level":4},"Example - set the chart pane right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        right: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        right: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the chart panes."]],"doc":[["para","The left padding of the chart panes."],["header",{"level":4},"Example - set the chart pane left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        left: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        left: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the chart panes."]],"doc":[["para","The bottom padding of the chart panes."],["header",{"level":4},"Example - set the chart pane bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        bottom: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        bottom: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.padding.bottom"}],"orig":"panes.padding"},{"name":"name","type":["String"],"short_doc":[["para","The unique name of the chart pane."]],"doc":[["para","The unique name of the chart pane."],["header",{"level":4},"Example - set the chart pane name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\" },\n    { name: \"bottom-pane\" }\n  ]\n});\n</script>"]],"orig":"panes.name"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the pane. A numeric value will set all margins."]],"doc":[["para","The margin of the pane. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart pane margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", margin: 10 },\n    { name: \"bottom-pane\", margin: 10 }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the chart panes."]],"doc":[["para","The top margin of the chart panes."],["header",{"level":4},"Example - set the chart pane top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        top: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        top: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the chart panes."]],"doc":[["para","The right margin of the chart panes."],["header",{"level":4},"Example - set the chart pane right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        right: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        right: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the chart panes."]],"doc":[["para","The left margin of the chart panes."],["header",{"level":4},"Example - set the chart pane left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        left: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        left: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the chart panes."]],"doc":[["para","The bottom margin of the chart panes."],["header",{"level":4},"Example - set the chart pane bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        bottom: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        bottom: 10\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.margin.bottom"}],"orig":"panes.margin"},{"name":"height","type":["Number"],"short_doc":[["para","The chart pane height in pixels."]],"doc":[["para","The chart pane height in pixels."],["header",{"level":4},"Example - set the chart pane height"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", height: 200 },\n    { name: \"bottom-pane\", height: 300  }\n  ]\n});\n</script>"]],"orig":"panes.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart pane."]],"doc":[["para","The border of the chart pane."],["header",{"level":4},"Example - set the chart pane border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        color: \"red\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        color: \"green\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart pane border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        width: 2\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart pane border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        dashType: \"dashDot\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        dashType: \"dashDot\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        color: \"red\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        color: \"green\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"]],"orig":"panes.border.color"}],"orig":"panes.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the chart pane. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the chart pane. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart panes background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"#00ff00\" },\n    { name: \"bottom-pane\", background: \"#ff00ff\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart panes background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"rgb(0, 255, 0)\" },\n    { name: \"bottom-pane\", background: \"rgb(255, 0, 255)\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart panes background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"red\" },\n    { name: \"bottom-pane\", background: \"green\" }\n  ]\n});\n</script>"]],"orig":"panes.background"}]},{"name":"plotArea","type":["Object"],"short_doc":[["para","The plot area configuration options. The plot area is the area which displays the series."]],"doc":[["para","The plot area configuration options. The plot area is the area which displays the series."],["header",{"level":4},"Example - configure the chart plot area"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\",\n\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the chart plot area. A numeric value will set all paddings."],["para","The default padding for pie, donut, radar and polar charts is proportional of the chart size."]],"doc":[["para","The padding of the chart plot area. A numeric value will set all paddings."],["para","The default padding for pie, donut, radar and polar charts is proportional of the chart size."],["header",{"level":4},"Example - set the chart plot area padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"5","short_doc":[["para","The top padding of the chart plot area."]],"doc":[["para","The top padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.padding.top"},{"name":"right","type":["Number"],"default":"5","short_doc":[["para","The right padding of the chart plot area."]],"doc":[["para","The right padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.padding.right"},{"name":"left","type":["Number"],"default":"5","short_doc":[["para","The left padding of the chart plot area."]],"doc":[["para","The left padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.padding.left"},{"name":"bottom","type":["Number"],"default":"5","short_doc":[["para","The bottom padding of the chart plot area."]],"doc":[["para","The bottom padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.padding.bottom"}],"orig":"plotArea.padding"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The background opacity of the chart plot area. By default the background is opaque."]],"doc":[["para","The background opacity of the chart plot area. By default the background is opaque."],["header",{"level":4},"Example - set the chart plot area opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\",\n    opacity: 0.1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.opacity"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the chart plot area. A numeric value will set all margins."]],"doc":[["para","The margin of the chart plot area. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart plot area margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"5","short_doc":[["para","The top margin of the chart plot area."]],"doc":[["para","The top margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.margin.top"},{"name":"right","type":["Number"],"default":"5","short_doc":[["para","The right margin of the chart plot area."]],"doc":[["para","The right margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.margin.right"},{"name":"left","type":["Number"],"default":"5","short_doc":[["para","The left margin of the chart plot area."]],"doc":[["para","The left margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.margin.left"},{"name":"bottom","type":["Number"],"default":"5","short_doc":[["para","The bottom margin of the chart plot area."]],"doc":[["para","The bottom margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.margin.bottom"}],"orig":"plotArea.margin"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart plot area."]],"doc":[["para","The border of the chart plot area."],["header",{"level":4},"Example - set the chart plot area border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart plot area border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart plot area border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart plot area border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.border.color"}],"orig":"plotArea.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart plot area background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart plot area background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart plot area background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"plotArea.background"}]},{"name":"renderAs","type":["String"],"short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"Example - Render as Canvas, if supported","type":[],"short_doc":[["code_block","<div id=\"chart\"></div>\n<script>\n    $(\"#chart\").kendoChart({\n        renderAs: \"canvas\",\n        series: [{\n            type: \"pie\",\n            data: [1, 2]\n        }],\n        categoryAxis: {\n            categories: [\"Foo\", \"Bar\"]\n        }\n    });\n<script>"]],"doc":[["code_block","<div id=\"chart\"></div>\n<script>\n    $(\"#chart\").kendoChart({\n        renderAs: \"canvas\",\n        series: [{\n            type: \"pie\",\n            data: [1, 2]\n        }],\n        categoryAxis: {\n            categories: [\"Foo\", \"Bar\"]\n        }\n    });\n<script>"]]},{"name":"series","type":["Array"],"short_doc":[["para","The configuration of the chart series."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["blockquote",["para","Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]]],"doc":[["para","The configuration of the chart series."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["blockquote",["para","Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]],["header",{"level":4},"Example - configure the chart series"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2, 3] },\n    { type: \"bar\", data: [4, 5, 6] }\n  ]\n});\n</script>"]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The series notes configuration."]],"doc":[["para","The series notes configuration."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.width"}],"orig":"series.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"series.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.color"}],"orig":"series.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.background"}],"orig":"series.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"]],"orig":"series.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.border.color"}],"orig":"series.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.background"}],"orig":"series.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"series.notes.position"}],"orig":"series.notes"},{"name":"yField","type":["String"],"default":"\"y\"","short_doc":[["para","The data item field containing the Y value."],["blockquote",["para","The ",["inlinecode","yField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\" or \"scatterLine\"."]]],"doc":[["para","The data item field containing the Y value."],["blockquote",["para","The ",["inlinecode","yField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\" or \"scatterLine\"."]],["header",{"level":4},"Example - set the chart series y field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    yField: \"price\",\n    data: [\n      { x: 1, yField: 2, size: 3 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.yField"},{"name":"yAxis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the Y axis to use."],["para",["strong"," Available for bubble, scatter, scatterLine and polar series. "]]],"doc":[["para","The name of the Y axis to use."],["para",["strong"," Available for bubble, scatter, scatterLine and polar series. "]]],"orig":"series.yAxis"},{"name":"xField","type":["String"],"default":"\"x\"","short_doc":[["para","The data item field containing the X value."],["blockquote",["para","The ",["inlinecode","xField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]]],"doc":[["para","The data item field containing the X value."],["blockquote",["para","The ",["inlinecode","xField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]],["header",{"level":4},"Example - set the chart series x field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    xField: \"price\",\n    data: [\n      { price: 1, y: 2, size: 3 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.xField"},{"name":"xAxis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the X axis to use."],["blockquote",["para","The ",["inlinecode","xAxis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]],["para","For polar series the xAxis range is expressed in degrees."]],"doc":[["para","The name of the X axis to use."],["blockquote",["para","The ",["inlinecode","xAxis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]],["para","For polar series the xAxis range is expressed in degrees."]],"orig":"series.xAxis"},{"name":"width","type":["Number"],"short_doc":[["para","The line width."],["blockquote",["para","The ",["inlinecode","width"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."]]],"doc":[["para","The line width."],["blockquote",["para","The ",["inlinecode","width"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."]],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    width: 6,\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.width"},{"name":"visibleInLegendField","type":["String"],"short_doc":[["para","The data item field which indicates whether to show the point category name in the legend."],["blockquote",["para","The ",["inlinecode","visibleInLegendField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"buble\", \"donut\" or \"pie\"."]]],"doc":[["para","The data item field which indicates whether to show the point category name in the legend."],["blockquote",["para","The ",["inlinecode","visibleInLegendField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"buble\", \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart series visible in legend field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"firstValue\", visible: false },\n      { value: 2, category: \"secondValue\", visible: true }\n    ]\n  },\n  series: [{\n    type: \"pie\",\n    field: \"value\",\n    visibleInLegendField: \"visible\"\n  }]\n});\n</script>"]],"orig":"series.visibleInLegendField"},{"name":"visibleInLegend","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating whether to show the point category name (for bubble, donut and pie series)\nor series name (for other available series types) in the legend."]],"doc":[["para","A value indicating whether to show the point category name (for bubble, donut and pie series)\nor series name (for other available series types) in the legend."],["header",{"level":4},"Example - hide a chart series from the legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      name: \"Series 1\",\n      visibleInLegend: false,\n      data: [1, 2, 3]\n    },\n    { name: \"Series 2\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"series.visibleInLegend"},{"name":"type","type":["String"],"default":"\"column\"","short_doc":[["para","The type of the series."],["para","The supported values are:"],["bulletlist",["listitem","area"],["listitem","bar"],["listitem","bubble"],["listitem","bullet"],["listitem","candlestick"],["listitem","column"],["listitem","donut"],["listitem","funnel"],["listitem","line"],["listitem","ohlc"],["listitem","pie"],["listitem","polarArea"],["listitem","polarLine"],["listitem","polarScatter"],["listitem","radarArea"],["listitem","radarColumn"],["listitem","radarLine"],["listitem","scatter"],["listitem","scatterLine"],["listitem","verticalArea"],["listitem","verticalBullet"],["listitem","verticalLine"]]],"doc":[["para","The type of the series."],["para","The supported values are:"],["bulletlist",["listitem","area"],["listitem","bar"],["listitem","bubble"],["listitem","bullet"],["listitem","candlestick"],["listitem","column"],["listitem","donut"],["listitem","funnel"],["listitem","line"],["listitem","ohlc"],["listitem","pie"],["listitem","polarArea"],["listitem","polarLine"],["listitem","polarScatter"],["listitem","radarArea"],["listitem","radarColumn"],["listitem","radarLine"],["listitem","scatter"],["listitem","scatterLine"],["listitem","verticalArea"],["listitem","verticalBullet"],["listitem","verticalLine"]],["header",{"level":4},"Example - set the chart series type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.type"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"series.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"series.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        background: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        template: \"#: value.x # - #: value.y # (#: value.size #)\"\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the tooltip."]],"doc":[["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          top: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the tooltip."]],"doc":[["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          right: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the tooltip."]],"doc":[["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          left: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the tooltip."]],"doc":[["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          bottom: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.padding.bottom"}],"orig":"series.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, line, pie, radarArea, radarColumn and radarLine",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter, scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","PolarArea, polarLine and polarScatter",["bulletlist",["listitem","{0} - x value (degrees)"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]]],"doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, line, pie, radarArea, radarColumn and radarLine",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter, scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","PolarArea, polarLine and polarScatter",["bulletlist",["listitem","{0} - x value (degrees)"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        format: \"{0} x {1} ({2:C})\"\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        font: \"20px sans-serif\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        color: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2,\n          color: \"green\"\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2,\n          color: \"green\"\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.border.color"}],"orig":"series.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        background: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.tooltip.background"}],"orig":"series.tooltip"},{"name":"targetField","type":["String"],"default":"\"target\"","short_doc":[["para","The data item field containing the target value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]]],"doc":[["para","The data item field containing the target value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - set the bullet chart series current field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      targetField: \"price\",\n      data: [\n        { current: 1, price: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.targetField"},{"name":"target","type":["Object"],"short_doc":[["para","The configuration options of the target"],["blockquote",["para","The ",["inlinecode","target"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]]],"doc":[["para","The configuration options of the target"],["blockquote",["para","The ",["inlinecode","target"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - configure the bullet chart target"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        color: \"green\",\n        border: {\n          width: 3,\n          color: \"red\"\n        },\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        { current: 1, target: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The target line options."]],"doc":[["para","The target line options."],["header",{"level":4},"Example - set the bullet chart target line options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});"]],"sub":[{"name":"width","type":["Object","Function"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."],["header",{"level":4},"Example - set the bullet chart target line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});"]],"orig":"series.target.line.width"}],"orig":"series.target.line"},{"name":"color","type":["String","Function"],"short_doc":[["para","The target color."]],"doc":[["para","The target color."],["header",{"level":4},"Example - set the bullet chart target color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        color: \"green\"\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.target.color"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the target."]],"doc":[["para","The border of the target."],["header",{"level":4},"Example - set the bullet chart target border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          color: \"red\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the bullet chart target border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.target.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the bullet chart target border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          dashType: \"dashDot\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.target.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."],["header",{"level":4},"Example - set the bullet chart target border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          color: \"red\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.target.border.color"}],"orig":"series.target.border"}],"orig":"series.target"},{"name":"startAngle","type":["Number"],"default":"90","short_doc":[["para","The start angle (degrees) of the first donut or pie segment."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."]],"doc":[["para","The start angle (degrees) of the first donut or pie segment."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - set the donut chart series start angle"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    startAngle: 180,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.startAngle"},{"name":"stack","type":["Boolean","String"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]]],"doc":[["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]],["header",{"level":4},"Example - enable chart series stacking"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { stack: true, data: [ 1, 2 , 3] },\n    { data: [ 4, 5 , 6] }\n  ]\n});\n</script>"]],"orig":"series.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]]],"doc":[["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]],["header",{"level":4},"Example - set the chart series spacing"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { spacing: 0.1, data: [ 1, 2 ,3 ] },\n    { data: [ 1, 2 ,3 ] }\n  ]\n});\n</script>"]],"orig":"series.spacing"},{"name":"sizeField","type":["String"],"default":"\"size\"","short_doc":[["para","The data field containing the bubble size value."]],"doc":[["para","The data field containing the bubble size value."],["header",{"level":4},"Example - set the bubble chart series size field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    sizeField: \"price\",\n    data: [\n      { x: 1, y: 2, price: 3 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.sizeField"},{"name":"size","type":["Number"],"short_doc":[["para","The or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series."]],"doc":[["para","The or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series."],["header",{"level":4},"Example - set the donut chart series size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    size: 100,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.size"},{"name":"padding","type":["Number"],"short_doc":[["para","The padding around the chart (equal on all sides)."],["blockquote",["para","The ",["inlinecode","padding"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]]],"doc":[["para","The padding around the chart (equal on all sides)."],["blockquote",["para","The ",["inlinecode","padding"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the donut chart series padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    padding: 60,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.padding"},{"name":"overlay","type":["Object"],"short_doc":[["para","The chart series overlay options."]],"doc":[["para","The chart series overlay options."],["header",{"level":4},"Example - set the chart series overlay options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    overlay: {\n      gradient: \"none\"\n    },\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"gradient","type":["String"],"short_doc":[["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]]],"doc":[["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]],["header",{"level":4},"Example - set the chart series gradient options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    overlay: {\n      gradient: \"none\"\n    },\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.overlay.gradient"}],"orig":"series.overlay"},{"name":"openField","type":["String"],"short_doc":[["para","The data field containing the open value."],["blockquote",["para","The ",["inlinecode","openField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The data field containing the open value."],["blockquote",["para","The ",["inlinecode","openField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      openField: \"openPrice\",\n      data: [\n        { open: 1, high: 2, low: 0.5, openPrice: 1.5},\n        { open: 2, high: 3, low: 1, openPrice: 1.5}\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.openField"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The series opacity. By default the series are opaque."]],"doc":[["para","The series opacity. By default the series are opaque."],["header",{"level":4},"Example - set the chart series opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    opacity: 0.5,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.opacity"},{"name":"negativeValues","type":["Object"],"short_doc":[["para","The options for displaying the chart negative bubble values."]],"doc":[["para","The options for displaying the chart negative bubble values."],["header",{"level":4},"Example - set the chart negative bubbles"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      color: \"green\",\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the negative bubbles. By default the negative bubbles are not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the negative bubbles. By default the negative bubbles are not displayed."],["header",{"level":4},"Example - show the chart negative bubbles"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"]],"orig":"series.negativeValues.visible"},{"name":"color","type":["String"],"default":"\"#ffffff\"","short_doc":[["para","The color of the chart negative bubble values."]],"doc":[["para","The color of the chart negative bubble values."],["header",{"level":4},"Example - set the chart negative bubbles color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      color: \"green\",\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"]],"orig":"series.negativeValues.color"}],"orig":"series.negativeValues"},{"name":"negativeColor","type":["String"],"short_doc":[["para","The color to use for bar or column series with negative values. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color to use for bar or column series with negative values. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart column series negative color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    missingValues: \"interpolate\",\n    data: [-1, 1, 2, -2],\n    negativeColor: \"green\"\n  }]\n});\n</script>"]],"orig":"series.negativeColor"},{"name":"name","type":["String"],"short_doc":[["para","The name of the chart series which is visible in the legend."]],"doc":[["para","The name of the chart series which is visible in the legend."],["header",{"level":4},"Example - set the chart series name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { name: \"Series 1\", data: [1, 2] },\n    { name: \"Series 2\", data: [2, 3] }\n  ]\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\"},\n      { value: 2, category: \"Two\"}\n    ],\n    group: { field: \"category\" }\n  },\n  series: [\n    {\n      field: \"value\",\n      name: \"Category: #: group.value #\"\n    }\n  ]\n});\n</script>"]],"orig":"series.name"},{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."],["para","The ",["inlinecode","step"]," value is only supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."],["para","The ",["inlinecode","step"]," value is only supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]],["header",{"level":4},"Example - set the style behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    style: \"step\",\n    data: [1, 2, 3, 4, 5]\n  }]\n});\n</script>"]],"orig":"series.style"},{"name":"missingValues","type":["String"],"short_doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]]],"doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]],["header",{"level":4},"Example - set the missing values behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    missingValues: \"gap\",\n    data: [1, 3, null, 4, 5]\n  }]\n});\n</script>"]],"orig":"series.missingValues"},{"name":"minSize","type":["Number"],"default":"5","short_doc":[["para","The minimum size of the chart bubble series marker."]],"doc":[["para","The minimum size of the chart bubble series marker."],["header",{"level":4},"Example - set the bubble chart series min marker size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    minSize: 40,\n    data: [\n      [1, 2, 3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"]],"orig":"series.minSize"},{"name":"maxSize","type":["Number"],"default":"100","short_doc":[["para","The maximum size of the chart bubble series marker."]],"doc":[["para","The maximum size of the chart bubble series marker."],["header",{"level":4},"Example - set the bubble chart series max marker size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    maxSize: 40,\n    data: [\n      [1, 2, 3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"]],"orig":"series.maxSize"},{"name":"extremes","type":["Object"],"short_doc":[["para","The chart series extremes configuration."]],"doc":[["para","The chart series extremes configuration."],["header",{"level":4},"Example - set the chart series extremes"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      background: \"green\",\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"sub":[{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the extremes."]],"doc":[["para","The rotation angle of the extremes."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]],\n    extremes: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n\t  median: 3,\n\t  q3: 4,\n\t  upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\",\n     extremes: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"]],"orig":"series.extremes.rotation"},{"name":"type","type":["String","Function"],"default":"\"circle\"","short_doc":[["para","The extremes shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The extremes shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series extremes shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      type: \"triangle\",\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.extremes.type"},{"name":"size","type":["Number","Function"],"default":"6","short_doc":[["para","The extremes size in pixels."]],"doc":[["para","The extremes size in pixels."],["header",{"level":4},"Example - set the chart extremes size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.extremes.size"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the extremes."]],"doc":[["para","The border of the extremes."],["header",{"level":4},"Example - set the chart series extremes border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series extremes border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.extremes.border.width"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series extremes border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.extremes.border.color"}],"orig":"series.extremes.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the series outliers."]],"doc":[["para","The background color of the series outliers."],["header",{"level":4},"Example - set the chart series outliers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      background: \"green\"\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.extremes.background"}],"orig":"series.extremes"},{"name":"outliers","type":["Object"],"short_doc":[["para","The chart series outliers configuration."]],"doc":[["para","The chart series outliers configuration."],["header",{"level":4},"Example - set the chart series outliers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      background: \"green\",\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"sub":[{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the outliers."]],"doc":[["para","The rotation angle of the outliers."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]],\n    outliers: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\",\n     outliers: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"]],"orig":"series.outliers.rotation"},{"name":"type","type":["String","Function"],"default":"\"circle\"","short_doc":[["para","The outliers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The outliers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series marker shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      type: \"triangle\",\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.outliers.type"},{"name":"size","type":["Number","Function"],"default":"6","short_doc":[["para","The marker size in pixels."]],"doc":[["para","The marker size in pixels."],["header",{"level":4},"Example - set the chart outliers size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.outliers.size"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the outliers."]],"doc":[["para","The border of the outliers."],["header",{"level":4},"Example - set the chart series outliers border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series outliers border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.outliers.border.width"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series outliers border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.outliers.border.color"}],"orig":"series.outliers.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the series outliers."]],"doc":[["para","The background color of the series outliers."],["header",{"level":4},"Example - set the chart series outliers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      background: \"green\"\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"]],"orig":"series.outliers.background"}],"orig":"series.outliers"},{"name":"markers","type":["Object"],"short_doc":[["para","The chart series marker configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.markers.visible"},"series.markers.visible"]," option is set to ",["inlinecode","true"],".\nThe ",["inlinecode","markers"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatter\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\", \"polarScatter\" or \"polarArea\"."]]],"doc":[["para","The chart series marker configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.markers.visible"},"series.markers.visible"]," option is set to ",["inlinecode","true"],".\nThe ",["inlinecode","markers"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatter\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\", \"polarScatter\" or \"polarArea\"."]],["header",{"level":4},"Example - set the chart series markers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      background: \"green\",\n      size: 30\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the markers."]],"doc":[["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    data: [200, 450, 300, 125],\n    markers: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      speed: 2,\n      dir: 45\n    }, {\n      speed: 4.6,\n      dir: 180\n    }]\n  },\n  series: [{\n     type: \"line\",\n     field: \"speed\",\n     markers: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"]],"orig":"series.markers.rotation"},{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series markers. By default chart series markers are not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series markers. By default chart series markers are not displayed."],["header",{"level":4},"Example - display the chart series markers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.visible"},{"name":"type","type":["String","Function"],"default":"\"circle\"","short_doc":[["para","The markers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The markers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series marker shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      type: \"triangle\",\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.type"},{"name":"size","type":["Number","Function"],"default":"6","short_doc":[["para","The marker size in pixels."]],"doc":[["para","The marker size in pixels."],["header",{"level":4},"Example - set the chart markers size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      size: 30\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.size"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the markers."]],"doc":[["para","The border of the markers."],["header",{"level":4},"Example - set the chart series markers border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series markers border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.border.width"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series markers border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.border.color"}],"orig":"series.markers.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the series markers."]],"doc":[["para","The background color of the series markers."],["header",{"level":4},"Example - set the chart series markers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      background: \"green\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.markers.background"}],"orig":"series.markers"},{"name":"margin","type":["Number","Object"],"default":"1","short_doc":[["para","The margin around each donut series (ring). A numeric value will set all margins."]],"doc":[["para","The margin around each donut series (ring). A numeric value will set all margins."],["header",{"level":4},"Example - set the chart donut series margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: 30,\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart donut series top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"donut\",\n    margin: {\n      top: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart donut series right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      right: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart donut series left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      left: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart donut series bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      bottom: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.margin.bottom"}],"orig":"series.margin"},{"name":"lowField","type":["String"],"default":"\"low\"","short_doc":[["para","The data field containing the low value."],["blockquote",["para","The ",["inlinecode","lowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The data field containing the low value."],["blockquote",["para","The ",["inlinecode","lowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      lowField: \"lowPrice\",\n      data: [\n        { open: 1, high: 2, low: 0.5, lowPrice: 1.5},\n        { open: 2, high: 3, low: 1, lowPrice: 1.5}\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.lowField"},{"name":"line","type":["String","Object"],"short_doc":[["para","The chart line configuration options."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The chart line configuration options."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - configure the chart line options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"polarArea\" or \"radarArea\"."],["para","The ",["inlinecode","step"]," value is supported only when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"polarArea\" or \"radarArea\"."],["para","The ",["inlinecode","step"]," value is supported only when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5,\n      style: \"step\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.line.style"},{"name":"width","type":["String"],"default":"4","short_doc":[["para","The line width in pixels."]],"doc":[["para","The line width in pixels."],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.line.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The line opacity. By default the line is opaque."]],"doc":[["para","The line opacity. By default the line is opaque."],["header",{"level":4},"Example - set the chart line opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The line color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart line color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.line.color"}],"orig":"series.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      background: \"green\",\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    },\n    data: [1, 2]\n  }]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."],["header",{"level":4},"Example - show the chart series labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]],["header",{"level":4},"Example - set the chart series label template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      template: \"Value: #: value #%\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.labels.template"},{"name":"position","type":["String","Function"],"short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"above\" - the label is positioned at the top of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"below\" - the label is positioned at the bottom of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"center\" - the label is positioned at the point center. ",["strong"," Applicable for bar, column, donut, pie, funnel and radarColumn series. "]],["listitem","\"insideBase\" - the label is positioned inside, near the base of the bar. ",["strong"," Applicable for bar and column series. "]],["listitem","\"insideEnd\" - the label is positioned inside, near the end of the point. ",["strong"," Applicable for bar, column, donut, pie and radarColumn series. "]],["listitem","\"left\" - the label is positioned to the left of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"outsideEnd\" - the label is positioned outside, near the end of the point. ** Applicable for bar, column, donut, pie and radarColumn series. Not applicable for stacke"],["listitem","\"right\" - the label is positioned to the right of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"top\" - the label is positioned at the top of the segment. ",["strong"," Applicable for funnel series "]],["listitem","\"bottom\" - the label is positioned at the bottom of the segment. ",["strong"," Applicable for funnel series "]]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"above\" - the label is positioned at the top of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"below\" - the label is positioned at the bottom of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"center\" - the label is positioned at the point center. ",["strong"," Applicable for bar, column, donut, pie, funnel and radarColumn series. "]],["listitem","\"insideBase\" - the label is positioned inside, near the base of the bar. ",["strong"," Applicable for bar and column series. "]],["listitem","\"insideEnd\" - the label is positioned inside, near the end of the point. ",["strong"," Applicable for bar, column, donut, pie and radarColumn series. "]],["listitem","\"left\" - the label is positioned to the left of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"outsideEnd\" - the label is positioned outside, near the end of the point. ** Applicable for bar, column, donut, pie and radarColumn series. Not applicable for stacke"],["listitem","\"right\" - the label is positioned to the right of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"top\" - the label is positioned at the top of the segment. ",["strong"," Applicable for funnel series "]],["listitem","\"bottom\" - the label is positioned at the bottom of the segment. ",["strong"," Applicable for funnel series "]]],["header",{"level":4},"Example - set the chart series label position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      position: \"center\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.labels.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"doc":[["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: 10,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        top: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        right: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        left: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        bottom: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.padding.bottom"}],"orig":"series.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: 10,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        top: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        right: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        left: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        bottom: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.margin.bottom"}],"orig":"series.labels.margin"},{"name":"format","type":["String","Function"],"default":"\"{0}\"","short_doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."]],"doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["header",{"level":4},"Example - set the chart series label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      format: \"{0:C}\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.labels.format"},{"name":"font","type":["String","Function"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      font: \"20px sans-serif\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.labels.font"},{"name":"distance","type":["Number"],"default":"35","short_doc":[["para","The distance of the labels when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],"doc":[["para","The distance of the labels when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."],["header",{"level":4},"Example - set the chart series label distance"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      distance: 70\n    },\n    type: \"pie\",\n    data: [1, 2, 3, 4, 5, 6]\n  }]\n});\n</script>"]],"orig":"series.labels.distance"},{"name":"color","type":["String","Function"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"#aa00bb\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"rgb(128, 0, 255)\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the chart series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          color: \"green\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"]],"orig":"series.labels.border.color"}],"orig":"series.labels.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      background: \"green\"\n    },\n    data: [1, 2]\n  }]\n});\n</script>"]],"orig":"series.labels.background"},{"name":"align","type":["String"],"short_doc":[["para","The label alignment when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"funnel\" or \"pie\"."],["para","The supported values  for \"donut\" and \"pie\" are:"],["bulletlist",["listitem","\"circle\" - the labels are positioned in circle around the chart."],["listitem","\"column\" - the labels are positioned in columns to the left and right of the chart."]],["para","The supported values for \"funnel\" are:"],["bulletlist",["listitem","\"center\" - the labels are positioned in the center over the funnel segment."],["listitem","\"right\" - the labels are positioned on the right side of the chart and do not (if there is enough space) overlap the funnel segment(s)."],["listitem","\"left\" - the labels are positioned on the left side of the chart and do not (if there is enough space) overlap the funnel segment(s)."]]],"doc":[["para","The label alignment when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"funnel\" or \"pie\"."],["para","The supported values  for \"donut\" and \"pie\" are:"],["bulletlist",["listitem","\"circle\" - the labels are positioned in circle around the chart."],["listitem","\"column\" - the labels are positioned in columns to the left and right of the chart."]],["para","The supported values for \"funnel\" are:"],["bulletlist",["listitem","\"center\" - the labels are positioned in the center over the funnel segment."],["listitem","\"right\" - the labels are positioned on the right side of the chart and do not (if there is enough space) overlap the funnel segment(s)."],["listitem","\"left\" - the labels are positioned on the left side of the chart and do not (if there is enough space) overlap the funnel segment(s)."]],["header",{"level":4},"Example - set the chart series label alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      align: \"column\"\n    },\n    type: \"pie\",\n    data: [1, 2, 3, 4, 5, 6]\n  }]\n});\n</script>"]],"orig":"series.labels.align"}],"orig":"series.labels"},{"name":"holeSize","type":["Number"],"short_doc":[["para","The diameter of the donut hole in pixels."],["blockquote",["para","The ",["inlinecode","holeSize"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\"."]]],"doc":[["para","The diameter of the donut hole in pixels."],["blockquote",["para","The ",["inlinecode","holeSize"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\"."]],["header",{"level":4},"Example - set the donut chart hole size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"donut\",\n      holeSize: 80,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"series.holeSize"},{"name":"highlight","type":["Object"],"short_doc":[["para","The chart series highlighting configuration options."]],"doc":[["para","The chart series highlighting configuration options."],["header",{"level":4},"Example - configure the chart series highlighting"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          opacity: 1,\n          width: 5,\n          color: \"black\"\n        }\n      }\n  }]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will highlight the series when the user hovers it with the mouse.\nBy default chart series highlighting is enabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will highlight the series when the user hovers it with the mouse.\nBy default chart series highlighting is enabled."],["header",{"level":4},"Example - prevent the chart series highlighting"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        visible: false\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.visible"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the highlighted points."],["blockquote",["para","The ",["inlinecode","opacity"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"pie\" or \"donut\"."]]],"doc":[["para","The opacity of the highlighted points."],["blockquote",["para","The ",["inlinecode","opacity"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"pie\" or \"donut\"."]],["header",{"level":4},"Example - set the highlight opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        opacity: 0.5\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.opacity"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The line of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the highlight line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          width: 5,\n          color: \"green\"\n        }\n      }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."],["header",{"level":4},"Example - set the highlight line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          width: 5\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.line.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the line. By default the border is opaque."]],"doc":[["para","The opacity of the line. By default the border is opaque."],["header",{"level":4},"Example - set the highlight line opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          opacity: 0.5,\n          width: 10\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The line color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the highlight line color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          color: \"green\"\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.line.color"}],"orig":"series.highlight.line"},{"name":"color","type":["String"],"short_doc":[["para","The highlight color. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","The ",["inlinecode","color"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]]],"doc":[["para","The highlight color. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","The ",["inlinecode","color"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart highlight color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"donut\",\n      data: [1, 2],\n      highlight: {\n        color: \"green\"\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"bubble\", \"pie\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The border of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"bubble\", \"pie\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart highlight border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          width: 5,\n          color: \"black\"\n        }\n      }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart highlight border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          width: 5\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.border.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the border. By default the border is opaque."]],"doc":[["para","The opacity of the border. By default the border is opaque."],["header",{"level":4},"Example - set the chart highlight border opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          opacity: 0.5,\n          width: 5\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.border.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart highlight border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          color: \"red\",\n          width: 5\n        }\n      }\n  }]\n});\n</script>"]],"orig":"series.highlight.border.color"}],"orig":"series.highlight.border"}],"orig":"series.highlight"},{"name":"highField","type":["String"],"default":"\"high\"","short_doc":[["para","The data field containing the high value."],["blockquote",["para","The ",["inlinecode","highField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The data field containing the high value."],["blockquote",["para","The ",["inlinecode","highField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      highField: \"highPrice\",\n      data: [\n        { open: 1, highPrice: 2, low: 0.5, close: 1.5},\n        { open: 2, highPrice: 3, low: 1, close: 1.5}\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.highField"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para","The distance between the category clusters."],["blockquote",["para","The ",["inlinecode","gap"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]]],"doc":[["para","The distance between the category clusters."],["blockquote",["para","The ",["inlinecode","gap"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]],["header",{"level":4},"Example - set the chart series gap"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    gap: 0,\n    data: [1, 2]\n  }]\n});\n</script>"]],"orig":"series.gap"},{"name":"outliersField","type":["String"],"default":"\"outliers\"","short_doc":[["para","The data item field which contains the series outliers value."]],"doc":[["para","The data item field which contains the series outliers value."],["header",{"level":4},"Example - set the chart series outliers field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.outliersField"},{"name":"meanField","type":["String"],"default":"\"mean\"","short_doc":[["para","The data item field which contains the series mean value."]],"doc":[["para","The data item field which contains the series mean value."],["header",{"level":4},"Example - set the chart series mean field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.meanField"},{"name":"upperField","type":["String"],"default":"\"upper\"","short_doc":[["para","The data item field which contains the series upper value."]],"doc":[["para","The data item field which contains the series upper value."],["header",{"level":4},"Example - set the chart series upper field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.upperField"},{"name":"q3Field","type":["String"],"default":"\"q3\"","short_doc":[["para","The data item field which contains the series q3 value."]],"doc":[["para","The data item field which contains the series q3 value."],["header",{"level":4},"Example - set the chart series q3 field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.q3Field"},{"name":"medianField","type":["String"],"default":"\"median\"","short_doc":[["para","The data item field which contains the series median value."]],"doc":[["para","The data item field which contains the series median value."],["header",{"level":4},"Example - set the chart series median field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.medianField"},{"name":"q1Field","type":["String"],"default":"\"q1\"","short_doc":[["para","The data item field which contains the series q1 value."]],"doc":[["para","The data item field which contains the series q1 value."],["header",{"level":4},"Example - set the chart series q1 field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.q1Field"},{"name":"lowerField","type":["String"],"default":"\"lower\"","short_doc":[["para","The data item field which contains the series lower value."]],"doc":[["para","The data item field which contains the series lower value."],["header",{"level":4},"Example - set the chart series lower field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"]],"orig":"series.lowerField"},{"name":"noteTextField","type":["String"],"default":"\"noteText\"","short_doc":[["para","The data item field which contains the series note text."]],"doc":[["para","The data item field which contains the series note text."],["header",{"level":4},"Example - set the chart series field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 1, noteText: \"A\" },\n      { price: 2 },\n      { price: 3 }\n    ]\n  },\n  series: [{\n    field: \"price\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"series.noteTextField"},{"name":"field","type":["String"],"default":"\"value\"","short_doc":[["para","The data item field which contains the series value."]],"doc":[["para","The data item field which contains the series value."],["header",{"level":4},"Example - set the chart series field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 1 },\n      { price: 2 },\n      { price: 3 }\n    ]\n  },\n  series: [{\n    field: \"price\"\n  }]\n});\n</script>"]],"orig":"series.field"},{"name":"explodeField","type":["String"],"default":"\"explode\"","short_doc":[["para","The data item field which contains a boolean value indicating whether the sector is exploded."],["blockquote",["para","The ",["inlinecode","explodeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]]],"doc":[["para","The data item field which contains a boolean value indicating whether the sector is exploded."],["blockquote",["para","The ",["inlinecode","explodeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart series explode field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"pie\",\n      explodeField: \"isExploded\",\n      data: [\n        { value: 1, isExploded: true },\n        { value: 2 }, // isExpaded is missing, \"false\" is asumed\n        { value: 3, isExploded: false }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.explodeField"},{"name":"yErrorHighField","type":["String"],"default":"\"yErrorHigh\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis high value."],["blockquote",["para","The ",["inlinecode","yErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis high value."],["blockquote",["para","The ",["inlinecode","yErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    yErrorLowField: \"low\",\n    yErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 12, high: 14}, {x: 1.7, y: 11, low: 11, high: 14}, {x: 5.4, y: 8, low: 5, high: 8}]\n  }]\n});\n</script>"]],"orig":"series.yErrorHighField"},{"name":"yErrorLowField","type":["String"],"default":"\"yErrorLow\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis low value."],["blockquote",["para","The ",["inlinecode","yErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis low value."],["blockquote",["para","The ",["inlinecode","yErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    yErrorLowField: \"low\",\n    yErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 12, high: 14}, {x: 1.7, y: 11, low: 11, high: 14}, {x: 5.4, y: 8, low: 5, high: 8}]\n  }]\n});\n</script>"]],"orig":"series.yErrorLowField"},{"name":"xErrorHighField","type":["String"],"default":"\"xErrorHigh\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis high value."],["blockquote",["para","The ",["inlinecode","xErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis high value."],["blockquote",["para","The ",["inlinecode","xErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    xErrorLowField: \"low\",\n    xErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 5, high: 7}, {x: 1.7, y: 11, low: 1, high: 3}, {x: 5.4, y: 8, low: 3, high: 6}]\n  }]\n});\n</script>"]],"orig":"series.xErrorHighField"},{"name":"xErrorLowField","type":["String"],"default":"\"xErrorLow\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis low value."],["blockquote",["para","The ",["inlinecode","xErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis low value."],["blockquote",["para","The ",["inlinecode","xErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    xErrorLowField: \"low\",\n    xErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 5, high: 7}, {x: 1.7, y: 11, low: 1, high: 3}, {x: 5.4, y: 8, low: 3, high: 6}]\n  }]\n});\n</script>"]],"orig":"series.xErrorLowField"},{"name":"errorHighField","type":["String"],"default":"\"errorHigh\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," high value."],["blockquote",["para","The ",["inlinecode","errorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," high value."],["blockquote",["para","The ",["inlinecode","errorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    errorLowField: \"low\",\n    errorHighField: \"high\",\n    data: [{value: 4.743, low: 4.5, high: 5}, {value: 7.295, low: 7, high: 8}, {value: 6.376, low: 5, high: 6.5}]\n  }]\n});\n</script>"]],"orig":"series.errorHighField"},{"name":"errorLowField","type":["String"],"default":"\"errorLow\"","short_doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," low value."],["blockquote",["para","The ",["inlinecode","errorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]]],"doc":[["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," low value."],["blockquote",["para","The ",["inlinecode","errorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    errorLowField: \"low\",\n    errorHighField: \"high\",\n    data: [{value: 4.743, low: 4.5, high: 5}, {value: 7.295, low: 7, high: 8}, {value: 6.376, low: 5, high: 6.5}]\n  }]\n});\n</script>"]],"orig":"series.errorLowField"},{"name":"errorBars","type":["Object"],"short_doc":[["para","The error bars of the chart series."],["blockquote",["para","The ",["inlinecode","errorBars"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The error bars of the chart series."],["blockquote",["para","The ",["inlinecode","errorBars"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the chart series error bars"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stderr\"\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The error bars line options."]],"doc":[["para","The error bars line options."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        width: 3,\n        dashType: \"dash\"\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the error bars line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the error bars line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the error bars line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        dashType: \"dash\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.line.dashType"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."],["header",{"level":4},"Example - set the error bars line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        width: 5\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.line.width"}],"orig":"series.errorBars.line"},{"name":"color","type":["String"],"short_doc":[["para","The color of the error bars. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the error bars. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the error bars color to red"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: 2,\n      color: \"red\"\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.color"},{"name":"endCaps","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"],", the error bars caps will not be displayed. By default the caps are visible."]],"doc":[["para","If set to ",["inlinecode","false"],", the error bars caps will not be displayed. By default the caps are visible."],["header",{"level":4},"Example - hide the error bars caps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: [0.5, 1],\n      endCaps: false\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.endCaps"},{"name":"yValue","type":["String","Number","Array","Function"],"short_doc":[["para","The yAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","yValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The yAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","yValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the error bars yAxis value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data:  [[16.4, 5.4], [13.7, 2], [25.4, 3], [19, 2], [10.9, 1], [13.6, 3.2]],\n    errorBars: {\n      yValue: \"stderr\"\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.yValue"},{"name":"xValue","type":["String","Number","Array","Function"],"short_doc":[["para","The xAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","xValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]]],"doc":[["para","The xAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","xValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the error bars xAxis value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data:  [[16.4, 5.4], [13.7, 2], [25.4, 3], [19, 2], [10.9, 1], [13.6, 3.2]],\n    errorBars: {\n      xValue: \"stderr\"\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.xValue"},{"name":"value","type":["String","Number","Array","Function"],"short_doc":[["para","The error bars value."],["blockquote",["para","The ",["inlinecode","value"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["para","The following value types are supported:"],["bulletlist",["listitem","\"stderr\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_error"},"standard error"]," of the series values will be used to calculate the point low and high value"],["listitem","\"stddev(n)\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_deviation"},"standard deviation"]," of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation."],["listitem","\"percentage(n)\" - a percentage of the point value"],["listitem","A number that will be subtracted/added to the point value"],["listitem","An array that holds the low and high difference from the point value"],["listitem","A function that returns the errorBars point value"]]],"doc":[["para","The error bars value."],["blockquote",["para","The ",["inlinecode","value"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["para","The following value types are supported:"],["bulletlist",["listitem","\"stderr\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_error"},"standard error"]," of the series values will be used to calculate the point low and high value"],["listitem","\"stddev(n)\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_deviation"},"standard deviation"]," of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation."],["listitem","\"percentage(n)\" - a percentage of the point value"],["listitem","A number that will be subtracted/added to the point value"],["listitem","An array that holds the low and high difference from the point value"],["listitem","A function that returns the errorBars point value"]],["header",{"level":4},"Example - set the error bars value to a percentage of the point value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"percentage(20)\"\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the error bars value to a half of the series standard deviation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev(0.5)\"\n    }\n  }]\n});\n</script>"]],"orig":"series.errorBars.value"}],"orig":"series.errorBars"},{"name":"dynamicHeight","type":["Boolean"],"default":"true","short_doc":[["blockquote",["para","The ",["inlinecode","dynamicHeight"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to ",["inlinecode","false"]," all segments become with the same height, otherwise the height of each segment is based on its value."]],"doc":[["blockquote",["para","The ",["inlinecode","dynamicHeight"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to ",["inlinecode","false"]," all segments become with the same height, otherwise the height of each segment is based on its value."],["header",{"level":4},"Example - set the chart series dynamicHeight field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      dynamicWidth: true,\n      data: [\n        { value: 2 }, //height of this segment is 10% of the whole chart\n        { value: 4 }, //height of this segment is 20% of the whole chart\n        { value: 14 } //height of this segment is 70% of the whole chart\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.dynamicHeight"},{"name":"dynamicSlope","type":["Boolean"],"default":"false","short_doc":[["blockquote",["para","The ",["inlinecode","dynamicSlope"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value\nThe last element is always created like a rectangle since there is no following element."]],"doc":[["blockquote",["para","The ",["inlinecode","dynamicSlope"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value\nThe last element is always created like a rectangle since there is no following element."],["header",{"level":4},"Example - set the chart series dynamicSlope field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      dynamicSlope: true,\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.dynamicSlope"},{"name":"neckRatio","type":["Number"],"default":"0.3","short_doc":[["para",["inlinecode","neckRatio"]," specifies the ratio top-base/bottom-base of the whole chart. neckRatio set to three means the top base is three times smaller than the bottom base."],["blockquote",["para","The ",["inlinecode","neckRatio"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\" and dynamicSlope set to ",["inlinecode","false"],"."]]],"doc":[["para",["inlinecode","neckRatio"]," specifies the ratio top-base/bottom-base of the whole chart. neckRatio set to three means the top base is three times smaller than the bottom base."],["blockquote",["para","The ",["inlinecode","neckRatio"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\" and dynamicSlope set to ",["inlinecode","false"],"."]],["header",{"level":4},"Example - set the chart series neckRatio field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      neckRatio: 0.1, //bottom base becomes 10 times smaller than the bottom one\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.neckRatio"},{"name":"segmentSpacing","type":["Number"],"default":"0","short_doc":[["para","The space in pixels between the different segments of the funnel chart."],["blockquote",["para","The ",["inlinecode","segmentSpacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]]],"doc":[["para","The space in pixels between the different segments of the funnel chart."],["blockquote",["para","The ",["inlinecode","segmentSpacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["header",{"level":4},"Example - set the chart series segmentSpacing field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      segmentSpacing: 20,\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.segmentSpacing"},{"name":"downColorField","type":["String"],"default":"\"downColor\"","short_doc":[["para","The data field containing the color applied when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]]],"doc":[["para","The data field containing the color applied when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]],["header",{"level":4},"Example - set the chart series down color field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"candlestick\",\n    color: \"red\",\n    downColorField:\"down\",\n    data: [\n      { open: 4, high: 5, low: 2, close: 3, down: \"green\" },\n      { open: 3, high: 5, low: 2, close: 4 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.downColorField"},{"name":"downColor","type":["String","Function"],"short_doc":[["para","The series color when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColor"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]]],"doc":[["para","The series color when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColor"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]],["header",{"level":4},"Example - set the chart series down color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"candlestick\",\n    downColor: \"green\",\n    color: \"red\",\n    data: [\n      { open: 4, high: 5, low: 2, close: 3 },\n      { open: 3, high: 5, low: 2, close: 4 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.downColor"},{"name":"data","type":["Array"],"short_doc":[["para","The array of data items which represent the series data."],["para","Can be set to :"],["bulletlist",["listitem","Array of objects. Each point is bound to the field specified via the ",["link",{"href":"#configuration-series.field"},"series.field"]," option."],["listitem","Array of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"bar\", \"column\", \"donut\", \"pie\" or \"line\"."],["listitem","Array of arrays of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bubble\", \"scatter\", \"scatterLine\", \"ohlc\" or polar series.",["bulletlist",["listitem","Bubble series need arrays of three values - X value, Y value and Size value e.g. ",["inlinecode","[1, 1, 10]"]],["listitem","Scatter and scatter line series need arrays of two values - X value and Y value"],["listitem","OHLC and candlestick series need arrays of four values - open, high, low and close"]]]]],"doc":[["para","The array of data items which represent the series data."],["para","Can be set to :"],["bulletlist",["listitem","Array of objects. Each point is bound to the field specified via the ",["link",{"href":"#configuration-series.field"},"series.field"]," option."],["listitem","Array of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"bar\", \"column\", \"donut\", \"pie\" or \"line\"."],["listitem","Array of arrays of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bubble\", \"scatter\", \"scatterLine\", \"ohlc\" or polar series.",["bulletlist",["listitem","Bubble series need arrays of three values - X value, Y value and Size value e.g. ",["inlinecode","[1, 1, 10]"]],["listitem","Scatter and scatter line series need arrays of two values - X value and Y value"],["listitem","OHLC and candlestick series need arrays of four values - open, high, low and close"]]]],["header",{"level":4},"Example - set the chart series data as array of objects"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      field: \"price\",\n      data: [\n        { price: 1 },\n        { price: 2 },\n        { price: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series data as array of numbers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series data as array of arrays"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bubble\",\n      data: [\n        [1, 2, 15],\n        [2, 3, 4]\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"series.data"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      dashType: \"dashDot\",\n      type: \"line\",\n      data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"series.dashType"},{"name":"currentField","type":["String"],"default":"\"current\"","short_doc":[["para","The data item field containing the current value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]]],"doc":[["para","The data item field containing the current value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - set the bullet chart series current field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"bullet\",\n      currentField: \"price\",\n      data: [\n        { price: 1, target: 2 }\n      ]\n  }]\n});\n</script>"]],"orig":"series.currentField"},{"name":"connectors","type":["Object"],"short_doc":[["para","The label connectors options."],["blockquote",["para","The ",["inlinecode","connectors"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\" and\n",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," is set to ",["inlinecode","true"],"."]]],"doc":[["para","The label connectors options."],["blockquote",["para","The ",["inlinecode","connectors"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\" and\n",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the label connectors"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      width: 4,\n      color: \"red\"\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the connector line."]],"doc":[["para","The width of the connector line."],["header",{"level":4},"Example - configure the label connector width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      width: 10\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"]],"orig":"series.connectors.width"},{"name":"padding","type":["Number"],"default":"4","short_doc":[["para","The padding between the connector line and the label, and connector line and donut chart."]],"doc":[["para","The padding between the connector line and the label, and connector line and donut chart."],["header",{"level":4},"Example - configure the label connector padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      padding: 10\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"]],"orig":"series.connectors.padding"},{"name":"color","type":["String"],"short_doc":[["para","The color of the connector. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the connector. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - configure the label connector color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      color: \"red\"\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"]],"orig":"series.connectors.color"}],"orig":"series.connectors"},{"name":"colorField","type":["String"],"default":"\"color\"","short_doc":[["para","The data item field which contains the series color."],["blockquote",["para","The ",["inlinecode","colorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"bubble\", \"donut\", \"pie\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The data item field which contains the series color."],["blockquote",["para","The ",["inlinecode","colorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"bubble\", \"donut\", \"pie\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series color field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    colorField: \"valueColor\",\n    data: [\n     { value: 1, valueColor: \"red\" },\n     { value: 2, valueColor: \"green\" }\n    ]\n  }]\n});\n</script>"]],"orig":"series.colorField"},{"name":"color","type":["String","Function"],"short_doc":[["para","The series base color. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The series base color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"#a0b0c0\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"rgb(128, 0, 255)\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"red\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: function(point) {\n      if (point.value > 1) {\n        return \"red\";\n      }\n\n      // use the default series theme color\n    }\n  }]\n});\n</script>"]],"orig":"series.color"},{"name":"closeField","type":["String"],"default":"\"close\"","short_doc":[["para","The data field containing the close value."],["blockquote",["para","The ",["inlinecode","closeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The data field containing the close value."],["blockquote",["para","The ",["inlinecode","closeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"candlestick\",\n    closeField: \"closePrice\",\n    data: [\n      { open: 1, high: 2, low: 0.5, closePrice: 1.5 },\n      { open: 2, high: 3, low: 1, closePrice: 1.5 }\n    ]\n  }]\n});\n</script>"]],"orig":"series.closeField"},{"name":"categoryField","type":["String"],"default":"\"category\"","short_doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."]]],"doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."]],["header",{"level":4},"Example - set pie series category name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    categoryField: \"type\",\n    data: [\n      { value: 1, type: \"Category 1\" },\n      { value: 2, type: \"Category 2\" },\n    ]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    categoryField: \"date\",\n    data: [\n      { value: 1, date: new Date(2012, 1, 1) },\n      { value: 2, date: new Date(2012, 1, 2) },\n    ]\n  }]\n});\n</script>"]],"orig":"series.categoryField"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart series."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"donut\", \"pie\", \"bubble\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The border of the chart series."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"donut\", \"pie\", \"bubble\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        dashType: \"dash\",\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number","Function"],"default":"1","short_doc":[["para","The width of the border in pixels."]],"doc":[["para","The width of the border in pixels."],["header",{"level":4},"Example - set the chart series border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    border: {\n      width: 2\n    },\n    data: [1, 2]\n  }]\n});\n</script>"]],"orig":"series.border.width"},{"name":"opacity","type":["Number","Function"],"default":"1","short_doc":[["para","The opacity of the border. By default the border is opaque."]],"doc":[["para","The opacity of the border. By default the border is opaque."],["header",{"level":4},"Example - set the chart series border opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        opacity: 0.5\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"]],"orig":"series.border.opacity"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        dashType: \"dash\",\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"]],"orig":"series.border.dashType"},{"name":"color","type":["String","Function"],"short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series."],["header",{"level":4},"Example - set the chart series border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\"\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"]],"orig":"series.border.color"}],"orig":"series.border"},{"name":"axis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the value axis to use."],["blockquote",["para","The ",["inlinecode","axis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"bar\", \"column\", \"line\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The name of the value axis to use."],["blockquote",["para","The ",["inlinecode","axis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"bar\", \"column\", \"line\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [\n    { name: \"first\" },\n    { name: \"second\" }\n  ],\n  series: [\n    { data: [800, 100, 300],  axis: \"first\" },\n    { data: [1, 5],  axis: \"second\" }\n  ]\n});\n</script>"]],"orig":"series.axis"},{"name":"aggregate","type":["String"],"default":"\"max\"","short_doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\", \"boxPlot\"  and ohlc \"series\""],". Specifies the aggregate for each data item field."]]],"doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\", \"boxPlot\"  and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example - set the chart series aggregate"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2012/01/01\"),\n      new Date(\"2012/01/02\"),\n      new Date(\"2012/01/02\")\n    ],\n    type: \"date\"\n  },\n  series: [{\n      data: [1, 2, 3],\n      aggregate: \"avg\"\n  }]\n});\n</script>"]],"orig":"series.aggregate"}]},{"name":"seriesColors","type":["Array"],"short_doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."]],"doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."],["header",{"level":4},"Example - set the chart series colors"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesColors: [\"red\", \"green\"],\n  series: [\n    { data: [1, 2] },\n    { data: [1, 2] },\n    { data: [1, 2] }\n  ]\n});\n</script>"]]},{"name":"seriesDefaults","type":["Object"],"short_doc":[["para","The default options for all series."]],"doc":[["para","The default options for all series."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The seriesDefaults notes configuration."]],"doc":[["para","The seriesDefaults notes configuration."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the seriesDefaults notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the seriesDefaults notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.line.width"}],"orig":"seriesDefaults.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"seriesDefaults.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the seriesDefaults notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         format: \"value slot: {0}\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the seriesDefaults notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the seriesDefaults notes label. By default the seriesDefaults notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the seriesDefaults notes label. By default the seriesDefaults notes label are visible."],["header",{"level":4},"Example - hide the seriesDefaults notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         visible: false\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the seriesDefaults notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         template: \"Year: #: value #\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart seriesDefaults notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         font: \"20px sans-serif\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the seriesDefaults label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the seriesDefaults label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the seriesDefaults label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.border.color"}],"orig":"seriesDefaults.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.label.background"}],"orig":"seriesDefaults.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the seriesDefaults notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the seriesDefaults notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      seriesDefaults: {\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\"\n      }]\n    });\n    </script>"]],"orig":"seriesDefaults.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.icon.border.color"}],"orig":"seriesDefaults.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"]],"orig":"seriesDefaults.notes.icon.background"}],"orig":"seriesDefaults.notes.icon"}],"orig":"seriesDefaults.notes"},{"name":"verticalLine","type":["Object"],"short_doc":[["para","The verticalLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The verticalLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the verticalLine chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    verticalLine: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"verticalLine\", data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.verticalLine"},{"name":"verticalArea","type":["Object"],"short_doc":[["para","The verticalArea chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The verticalArea chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the verticalArea chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    verticalArea: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"verticalArea\", data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.verticalArea"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"seriesDefaults.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"seriesDefaults.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    },\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      template: \"#: value.x # - #: value.y # (#: value.size #)\"\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the tooltip."]],"doc":[["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the tooltip."]],"doc":[["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the tooltip."]],"doc":[["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the tooltip."]],"doc":[["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.padding.bottom"}],"orig":"seriesDefaults.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]]],"doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      format: \"{0} x {1} ({2:C})\"\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.border.color"}],"orig":"seriesDefaults.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.tooltip.background"}],"orig":"seriesDefaults.tooltip"},{"name":"stack","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]]],"doc":[["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]],["header",{"level":4},"Example - enable chart series stacking"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    stack: true\n  },\n  series: [\n    { data: [ 1, 2 , 3] },\n    { data: [ 4, 5 , 6] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\" or \"ohlc\"."]]],"doc":[["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series spacing"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    spacing: 0.1\n  },\n  series: [\n    { data: [ 1, 2 ,3 ] },\n    { data: [ 1, 2 ,3 ] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.spacing"},{"name":"scatterLine","type":["Object"],"short_doc":[["para","The scatterLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The scatterLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the scatterLine chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    color: \"green\"\n  },\n  series: [ {\n    type: \"scatterLine\",\n    data: [\n       [1, 2],\n       [2, 3]\n    ]\n  }]\n});\n</script>"]],"orig":"seriesDefaults.scatterLine"},{"name":"scatter","type":["Object"],"short_doc":[["para","The scatter chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The scatter chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the scatter chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    color: \"green\"\n  },\n  series: [ {\n    type: \"scatter\",\n    data: [\n       [1, 2],\n       [2, 3]\n    ]\n  }]\n});\n</script>"]],"orig":"seriesDefaults.scatter"},{"name":"pie","type":["Object"],"short_doc":[["para","The pie chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The pie chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the pie chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    pie: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"pie\", data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.pie"},{"name":"overlay","type":["Object"],"short_doc":[["para","The chart series overlay options."]],"doc":[["para","The chart series overlay options."],["header",{"level":4},"Example - set the chart series overlay options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    overlay: {\n      gradient: \"none\"\n    }\n  },\n  series: [\n    { data: [ 1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"gradient","type":["String"],"short_doc":[["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]]],"doc":[["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]],["header",{"level":4},"Example - set the chart series gradient options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    overlay: {\n      gradient: \"none\"\n    }\n  },\n  series: [\n    { data: [ 1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.overlay.gradient"}],"orig":"seriesDefaults.overlay"},{"name":"ohlc","type":["Object"],"short_doc":[["para","The ohlc chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The ohlc chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the ohlc chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    ohlc: {\n      color: \"red\",\n      opacity: 0.3\n    }\n  },\n  series: [{\n    type: \"ohlc\",\n    data: [ [1, 2, 0.5, 1.5] ]\n  }]\n});\n</script>"]],"orig":"seriesDefaults.ohlc"},{"name":"line","type":["Object"],"short_doc":[["para","The line chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The line chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the line chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    line: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2]\n  }]\n});\n</script>"]],"orig":"seriesDefaults.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-seriesDefaults.labels.visible"},"seriesDefaults.labels.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-seriesDefaults.labels.visible"},"seriesDefaults.labels.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      background: \"green\",\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."],["header",{"level":4},"Example - show the chart series labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true\n    }\n  },\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"seriesDefaults.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut, funnel and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut, funnel and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]],["header",{"level":4},"Example - set the chart series label template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      template: \"Value: #: value #%\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all margins."]],"doc":[["para","The padding of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.padding.bottom"}],"orig":"seriesDefaults.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.margin.bottom"}],"orig":"seriesDefaults.labels.margin"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."]],"doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["header",{"level":4},"Example - set the chart series label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      format: \"{0:C}\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the chart series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        dashType: \"dashDot\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.border.color"}],"orig":"seriesDefaults.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.labels.background"}],"orig":"seriesDefaults.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para","The distance between category clusters."]],"doc":[["para","The distance between category clusters."],["header",{"level":4},"Example - set the gap between the chart categories"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    gap: 4\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.gap"},{"name":"donut","type":["Object"],"short_doc":[["para","The donut chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The donut chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the donut chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    donut: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"donut\",  data: [3, 4] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.donut"},{"name":"column","type":["Object"],"short_doc":[["para","The column chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The column chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the column chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    column: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"column\", data: [3, 4] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.column"},{"name":"candlestick","type":["Object"],"short_doc":[["para","The candlestick chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The candlestick chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the candlestick chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    candlestick: {\n      color: \"red\",\n      opacity: 0.3\n    }\n  },\n  series: [\n    { type: \"candlestick\", data: [ [1, 2, 0.5, 1.5] ] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.candlestick"},{"name":"bubble","type":["Object"],"short_doc":[["para","The bubble chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The bubble chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the bubble chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    bubble: {\n      color: \"green\",\n      opacity: 0.5\n    }\n  },\n  series: [\n    { type: \"bubble\", data: [ [1, 2, 3] ] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.bubble"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the series."]],"doc":[["para","The border of the series."],["header",{"level":4},"Example - set the chart series border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the chart series border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the chart series border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      dashType: \"dashDot\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.border.color"}],"orig":"seriesDefaults.border"},{"name":"bar","type":["Object"],"short_doc":[["para","The bar chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The bar chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the bar chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    bar: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"bar\", data: [1, 2] },\n    { data: [3, 4] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.bar"},{"name":"area","type":["Object"],"short_doc":[["para","The area chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."]],"doc":[["para","The area chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the area chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    area: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"area\", data: [1, 2] },\n    { data: [3, 4] }\n  ]\n});\n</script>"]],"orig":"seriesDefaults.area"}]},{"name":"theme","type":["String"],"short_doc":[["para","The chart theme."],["para","The supported values are:"],["bulletlist",["listitem","\"black\""],["listitem","\"blueopal\""],["listitem","\"bootstrap\""],["listitem","\"default\""],["listitem","\"highcontrast\""],["listitem","\"metro\""],["listitem","\"metroblack\""],["listitem","\"moonlight\""],["listitem","\"silver\""],["listitem","\"uniform\""]]],"doc":[["para","The chart theme."],["para","The supported values are:"],["bulletlist",["listitem","\"black\""],["listitem","\"blueopal\""],["listitem","\"bootstrap\""],["listitem","\"default\""],["listitem","\"highcontrast\""],["listitem","\"metro\""],["listitem","\"metroblack\""],["listitem","\"moonlight\""],["listitem","\"silver\""],["listitem","\"uniform\""]]]},{"name":"title","type":["Object","String"],"short_doc":[["para","The chart title configuration options or text."]],"doc":[["para","The chart title configuration options or text."],["header",{"level":4},"Example - set the chart title as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: \"Title\",\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - configure the chart title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    align: \"left\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the title. By default the title is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the title. By default the title is not displayed."],["header",{"level":4},"Example - hide the title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the chart title. You can also set the text directly for a title with default options."]],"doc":[["para","The text of the chart title. You can also set the text directly for a title with default options."],["header",{"level":4},"Example - set the chart title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    position: \"bottom\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.text"},{"name":"position","type":["String"],"default":"\"top\"","short_doc":[["para","The position of the title."],["bulletlist",["listitem","\"bottom\" - the title is positioned on the bottom."],["listitem","\"top\" - the title is positioned on the top."]]],"doc":[["para","The position of the title."],["bulletlist",["listitem","\"bottom\" - the title is positioned on the bottom."],["listitem","\"top\" - the title is positioned on the top."]],["header",{"level":4},"Example - set the chart title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    position: \"bottom\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.position"},{"name":"padding","type":["Number","Object"],"default":"5","short_doc":[["para","The padding of the title. A numeric value will set all margins."]],"doc":[["para","The padding of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.padding.bottom"}],"orig":"title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.margin.bottom"}],"orig":"title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font of the title."]],"doc":[["para","The font of the title."],["header",{"level":4},"Example - set the chart title border font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    font: \"20px sans-serif\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.font"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the series."]],"doc":[["para","The border of the series."],["header",{"level":4},"Example - set the chart title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the chart title border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the chart title border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      dashType: \"dashDot\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"title.border.color"}],"orig":"title.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - configure the chart alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"title.background"},{"name":"align","type":["String"],"default":"\"center\"","short_doc":[["para","The alignment of the title."],["bulletlist",["listitem","\"center\" - the text is aligned to the middle."],["listitem","\"left\" - the text is aligned to the left."],["listitem","\"right\" - the text is aligned to the right."]]],"doc":[["para","The alignment of the title."],["bulletlist",["listitem","\"center\" - the text is aligned to the middle."],["listitem","\"left\" - the text is aligned to the left."],["listitem","\"right\" - the text is aligned to the right."]],["header",{"level":4},"Example - configure the chart alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    align: \"left\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"orig":"title.align"}]},{"name":"tooltip","type":["Object"],"short_doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    },\n  ]\n});\n</script>"]],"orig":"tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    template: \"#: value.x # - #: value.y # (#: value.size #)\"\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"tooltip.template"},{"name":"sharedTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the shared tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","points - the category points"],["listitem","category - the category name"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the shared tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","points - the category points"],["listitem","category - the category name"]],["header",{"level":4},"Example - set the shared tooltip template"],["code_block","<div id=\"chart\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <div>#: category #</div>\n  # for (var i = 0; i < points.length; i++) { #\n    <div>#: points[i].series.name# : #: points[i].value #</div>\n  # } #\n</script>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { name: \"Series 1\", data: [1,2] },\n    { name: \"Series 2\", data: [1,2] }\n  ],\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  tooltip: {\n    visible: true,\n    shared: true,\n    sharedTemplate:kendo.template($(\"#template\").html())\n  }\n});\n</script>"]],"orig":"tooltip.sharedTemplate"},{"name":"shared","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display a single tooltip for every category."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display a single tooltip for every category."],["header",{"level":4},"Example - display shared tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1,2,3]\n  },{\n    data: [1,2,3]\n  },{\n    data: [1,2,3]\n  }],\n  tooltip: {\n    visible: true,\n    shared: true\n  }\n});\n</script>"]],"orig":"tooltip.shared"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the tooltip."]],"doc":[["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the tooltip."]],"doc":[["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the tooltip."]],"doc":[["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the tooltip."]],"doc":[["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.padding.bottom"}],"orig":"tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]]],"doc":[["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    format: \"{0} x {1} ({2:C})\"\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"]],"orig":"tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    font: \"20px sans-serif\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    color: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.border.color"}],"orig":"tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"tooltip.background"}]},{"name":"transitions","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will play animations when displaying the series. By default animations are enabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will play animations when displaying the series. By default animations are enabled."],["header",{"level":4},"Example - disable the chart animations"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  transitions: false,\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]]},{"name":"valueAxis","type":["Array"],"short_doc":[["para","The value axis configuration options."]],"doc":[["para","The value axis configuration options."],["header",{"level":4},"Example - configure the chart value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n      min: 0,\n      max: 10,\n      majorUnit: 2\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The value axis notes configuration."]],"doc":[["para","The value axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.width"}],"orig":"valueAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.color"}],"orig":"valueAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.background"}],"orig":"valueAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.color"}],"orig":"valueAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.background"}],"orig":"valueAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"valueAxis.notes.data.value"}],"orig":"valueAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.width"}],"orig":"valueAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.color"}],"orig":"valueAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.background"}],"orig":"valueAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.color"}],"orig":"valueAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.background"}],"orig":"valueAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.position"}],"orig":"valueAxis.notes"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis. By default the value axis is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis. By default the value axis is visible."],["header",{"level":4},"Example - hide the value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.visible"},{"name":"title","type":["Object"],"short_doc":[["para","The title configuration of the value axis."],["blockquote",["para","The ",["link",{"href":"#configuration-valueAxis.title.text"},"valueAxis.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the value axis."],["blockquote",["para","The ",["link",{"href":"#configuration-valueAxis.title.text"},"valueAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis title. By default the value axis title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis title. By default the value axis title is visible."],["header",{"level":4},"Example - hide the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."],["header",{"level":4},"Example - set the value axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"doc":[["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the value axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title. A numeric value will set all paddings."]],"doc":[["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the value axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."],["header",{"level":4},"Example - set the value axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."],["header",{"level":4},"Example - set the value axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."],["header",{"level":4},"Example - set the value axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."],["header",{"level":4},"Example - set the value axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.padding.bottom"}],"orig":"valueAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the value axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the value axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the value axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the value axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.margin.bottom"}],"orig":"valueAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."],["header",{"level":4},"Example - set the value axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example - set the value axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.border.color"}],"orig":"valueAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.title.background"}],"orig":"valueAxis.title"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top."]],"doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    categories: [\"2012\", \"2013\"],\n    reverse: true\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the value axis."]],"doc":[["para","The plot bands of the value axis."],["header",{"level":4},"Example - set the value plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the value plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.plotBands.to"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."],["header",{"level":4},"Example - set the value plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.plotBands.opacity"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the value plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.plotBands.from"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."],["header",{"level":4},"Example - set the value plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.plotBands.color"}],"orig":"valueAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the value axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the value axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the value axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"]],"orig":"valueAxis.pane"},{"name":"narrowRange","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent automatic axis range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    narrowRange: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.narrowRange"},{"name":"name","type":["Object"],"default":"\"primary\"","short_doc":[["para","The unique axis name. Used to associate a series with a value axis using the ",["link",{"href":"#configuration-series.axis"},"series.axis"]," option."]],"doc":[["para","The unique axis name. Used to associate a series with a value axis using the ",["link",{"href":"#configuration-series.axis"},"series.axis"]," option."],["header",{"level":4},"Example - set the value axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"]],"orig":"valueAxis.name"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-valueAxis.majorUnit"},"valueAxis.majorUnit"],"."]],"doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-valueAxis.majorUnit"},"valueAxis.majorUnit"],"."],["header",{"level":4},"Example - set the value axis minor unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorUnit: 2\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorUnit"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The configuration of the value axis minor ticks."]],"doc":[["para","The configuration of the value axis minor ticks."],["header",{"level":4},"Example - configure the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor ticks."]],"doc":[["para","The skip of the value axis minor ticks."],["header",{"level":4},"Example - set the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor ticks."]],"doc":[["para","The step of the value axis minor ticks."],["header",{"level":4},"Example - set the value axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the value axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis minor ticks. By default the value axis minor ticks are not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis minor ticks. By default the value axis minor ticks are not visible."],["header",{"level":4},"Example - hide the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the value axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorTicks.color"}],"orig":"valueAxis.minorTicks"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The configuration of the value axis major ticks."]],"doc":[["para","The configuration of the value axis major ticks."],["header",{"level":4},"Example - configure the value axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major ticks."]],"doc":[["para","The skip of the value axis major ticks."],["header",{"level":4},"Example - set the value axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major ticks."]],"doc":[["para","The step of the value axis major ticks."],["header",{"level":4},"Example - set the value axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.majorTicks.step"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis major ticks. By default the value axis major ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis major ticks. By default the value axis major ticks are visible."]],"orig":"valueAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the value axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      size: 6\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorTicks.color"}],"orig":"valueAxis.majorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the value axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      width: 3,\n      color: \"green\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor grid lines."]],"doc":[["para","The skip of the value axis minor grid lines."],["header",{"level":4},"Example - set the value axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor grid lines."]],"doc":[["para","The step of the value axis minor grid lines."],["header",{"level":4},"Example - set the value axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the value axis minor grid lines in pixels."]],"doc":[["para","The width of the value axis minor grid lines in pixels."],["header",{"level":4},"Example - set the value axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the value axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.visible"},{"name":"type","type":["String"],"short_doc":[["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."]],"doc":[["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."],["header",{"level":4},"Example - show arcs for both major and minor gridlines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      type: \"arc\",\n      visible: true\n    },\n    majorGridLines: {\n      type: \"arc\"\n    }\n  }],\n  series: [\n    {\n      type: \"radarLine\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.type"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.minorGridLines.color"}],"orig":"valueAxis.minorGridLines"},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the axis."]],"doc":[["para","The minimum value of the axis."],["header",{"level":4},"Example - set the value axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n     min: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.min"},{"name":"max","type":["Number"],"default":"1","short_doc":[["para","The maximum value of the axis."]],"doc":[["para","The maximum value of the axis."],["header",{"level":4},"Example - set the value axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n     max: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions."]],"doc":[["para","The interval between major divisions."],["header",{"level":4},"Example - set the value axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorUnit: 1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorUnit"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the value axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      width: 3,\n      color: \"green\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major grid lines."]],"doc":[["para","The skip of the value axis major grid lines."],["header",{"level":4},"Example - set the value axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major grid lines."]],"doc":[["para","The step of the value axis major grid lines."],["header",{"level":4},"Example - set the value axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the value axis major grid lines in pixels."]],"doc":[["para","The width of the value axis major grid lines in pixels."],["header",{"level":4},"Example - set the value axis major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."],["header",{"level":4},"Example - hide the value axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.visible"},{"name":"type","type":["String"],"short_doc":[["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."]],"doc":[["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."],["header",{"level":4},"Example - use arcs for radarLine chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      type: \"arc\"\n    }\n  }],\n  series: [\n    {\n      type: \"radarLine\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.type"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis major grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis major grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.majorGridLines.color"}],"orig":"valueAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the value axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - set the value axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis lines. By default the value axis lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis lines. By default the value axis lines are visible."],["header",{"level":4},"Example - hide the value axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the value axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.line.color"}],"orig":"valueAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The axis labels configuration."]],"doc":[["para","The axis labels configuration."],["header",{"level":4},"Example - configure the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis labels. By default the category axis labels are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis labels. By default the category axis labels are visible."],["header",{"level":4},"Example - hide the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      template: \"Year: #: value #\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      template: kendo.template(\"Year: #: value #\")\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":4},"Example - render each 2nd label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      step: 2\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.step"},{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The number of labels to skip. By default no labels are skipped."]],"doc":[["para","The number of labels to skip. By default no labels are skipped."],["header",{"level":4},"Example - skip value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      skip: 1\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle (in degrees) of the labels. By default the labels are not rotated."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."]],"doc":[["para","The rotation angle (in degrees) of the labels. By default the labels are not rotated."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - rotate the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      rotation: 90\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all margins."]],"doc":[["para","The padding of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the value axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the value axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the value axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the value axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.padding.bottom"}],"orig":"valueAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["header",{"level":4},"Example - mirror the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      mirror: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the value axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the value axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the value axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the value axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.margin.bottom"}],"orig":"valueAxis.labels.margin"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the value axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n       format: \"{0:C}\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the value axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.border.color"}],"orig":"valueAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.labels.background"}],"orig":"valueAxis.labels"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.visible"},"valueAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.visible"},"valueAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the value axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the crosshair in pixels."]],"doc":[["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the value axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair. By default the value axis crosshair is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair. By default the value axis crosshair is not visible."],["header",{"level":4},"Example - show the value axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.visible"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.tooltip.visible"},"valueAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.tooltip.visible"},"valueAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the value axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair tooltip. By default the value axis crosshair tooltip is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair tooltip. By default the value axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the value axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the value axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the crosshair tooltip."]],"doc":[["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the crosshair tooltip."]],"doc":[["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the crosshair tooltip."]],"doc":[["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the crosshair tooltip."]],"doc":[["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.padding.bottom"}],"orig":"valueAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."]],"doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the value axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the value axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border options."]],"doc":[["para","The border options."],["header",{"level":4},"Example - set the value axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.border.color"}],"orig":"valueAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.crosshair.tooltip.background"}],"orig":"valueAxis.crosshair.tooltip"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the value axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.crosshair.opacity"},{"name":"dashType","type":["string"],"default":"\"solid\"","short_doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.crosshair.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"valueAxis.crosshair.color"}],"orig":"valueAxis.crosshair"},{"name":"color","type":["String"],"short_doc":[["para","The color of the value axis. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    color: \"green\"\n  },\n  series: [{\n    data: [1, 2]\n  }]\n});\n</script>"]],"orig":"valueAxis.color"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    background: \"#ff0000\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"valueAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indices at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"]],"doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indices at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"],["header",{"level":4},"Example - set the value axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    series: [{\n      data: [4,7,10]\n    }],\n    categoryAxes: [{\n      categories: [\"A\", \"B\", \"C\"]\n    }, {\n      categories: [\"D\", \"E\", \"F\"]\n    }],\n    valueAxis:  {\n      axisCrossingValues: [0, 12]\n    }\n});\n</script>"]],"orig":"valueAxis.axisCrossingValue"}]},{"name":"xAxis","type":["Array"],"short_doc":[["para","The X-axis configuration options of the scatter chart X-axis. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."]],"doc":[["para","The X-axis configuration options of the scatter chart X-axis. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."],["header",{"level":4},"Example - set the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    color: \"red\",\n    min: -5,\n    max: 5,\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The x axis notes configuration."]],"doc":[["para","The x axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the x axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the x axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the x axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.line.width"}],"orig":"xAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the x axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the x axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"xAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the x axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the x axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the x axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."],["header",{"level":4},"Example - hide the x axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the x axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the x axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the x axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the x axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.border.color"}],"orig":"xAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.label.background"}],"orig":"xAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the x axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the x axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the x axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the x axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the x axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the x axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.border.color"}],"orig":"xAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the x axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.data.icon.background"}],"orig":"xAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"xAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"xAxis.notes.data.value"}],"orig":"xAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the x axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the x axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the x axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.line.width"}],"orig":"xAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"xAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the x axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the x axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."],["header",{"level":4},"Example - hide the x axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the x axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the x axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the x axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.border.color"}],"orig":"xAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.label.background"}],"orig":"xAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the x axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the x axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the x axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the x axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the x axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the x axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.border.color"}],"orig":"xAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the x axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"xAxis.notes.icon.background"}],"orig":"xAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"xAxis.notes.position"}],"orig":"xAxis.notes"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis. By default the x axis is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis. By default the x axis is visible."],["header",{"level":4},"Example - hide the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    visible: false\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.visible"},{"name":"type","type":["String"],"default":"\"numeric\"","short_doc":[["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]]],"doc":[["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]],["header",{"level":4},"Example - set the scatter chart x axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\"\n  }\n});\n</script>"]],"orig":"xAxis.type"},{"name":"title","type":["Object"],"short_doc":[["para","The title configuration of the scatter chart x axis."],["blockquote",["para","The ",["link",{"href":"#configuration-xAxis.title.text"},"xAxis.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the scatter chart x axis."],["blockquote",["para","The ",["link",{"href":"#configuration-xAxis.title.text"},"xAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis title. By default the scatter chart x axis title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis title. By default the scatter chart x axis title is visible."],["header",{"level":4},"Example - hide the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."],["header",{"level":4},"Example - set the scatter chart x axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"doc":[["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the scatter chart x axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title. A numeric value will set all paddings."]],"doc":[["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.padding.bottom"}],"orig":"xAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart x axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.margin.bottom"}],"orig":"xAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."],["header",{"level":4},"Example - set the scatter chart x axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example - set the scatter chart x axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.border.color"}],"orig":"xAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.title.background"}],"orig":"xAxis.title"},{"name":"startAngle","type":["Number"],"default":"0","short_doc":[["para","The angle (degrees) where the 0 value is placed."],["para","Angles increase counterclockwise and zero is to the right. Negative values are acceptable."]],"doc":[["para","The angle (degrees) where the 0 value is placed."],["para","Angles increase counterclockwise and zero is to the right. Negative values are acceptable."]],"orig":"xAxis.startAngle"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."]],"doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    reverse: true\n  }\n});\n</script>"]],"orig":"xAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the x axis."]],"doc":[["para","The plot bands of the x axis."],["header",{"level":4},"Example - set the scatter chart x axis plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"sub":[{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart x axis plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"xAxis.plotBands.to"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."],["header",{"level":4},"Example - set the scatter chart x axis plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  }\n});\n</script>"]],"orig":"xAxis.plotBands.opacity"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart x axis plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"xAxis.plotBands.from"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."],["header",{"level":4},"Example - set the scatter chart x axis plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"xAxis.plotBands.color"}],"orig":"xAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the scatter chart x axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]], xAxis: \"first\", yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\", yAxis: \"second\" }\n  ],\n  panes: [\n    { name: \"topPane\" },\n    { name: \"bottomPane\" },\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ]\n});\n</script>"]],"orig":"xAxis.pane"},{"name":"narrowRange","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent scatter chart x axis automatic range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    narrowRange: false\n  }\n});\n</script>"]],"orig":"xAxis.narrowRange"},{"name":"name","type":["Object"],"default":"\"primary\"","short_doc":[["para","The unique axis name. Used to associate a series with a x axis using the ",["link",{"href":"#configuration-series.xAxis"},"series.xAxis"]," option."]],"doc":[["para","The unique axis name. Used to associate a series with a x axis using the ",["link",{"href":"#configuration-series.xAxis"},"series.xAxis"]," option."],["header",{"level":4},"Example - set the scatter chart x axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1000, 2000]], xAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\" }\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\"}\n  ]\n});\n</script>"]],"orig":"xAxis.name"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-xAxis.majorUnit"},"xAxis.majorUnit"],"."]],"doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-xAxis.majorUnit"},"xAxis.majorUnit"],"."]],"orig":"xAxis.minorUnit"},{"name":"min","type":["Object"],"short_doc":[["para","The minimum value of the axis."]],"doc":[["para","The minimum value of the axis."],["header",{"level":4},"Example - set the scatter chart x axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    min: 1\n  }\n});\n</script>"]],"orig":"xAxis.min"},{"name":"max","type":["Object"],"short_doc":[["para","The maximum value of the axis."]],"doc":[["para","The maximum value of the axis."],["header",{"level":4},"Example - set the scatter chart x axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    max: 5\n  }\n});\n</script>"]],"orig":"xAxis.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."]],"doc":[["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."],["header",{"level":4},"Example - set the scatter chart x axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorUnit: 1\n  }\n});\n</script>"],["header",{"level":4},"Example - set both the baseUnit and major unit for a date axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatterLine\",\n    data: [[new Date(2012, 0, 1), 1],[new Date(2012, 0, 10), 2]]\n  }],\n  xAxis: {\n    baseUnit: \"days\",\n    majorUnit: 5\n  }\n});\n</script>"]],"orig":"xAxis.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The configuration of the scatter chart x axis major ticks."]],"doc":[["para","The configuration of the scatter chart x axis major ticks."],["header",{"level":4},"Example - configure the scatter chart x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the x axis major ticks."]],"doc":[["para","The skip of the x axis major ticks."],["header",{"level":4},"Example - set the x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the x axis major ticks."]],"doc":[["para","The step of the x axis major ticks."],["header",{"level":4},"Example - set the x axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the scatter chart x axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis major ticks. By default the category axis major ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the scatter chart x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the scatter chart x axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      size: 6\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the scatter chart x axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the scatter chart x axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorTicks.color"}],"orig":"xAxis.majorTicks"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The configuration of the x axis minor ticks."]],"doc":[["para","The configuration of the x axis minor ticks."],["header",{"level":4},"Example - configure the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the x axis minor ticks."]],"doc":[["para","The skip of the x axis minor ticks."],["header",{"level":4},"Example - set the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the x axis minor ticks."]],"doc":[["para","The step of the x axis minor ticks."],["header",{"level":4},"Example - set the x axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the x axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis minor ticks. By default the x axis minor ticks are not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis minor ticks. By default the x axis minor ticks are not visible."],["header",{"level":4},"Example - hide the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the x axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.minorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the x axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the x axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the x axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the x axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.minorTicks.color"}],"orig":"xAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the x axis minor grid lines."]],"doc":[["para","The skip of the x axis minor grid lines."],["header",{"level":4},"Example - set the x axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the x axis minor grid lines."]],"doc":[["para","The step of the x axis minor grid lines."],["header",{"level":4},"Example - set the x axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis minor grid lines in pixels."]],"doc":[["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"xAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"xAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.minorGridLines.color"}],"orig":"xAxis.minorGridLines"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the scatter chart x axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the x axis major grid lines."]],"doc":[["para","The skip of the x axis major grid lines."],["header",{"level":4},"Example - set the x axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the x axis major grid lines."]],"doc":[["para","The step of the x axis major grid lines."],["header",{"level":4},"Example - set the x axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"xAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."],["header",{"level":4},"Example - hide the scatter chart x major grid liness"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x major grid lines dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.majorGridLines.color"}],"orig":"xAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the scatter chart x axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"xAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis lines. By default the x axis lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis lines. By default the x axis lines are visible."],["header",{"level":4},"Example - hide the scatter chart x axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"xAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.line.color"}],"orig":"xAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The axis labels configuration."]],"doc":[["para","The axis labels configuration."],["header",{"level":4},"Example - set the scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis labels. By default the x axis labels are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x axis labels. By default the x axis labels are visible."],["header",{"level":4},"Example - hide the scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the scatter chart x axis label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      template: \"X: #: value #\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      template: kendo.template(\"X: #: value #\")\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."]],"doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd x axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      step: 2\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","The number of labels to skip."]],"doc":[["para","The number of labels to skip."],["header",{"level":4},"Example - skip  scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      skip: 2\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels. By default the labels are not rotated."]],"doc":[["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - set the scatter chart x axis label rotation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      rotation: 90\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"doc":[["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis label padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: 10\n    }\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.padding.bottom"}],"orig":"xAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart x axis label margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: 10\n    }\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.margin.top"},{"name":"right","type":["Number"],"short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.margin.right"},{"name":"left","type":["Number"],"short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.margin.left"},{"name":"bottom","type":["Number"],"short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.margin.bottom"}],"orig":"xAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the scatter chart x axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      format: \"{0:C\"}\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      font: \"20px sans-serif\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.font"},{"name":"dateFormats","type":["Object"],"short_doc":[["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]]],"doc":[["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set the scatter chart x axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"sub":[{"name":"years","type":["String"],"default":"\"yyyy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"years\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.dateFormats.years"},{"name":"weeks","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"weeks\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.dateFormats.weeks"},{"name":"months","type":["String"],"default":"\"MMM 'yy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"months\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.dateFormats.months"},{"name":"hours","type":["String"],"default":"\"HH:mm\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"hours\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.dateFormats.hours"},{"name":"days","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"days\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.dateFormats.days"}],"orig":"xAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"orig":"xAxis.labels.culture"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"red\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\",\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.border.color"}],"orig":"xAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"red\"\n    }\n  }\n});\n</script>"]],"orig":"xAxis.labels.background"}],"orig":"xAxis.labels"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.visible"},"xAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.visible"},"xAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the scatter chart x axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the crosshair in pixels."]],"doc":[["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the scatter chart x axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair. By default the scatter chart x axis crosshair is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair. By default the scatter chart x axis crosshair is not visible."],["header",{"level":4},"Example - show the scatter chart x axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.visible"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.tooltip.visible"},"xAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.tooltip.visible"},"xAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the scatter chart x axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair tooltip. By default the scatter chart x axis crosshair tooltip is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair tooltip. By default the scatter chart x axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the scatter chart x axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the crosshair tooltip."]],"doc":[["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the crosshair tooltip."]],"doc":[["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the crosshair tooltip."]],"doc":[["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the crosshair tooltip."]],"doc":[["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.padding.bottom"}],"orig":"xAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."]],"doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border options."]],"doc":[["para","The border options."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.border.color"}],"orig":"xAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.tooltip.background"}],"orig":"xAxis.crosshair.tooltip"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the scatter chart x axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.opacity"},{"name":"dashType","type":["string"],"default":"\"solid\"","short_doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"xAxis.crosshair.color"}],"orig":"xAxis.crosshair"},{"name":"color","type":["String"],"short_doc":[["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    color: \"red\"\n  }\n});\n</script>"]],"orig":"xAxis.color"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]]],"doc":[["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]],["header",{"level":4},"Example - set the scatter chart x axis base unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"hours\"\n  }\n});\n</script>"]],"orig":"xAxis.baseUnit"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    background: \"#ff0000\"\n  }\n});\n</script>"]],"orig":"xAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]]],"doc":[["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]],["header",{"level":4},"Example - set the scatter chart x axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    axisCrossingValue: [1, 2]\n  }\n});\n</script>"]],"orig":"xAxis.axisCrossingValue"}]},{"name":"yAxis","type":["Array"],"short_doc":[["para","The y axis configuration options of the scatter chart. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."]],"doc":[["para","The y axis configuration options of the scatter chart. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."],["header",{"level":4},"Example - set the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    color: \"red\",\n    min: -5,\n    max: 5,\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The y axis notes configuration."]],"doc":[["para","The y axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the y axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the y axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the y axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.line.width"}],"orig":"yAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the y axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the y axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"yAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the y axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the y axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the y axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."],["header",{"level":4},"Example - hide the y axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the y axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the y axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the y axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the y axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.border.color"}],"orig":"yAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.label.background"}],"orig":"yAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the y axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the y axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the y axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the y axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the y axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the y axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.border.color"}],"orig":"yAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the y axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.data.icon.background"}],"orig":"yAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"yAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"yAxis.notes.data.value"}],"orig":"yAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the y axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the y axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the y axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.line.width"}],"orig":"yAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"yAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the y axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the y axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."],["header",{"level":4},"Example - hide the y axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the y axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the y axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the y axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.border.color"}],"orig":"yAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.label.background"}],"orig":"yAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the y axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the y axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the y axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the y axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the y axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the y axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.border.color"}],"orig":"yAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the y axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"yAxis.notes.icon.background"}],"orig":"yAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"yAxis.notes.position"}],"orig":"yAxis.notes"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis. By default the y axis is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis. By default the y axis is visible."],["header",{"level":4},"Example - hide the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    visible: false\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.visible"},{"name":"type","type":["String"],"default":"\"numeric\"","short_doc":[["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]]],"doc":[["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]],["header",{"level":4},"Example - set the scatter chart y axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\"\n  }\n});\n</script>"]],"orig":"yAxis.type"},{"name":"title","type":["Object"],"short_doc":[["para","The title configuration of the scatter chart y axis."],["blockquote",["para","The ",["link",{"href":"#configuration-yAxis.title.text"},"yAxis.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the scatter chart y axis."],["blockquote",["para","The ",["link",{"href":"#configuration-yAxis.title.text"},"yAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis title. By default the scatter chart y axis title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis title. By default the scatter chart y axis title is visible."],["header",{"level":4},"Example - hide the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."],["header",{"level":4},"Example - set the scatter chart y axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"doc":[["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the scatter chart y axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title. A numeric value will set all paddings."]],"doc":[["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.padding.bottom"}],"orig":"yAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart y axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.margin.bottom"}],"orig":"yAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."],["header",{"level":4},"Example - set the scatter chart y axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example - set the scatter chart y axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.border.color"}],"orig":"yAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.title.background"}],"orig":"yAxis.title"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."]],"doc":[["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    reverse: true\n  }\n});\n</script>"]],"orig":"yAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the y axis."]],"doc":[["para","The plot bands of the y axis."],["header",{"level":4},"Example - set the scatter chart y axis plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"sub":[{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart y axis plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"yAxis.plotBands.to"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."],["header",{"level":4},"Example - set the scatter chart y axis plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  }\n});\n</script>"]],"orig":"yAxis.plotBands.opacity"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart y axis plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"yAxis.plotBands.from"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."],["header",{"level":4},"Example - set the scatter chart y axis plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"]],"orig":"yAxis.plotBands.color"}],"orig":"yAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the scatter chart y axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]], xAxis: \"first\", yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\", yAxis: \"second\" }\n  ],\n  panes: [\n    { name: \"topPane\" },\n    { name: \"bottomPane\" },\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ]\n});\n</script>"]],"orig":"yAxis.pane"},{"name":"narrowRange","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent scatter chart y axis automatic range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    narrowRange: false\n  }\n});\n</script>"]],"orig":"yAxis.narrowRange"},{"name":"name","type":["Object"],"default":"\"primary\"","short_doc":[["para","The unique axis name. Used to associate a series with a y axis using the ",["link",{"href":"#configuration-series.yAxis"},"series.yAxis"]," option."]],"doc":[["para","The unique axis name. Used to associate a series with a y axis using the ",["link",{"href":"#configuration-series.yAxis"},"series.yAxis"]," option."],["header",{"level":4},"Example - set the scatter chart y axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1000, 2000]], yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], yAxis: \"second\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\"}\n  ]\n});\n</script>"]],"orig":"yAxis.name"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-yAxis.majorUnit"},"yAxis.majorUnit"],"."]],"doc":[["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-yAxis.majorUnit"},"yAxis.majorUnit"],"."]],"orig":"yAxis.minorUnit"},{"name":"min","type":["Object"],"short_doc":[["para","The minimum value of the axis."]],"doc":[["para","The minimum value of the axis."],["header",{"level":4},"Example - set the scatter chart y axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    min: 1\n  }\n});\n</script>"]],"orig":"yAxis.min"},{"name":"max","type":["Object"],"short_doc":[["para","The maximum value of the axis."]],"doc":[["para","The maximum value of the axis."],["header",{"level":4},"Example - set the scatter chart y axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    max: 5\n  }\n});\n</script>"]],"orig":"yAxis.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."]],"doc":[["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."],["header",{"level":4},"Example - set the scatter chart y axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorUnit: 1\n  }\n});\n</script>"],["header",{"level":4},"Example - set both the baseUnit and major unit for a date axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatterLine\",\n    data: [[1, new Date(2012, 0, 1)],[2, new Date(2012, 0, 10)]]\n  }],\n  yAxis: {\n    baseUnit: \"days\",\n    majorUnit: 5\n  }\n});\n</script>"]],"orig":"yAxis.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The configuration of the scatter chart y axis major ticks."]],"doc":[["para","The configuration of the scatter chart y axis major ticks."],["header",{"level":4},"Example - configure the scatter chart y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the y axis major ticks."]],"doc":[["para","The skip of the y axis major ticks."],["header",{"level":4},"Example - set the y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the y axis major ticks."]],"doc":[["para","The step of the y axis major ticks."],["header",{"level":4},"Example - set the y axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the scatter chart y axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis major ticks. By default the category axis major ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the scatter chart y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the scatter chart y axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      size: 6\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the scatter chart y axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the scatter chart y axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorTicks.color"}],"orig":"yAxis.majorTicks"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The configuration of the y axis minor ticks."]],"doc":[["para","The configuration of the y axis minor ticks."],["header",{"level":4},"Example - configure the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the y axis minor ticks."]],"doc":[["para","The skip of the y axis minor ticks."],["header",{"level":4},"Example - set the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the y axis minor ticks."]],"doc":[["para","The step of the y axis minor ticks."],["header",{"level":4},"Example - set the y axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the y axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis minor ticks. By default the y axis minor ticks are not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis minor ticks. By default the y axis minor ticks are not visible."],["header",{"level":4},"Example - hide the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the y axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.minorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the y axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the y axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the y axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the y axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.minorTicks.color"}],"orig":"yAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the y axis minor grid lines."]],"doc":[["para","The skip of the y axis minor grid lines."],["header",{"level":4},"Example - set the y axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the y axis minor grid lines."]],"doc":[["para","The step of the y axis minor grid lines."],["header",{"level":4},"Example - set the y axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis minor grid lines in pixels."]],"doc":[["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"yAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"yAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.minorGridLines.color"}],"orig":"yAxis.minorGridLines"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the scatter chart y axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the y axis major grid lines."]],"doc":[["para","The skip of the y axis major grid lines."],["header",{"level":4},"Example - set the y axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the y axis major grid lines."]],"doc":[["para","The step of the y axis major grid lines."],["header",{"level":4},"Example - set the y axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"]],"orig":"yAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."],["header",{"level":4},"Example - hide the scatter chart x major grid liness"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x major grid lines dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.majorGridLines.color"}],"orig":"yAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the scatter chart y axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart y axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart y axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"]],"orig":"yAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis lines. By default the y axis lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis lines. By default the y axis lines are visible."],["header",{"level":4},"Example - hide the scatter chart y axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"yAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart y axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"green\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.line.color"}],"orig":"yAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The axis labels configuration."]],"doc":[["para","The axis labels configuration."],["header",{"level":4},"Example - set the scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis labels. By default the y axis labels are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the y axis labels. By default the y axis labels are visible."],["header",{"level":4},"Example - hide the scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      visible: false\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the scatter chart y axis label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      template: \"X: #: value #\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      template: kendo.template(\"X: #: value #\")\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."]],"doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd y axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      step: 2\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","The number of labels to skip."]],"doc":[["para","The number of labels to skip."],["header",{"level":4},"Example - skip  scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      skip: 2\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels. By default the labels are not rotated."]],"doc":[["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - set the scatter chart y axis label rotation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      rotation: 90\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"doc":[["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis label padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: 10\n    }\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.padding.bottom"}],"orig":"yAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart y axis label margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: 10\n    }\n  }\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.margin.bottom"}],"orig":"yAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the scatter chart y axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      format: \"{0:C\"}\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      font: \"20px sans-serif\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.font"},{"name":"dateFormats","type":["Object"],"short_doc":[["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]]],"doc":[["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set the scatter chart y axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"sub":[{"name":"years","type":["String"],"default":"\"yyyy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"years\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.dateFormats.years"},{"name":"weeks","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"weeks\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.dateFormats.weeks"},{"name":"months","type":["String"],"default":"\"MMM 'yy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"months\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.dateFormats.months"},{"name":"hours","type":["String"],"default":"\"HH:mm\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"hours\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.dateFormats.hours"},{"name":"days","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"days\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.dateFormats.days"}],"orig":"yAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"orig":"yAxis.labels.culture"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"red\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\",\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.border.color"}],"orig":"yAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"red\"\n    }\n  }\n});\n</script>"]],"orig":"yAxis.labels.background"}],"orig":"yAxis.labels"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.visible"},"yAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.visible"},"yAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the scatter chart y axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the crosshair in pixels."]],"doc":[["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the scatter chart y axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair. By default the scatter chart y axis crosshair is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair. By default the scatter chart y axis crosshair is not visible."],["header",{"level":4},"Example - show the scatter chart y axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.visible"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.tooltip.visible"},"yAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.tooltip.visible"},"yAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the scatter chart y axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair tooltip. By default the scatter chart y axis crosshair tooltip is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair tooltip. By default the scatter chart y axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the scatter chart y axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the crosshair tooltip."]],"doc":[["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the crosshair tooltip."]],"doc":[["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the crosshair tooltip."]],"doc":[["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the crosshair tooltip."]],"doc":[["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.padding.bottom"}],"orig":"yAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."]],"doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border options."]],"doc":[["para","The border options."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.border.color"}],"orig":"yAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.tooltip.background"}],"orig":"yAxis.crosshair.tooltip"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the scatter chart y axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.opacity"},{"name":"dashType","type":["string"],"default":"\"solid\"","short_doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"]],"orig":"yAxis.crosshair.color"}],"orig":"yAxis.crosshair"},{"name":"color","type":["String"],"short_doc":[["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    color: \"red\"\n  }\n});\n</script>"]],"orig":"yAxis.color"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]]],"doc":[["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]],["header",{"level":4},"Example - set the scatter chart y axis base unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"hours\"\n  }\n});\n</script>"]],"orig":"yAxis.baseUnit"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    background: \"#ff0000\"\n  }\n});\n</script>"]],"orig":"yAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]]],"doc":[["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]],["header",{"level":4},"Example - set the scatter chart y axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    axisCrossingValue: [1, 2]\n  }\n});\n</script>"]],"orig":"yAxis.axisCrossingValue"}]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.destroy();\n</script>"]]]},{"name":"redraw","args":[],"short_doc":[["para","Repaints the chart using the currently loaded data."]],"doc":[["para","Repaints the chart using the currently loaded data."],["header",{"level":4},"Example - redraw the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\n$(\"#chart\").css( { width: 300 });\nchart.redraw();\n</script>"]],"examples":[[["header",{"level":4},"Example - redraw the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\n$(\"#chart\").css( { width: 300 });\nchart.redraw();\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Reloads the data and renders the chart."]],"doc":[["para","Reloads the data and renders the chart."],["header",{"level":4},"Example - refresh the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.options.series[0].type = \"bar\";\nchart.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.options.series[0].type = \"bar\";\nchart.refresh();\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the data source of the widget."]],"doc":[["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 },\n    { value: 2 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar dataSource = new kendo.data.DataSource( {\n  data: [\n    { value: 3 },\n    { value: 4 }\n  ]\n});\nchart.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 },\n    { value: 2 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar dataSource = new kendo.data.DataSource( {\n  data: [\n    { value: 3 },\n    { value: 4 }\n  ]\n});\nchart.setDataSource(dataSource);\n</script>"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The chart settings to update."]],"doc":[["para","The chart settings to update."]]}],"short_doc":[["para","Sets the widget options. Changes are cumulative."]],"doc":[["para","Sets the widget options. Changes are cumulative."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The chart settings to update."],["header",{"level":4},"Example - change the chart theme"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  theme: \"black\",\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.setOptions({ theme: \"uniform\" });\n</script>"]],"examples":[[["header",{"level":4},"Example - change the chart theme"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  theme: \"black\",\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.setOptions({ theme: \"uniform\" });\n</script>"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the chart."],["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]}],"events":[{"name":"axisLabelClick","args":[{"name":"e.axis","type":["Object"],"short_doc":[["para","The axis that the label belongs to."]],"doc":[["para","The axis that the label belongs to."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item used to generate the label. Available only for data bound category axis."]],"doc":[["para","The original data item used to generate the label. Available only for data bound category axis."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the label."]],"doc":[["para","The DOM element of the label."]]},{"name":"e.index","type":["Object"],"short_doc":[["para","The label sequential index or category index."]],"doc":[["para","The label sequential index or category index."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.text","type":["String"],"short_doc":[["para","The label text."]],"doc":[["para","The label text."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The label value or category name."]],"doc":[["para","The label value or category name."]]}],"short_doc":[["para","Fired when the user clicks an axis label."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks an axis label."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label. Available only for data bound category axis."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The label text."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ],\n  axisLabelClick: function(e) {\n    console.log(e.axis.type, e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_axisLabelClick(e) {\n  console.log(e.axis.type, e.value);\n}\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"axisLabelClick\", chart_axisLabelClick);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ],\n  axisLabelClick: function(e) {\n    console.log(e.axis.type, e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_axisLabelClick(e) {\n  console.log(e.axis.type, e.value);\n}\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"axisLabelClick\", chart_axisLabelClick);\n</script>"]]],"type":["Function"]},{"name":"legendItemClick","args":[{"name":"e.text","type":["String"],"short_doc":[["para","The name of the series."]],"doc":[["para","The name of the series."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series options."]],"doc":[["para","The series options."]]},{"name":"e.seriesIndex","type":["Number"],"short_doc":[["para","The series index."]],"doc":[["para","The series index."]]},{"name":"e.pointIndex","type":["Number"],"short_doc":[["para","The point index."]],"doc":[["para","The point index."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]}],"short_doc":[["para","Fires when an legend item is clicked."]],"doc":[["para","Fires when an legend item is clicked."],["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"]]],"type":["Function"]},{"name":"legendItemHover","args":[{"name":"e.text","type":["String"],"short_doc":[["para","The name of the series."]],"doc":[["para","The name of the series."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series options."]],"doc":[["para","The series options."]]},{"name":"e.seriesIndex","type":["Number"],"short_doc":[["para","The series index."]],"doc":[["para","The series index."]]},{"name":"e.pointIndex","type":["Number"],"short_doc":[["para","The point index."]],"doc":[["para","The point index."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]}],"short_doc":[["para","Fires when an legend item is hovered."]],"doc":[["para","Fires when an legend item is hovered."],["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#chart\").kendoChart({\n  autoBind: false,\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dataBound\", chart_dataBound);\nchart.dataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#chart\").kendoChart({\n  autoBind: false,\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dataBound\", chart_dataBound);\nchart.dataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"drag","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired as long as the user is dragging the chart using the mouse or swipe gestures."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired as long as the user is dragging the chart using the mouse or swipe gestures."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  drag: function(e) {\n    console.log(\"drag\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_drag(e) {\n  console.log(\"drag\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"drag\", chart_drag);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  drag: function(e) {\n    console.log(\"drag\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_drag(e) {\n  console.log(\"drag\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"drag\", chart_drag);\n</script>"]]],"type":["Function"]},{"name":"dragEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the dragEnd action."]],"doc":[["para","The original user event that triggered the dragEnd action."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user stops dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user stops dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the dragEnd action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dragEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragEnd: function(e) {\n    console.log(\"dragEnd\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragEnd(e) {\n  console.log(\"dragEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragEnd\", chart_dragEnd);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragEnd: function(e) {\n    console.log(\"dragEnd\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragEnd(e) {\n  console.log(\"dragEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragEnd\", chart_dragEnd);\n</script>"]]],"type":["Function"]},{"name":"dragStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked the drag operation will abort."]],"doc":[["para","If invoked the drag operation will abort."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user starts dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user starts dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the drag operation will abort."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dragStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragStart: function(e) {\n    console.log(\"dragStart\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragStart(e) {\n  console.log(\"dragStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragStart\", chart_dragStart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragStart: function(e) {\n    console.log(\"dragStart\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragStart(e) {\n  console.log(\"dragStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragStart\", chart_dragStart);\n</script>"]]],"type":["Function"]},{"name":"noteClick","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series of the note."]],"doc":[["para","The series of the note."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The data item of the point's note."]],"doc":[["para","The data item of the point's note."]]}],"short_doc":[["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":4},"Example - subscribe to the \"noteClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteClick: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"noteClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteClick(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteClick\", chart_noteClick);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"noteClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteClick: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"noteClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteClick(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteClick\", chart_noteClick);\n</script>"]]],"type":["Function"]},{"name":"noteHover","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series of the note."]],"doc":[["para","The series of the note."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The data item of the point's note."]],"doc":[["para","The data item of the point's note."]]}],"short_doc":[["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":4},"Example - subscribe to the \"noteHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteHover: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"noteHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteHover(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteHover\", chart_noteHover);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"noteHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteHover: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"noteHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteHover(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteHover\", chart_noteHover);\n</script>"]]],"type":["Function"]},{"name":"plotAreaClick","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point value. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.x","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]},{"name":"e.y","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]}],"short_doc":[["para","Fired when the user clicks the plot area."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the plot area."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  plotAreaClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_plotAreaClick(e) {\n  console.log(e.value);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"plotAreaClick\", chart_plotAreaClick);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  plotAreaClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_plotAreaClick(e) {\n  console.log(e.value);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"plotAreaClick\", chart_plotAreaClick);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fired when the user modifies the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user modifies the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  select: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_select(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"select\", chart_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  select: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_select(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"select\", chart_select);\n</script>"]]],"type":["Function"]},{"name":"selectEnd","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fired when the user completes modifying the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user completes modifying the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"selectEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectEnd: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"selectEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectEnd(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectEnd\", chart_selectEnd);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"selectEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectEnd: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"selectEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectEnd(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectEnd\", chart_selectEnd);\n</script>"]]],"type":["Function"]},{"name":"selectStart","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fired when the user starts modifying the axis selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user starts modifying the axis selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"selectStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectStart: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"selectStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectStart(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectStart\", chart_selectStart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"selectStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectStart: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"selectStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectStart(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectStart\", chart_selectStart);\n</script>"]]],"type":["Function"]},{"name":"seriesClick","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]}],"short_doc":[["para","Fired when the user clicks the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":4},"Example - subscribe to the \"seriesClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"seriesClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesClick(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesClick\", chart_seriesClick);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"seriesClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"seriesClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesClick(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesClick\", chart_seriesClick);\n</script>"]]],"type":["Function"]},{"name":"seriesHover","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]}],"short_doc":[["para","Fired when the user hovers the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user hovers the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":4},"Example - subscribe to the \"seriesHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesHover: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"seriesHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesHover(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesHover\", chart_seriesHover);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"seriesHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesHover: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"seriesHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesHover(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesHover\", chart_seriesHover);\n</script>"]]],"type":["Function"]},{"name":"zoom","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.delta","type":["Number"],"short_doc":[["para","A number that indicates the zoom amount and direction. A negative value indicates \"zoom in\", while a positive \"zoom out\".\n##### e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"doc":[["para","A number that indicates the zoom amount and direction. A negative value indicates \"zoom in\", while a positive \"zoom out\".\n##### e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired as long as the user is zooming the chart using the mousewheel."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired as long as the user is zooming the chart using the mousewheel."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction. A negative value indicates \"zoom in\", while a positive \"zoom out\".\n##### e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoom\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoom: function(e) {\n    console.log(\"zoom\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoom\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoom(e) {\n  console.log(\"zoom\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoom\", chart_zoom);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"zoom\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoom: function(e) {\n    console.log(\"zoom\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"zoom\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoom(e) {\n  console.log(\"zoom\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoom\", chart_zoom);\n</script>"]]],"type":["Function"]},{"name":"zoomEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the zoomEnd action."]],"doc":[["para","The original user event that triggered the zoomEnd action."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user stops zooming the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user stops zooming the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoomEnd action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomEnd: function(e) {\n    console.log(\"zoomEnd\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomEnd(e) {\n  console.log(\"zoomEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomEnd\", chart_zoomEnd);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomEnd: function(e) {\n    console.log(\"zoomEnd\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomEnd(e) {\n  console.log(\"zoomEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomEnd\", chart_zoomEnd);\n</script>"]]],"type":["Function"]},{"name":"zoomStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked the zoom operation will abort."]],"doc":[["para","If invoked the zoom operation will abort."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user uses the mousewheel to zoom the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user uses the mousewheel to zoom the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the zoom operation will abort."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoomStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomStart: function(e) {\n    console.log(\"zoomStart\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoomStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomStart(e) {\n  console.log(\"zoomStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomStart\", chart_zoomStart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"zoomStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomStart: function(e) {\n    console.log(\"zoomStart\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"zoomStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomStart(e) {\n  console.log(\"zoomStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomStart\", chart_zoomStart);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.dataSource.add({ value: 2 });\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(0);\ndata.set(\"name\", \"John Doe\");\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 },\n    { value: 2 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar data = chart.dataSource.at(0);\nchart.dataSource.remove(data);\n</script>"]]},{"name":"options","type":["Object"],"short_doc":[["para","The ",["link",{"href":"#configuration"},"configuration"]," options with which the chart is initialized."],["blockquote",["para","Call the ",["link",{"href":"#methods-refresh"},"refresh"]," method after modifying the ",["inlinecode","options"]," field."]]],"doc":[["para","The ",["link",{"href":"#configuration"},"configuration"]," options with which the chart is initialized."],["blockquote",["para","Call the ",["link",{"href":"#methods-refresh"},"refresh"]," method after modifying the ",["inlinecode","options"]," field."]],["header",{"level":4},"Example - change the chart options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.options.series[0].type = \"bar\";\nchart.refresh();\n</script>"]]}],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"chart\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/stockdata\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#chart\").kendoChart({\n  autoBind: false,\n  dataSource: dataSource,\n  series: [\n    { field: \"Volume\" }\n  ]\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"],["header",{"level":3},"axisDefaults ",["inlinecode","Object"]],["para","The default options for all chart axes. Accepts the options supported by ",["link",{"href":"#configuration-categoryAxis"},"categoryAxis"],", ",["link",{"href":"#configuration-valueAxis"},"valueAxis"],", ",["link",{"href":"#configuration-xAxis"},"xAxis"]," and ",["link",{"href":"#configuration-yAxis"},"yAxis"],"."],["header",{"level":4},"Example - set the default axis options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  axisDefaults: {\n    categories: [ \"2012\", \"2013\"]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis ",["inlinecode","Array|Object"]],["para","The category axis configuration options."],["header",{"level":4},"Example - configure the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    categories: [\"2012\", \"2013\"],\n    color: \"#ff0000\"\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.autoBaseUnitSteps ",["inlinecode","Object"]],["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":4},"Example - set category axis auto base unit steps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    }\n});\n</script>"],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.seconds ",["inlinecode","Array"]," ",["em","(default: [1, 2, 5, 15, 30])"]],["para","The seconds unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.minutes ",["inlinecode","Array"]," ",["em","(default: [1, 2, 5, 15, 30])"]],["para","The minutes unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.hours ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The hours unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.days ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The days unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.weeks ",["inlinecode","Array"]," ",["em","(default: [1, 2])"]],["para","The weeks unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.months ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 6])"]],["para","The months unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.years ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 5, 10, 25, 50])"]],["para","The years unit steps."],["header",{"level":4},"Example"],["header",{"level":3},"categoryAxis.axisCrossingValue ",["inlinecode","Object|Date|Array"]],["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    axisCrossingValue: [0, 10]\n  },\n  valueAxis: [{}, {}],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    background: \"#ff0000\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."],["header",{"level":3},"categoryAxis.baseUnitStep ",["inlinecode","Object"]," ",["em","(default: 1)"]],["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."],["header",{"level":3},"categoryAxis.categories ",["inlinecode","Array"]],["para","The category names. The chart will create a category for every item of the array."],["header",{"level":4},"Example - set the categories"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.color ",["inlinecode","String"]],["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."],["header",{"level":4},"Example - set the category axis color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    color: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the category axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.dashType ",["inlinecode","string"]," ",["em","(default: \"solid\")"]],["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the category axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the category axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    {\n      type: \"line\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border options."],["header",{"level":4},"Example - set the category axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the category axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the category axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the category axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."],["header",{"level":4},"Example - show the category axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.crosshair.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the category axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.field ",["inlinecode","String"]],["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."],["header",{"level":4},"Example - set the category axis field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    field: \"year\"\n  },\n  series: [\n    { field: \"value\" }\n  ],\n  dataSource: [\n    { year: \"2012\", value: 1 },\n    { year: \"2013\", value: 2 }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.justified ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."]],["header",{"level":4},"Example - justify categories and series"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    justified: true,\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels ",["inlinecode","Object"]],["para","The axis labels configuration."],["header",{"level":4},"Example - configure the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      border: {\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.culture ",["inlinecode","String"]],["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."],["header",{"level":3},"categoryAxis.labels.dateFormats ",["inlinecode","Object"]],["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set category axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\")\n    ],\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days:\"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.dateFormats.days ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\")\n    ],\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.dateFormats.hours ",["inlinecode","String"]," ",["em","(default: \"HH:mm\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.dateFormats.months ",["inlinecode","String"]," ",["em","(default: \"MMM 'yy\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.dateFormats.weeks ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.dateFormats.years ",["inlinecode","String"]," ",["em","(default: \"yyyy\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n        new Date(\"2012/01/01\"),\n        new Date(\"2012/01/02\"),\n        new Date(\"2012/01/03\")\n    ],\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  },\n  series: [{\n    data: [1,2,3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the category axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n       font: \"20px sans-serif\",\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      format: \"Year: {0}\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the category axis label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: 20\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the category axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the category axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        left: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the category axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        right: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the category axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      margin: {\n        top: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.mirror ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["header",{"level":4},"Example - mirror the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      mirror: true\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.padding ",["inlinecode","Object|Number"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: 20\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the category axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        bottom: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the category axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        left: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the category axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        right: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the category axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      padding: {\n        top: 20\n      }\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - rotate the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      rotation: 90\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The number of labels to skip. By default no labels are skipped."],["header",{"level":4},"Example - skip category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      skip: 1\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd category axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      template: \"Year: #: value #\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      template: kendo.template(\"Year: #: value #\")\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."],["header",{"level":4},"Example - hide the category axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    labels: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.line ",["inlinecode","Object"]],["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the category axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.line.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the category axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    line: {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.line.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."],["header",{"level":4},"Example - hide the category axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - set the category axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    line: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines ",["inlinecode","Object"]],["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      width: 3,\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis major grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    majorGridLines: {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis major grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."],["header",{"level":4},"Example - hide the category axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis major grid lines in pixels."],["header",{"level":4},"Example - set the category axis major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major grid lines."],["header",{"level":4},"Example - set the category axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major grid lines."],["header",{"level":4},"Example - set the category axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks ",["inlinecode","Object"]],["para","The configuration of the category axis major ticks."],["header",{"level":4},"Example - configure the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    majorTicks: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the category axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      size: 6\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the category axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      width: 3\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major ticks."],["header",{"level":4},"Example - set the category axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major ticks."],["header",{"level":4},"Example - set the category axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.max ",["inlinecode","Object"]],["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.maxDateGroups ",["inlinecode","Number"]," ",["em","(default: 10)"]],["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":3},"categoryAxis.min ",["inlinecode","Object"]],["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.minorGridLines ",["inlinecode","Object"]],["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      width: 3,\n      color: \"green\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    minorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      dashType: \"dashDot\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      width: 3\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor grid lines."],["header",{"level":4},"Example - set the category axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor grid lines."],["header",{"level":4},"Example - set the category axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks ",["inlinecode","Object"]],["para","The configuration of the category axis minor ticks."],["header",{"level":4},"Example - configure the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"#aa00bb\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    minorTicks {\n      color: \"green\"\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the category axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      size: 6\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."],["header",{"level":4},"Example - hide the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      visible: false\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the category axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      width: 3\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor ticks."],["header",{"level":4},"Example - set the category axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor ticks."],["header",{"level":4},"Example - set the category axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"categoryAxis.name ",["inlinecode","String"]," ",["em","(default: \"primary\")"]],["para","The unique axis name. Used to associate a series with a category axis using the ",["link",{"href":"#configuration-series.categoryAxis"},"series.categoryAxis"]," option."],["header",{"level":4},"Example - set the category axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [\n    { name: \"month\", categories: [ \"Jan\", \"Feb\" ] },\n    { name: \"year\", categories: [ 2012 ] }\n  ],\n  series: [\n    { categoryAxis: \"month\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the category axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the category axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\",\n      categoryAxis: \"secondCategoryAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ],\n  categoryAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondCategoryAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the category axis."],["header",{"level":4},"Example - set the category plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":4},"Example - set the category plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the category plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":4},"Example - set the category plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the category plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    categories: [\"2012\", \"2013\"],\n    reverse: true\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.roundToBaseUnit ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"boxPlot\", \"ohlc\" or \"candlestick\"."],["header",{"level":3},"categoryAxis.select ",["inlinecode","Object"]],["para","The selected axis range. If set, axis selection will be enabled."],["para","The range units are:"],["bulletlist",["listitem","Category index (0-based)"],["listitem","Date"]],["header",{"level":4},"Example - configure category axis selection"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      max: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":4},"Example - set the category axis selection lower boundary"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.max ",["inlinecode","Object"]],["para","The maximum value which the user can select."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]],["header",{"level":4},"Example - set the category axis selection maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      max: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.min ",["inlinecode","Object"]],["para","The minimum value which the user can select."],["header",{"level":4},"Example - set the category axis selection minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      min: 1\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.mousewheel ",["inlinecode","Object"]],["para","The mouse wheel configuration of the selection."],["header",{"level":4},"Example - configure the category axis selection mouse wheel behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        reverse: false,\n        zoom: \"left\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.mousewheel.reverse ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," will reverse the mouse wheel direction. The normal direction is down for \"zoom out\", up for \"zoom in\"."],["header",{"level":4},"Example - disable reverse mouse wheel selection"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        reverse: false\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.mousewheel.zoom ",["inlinecode","String"]," ",["em","(default: \"both\")"]],["para","The zoom direction."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"both\" - zooming expands and contracts the selection both sides"]],["listitem",["para","\"left\" - zooming expands and contracts the selection left side only"]],["listitem",["para","\"right\" - zooming expands and contracts the selection right side only"]]],["header",{"level":4},"Example - set the category axis selection zoom"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2,\n      mousewheel: {\n        zoom: \"left\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.select.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["blockquote",["para","The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories set\na value larger than the last category index (date)."]],["header",{"level":4},"Example - set the category axis selection lower boundary"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis:  {\n    select: {\n      from:1,\n      to: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.startAngle ",["inlinecode","Number"]," ",["em","(default: 90)"]],["para","The angle (degrees) of the first category on the axis."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - set the donut chart series start angle"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"radarLine\",\n    data: [ 1, 2, 3 ]\n  }],\n  categoryAxis: {\n    startAngle: 180\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.title ",["inlinecode","Object"]],["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example - set the category axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the category axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [ \"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":4},"Example - set the category axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the category axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the category axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the category axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the category axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the category axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the category axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":4},"Example - set the category axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":4},"Example - set the category axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":4},"Example - set the category axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":4},"Example - set the category axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the category axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\"2012\", \"2013\"],\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":4},"Example - set the category axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\"\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."],["header",{"level":4},"Example - hide the category axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.type ",["inlinecode","String"]," ",["em","(default: \"category\")"]],["para","The category axis type."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"category\" - discrete category axis."]],["listitem",["para","\"date\" - specialized axis for displaying chronological data."]]],["header",{"level":4},"Example - set the category axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2011/12/20\"),\n      new Date(\"2011/12/21\")\n    ],\n    type: \"date\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."],["header",{"level":4},"Example - hide the category axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2011/12/20\"),\n      new Date(\"2011/12/21\")\n    ],\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"categoryAxis.weekStartDay ",["inlinecode","Number"]," ",["em","(default: kendo.days.Sunday)"]],["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]],["header",{"level":3},"categoryAxis.notes ",["inlinecode","Object"]],["para","The category axis notes configuration."],["header",{"level":3},"categoryAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"categoryAxis.notes.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"categoryAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"categoryAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"categoryAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"categoryAxis.notes.data.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"categoryAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"categoryAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"categoryAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"chartArea ",["inlinecode","Object"]],["para","The chart area configuration options. Represents the entire visible area of the chart."],["header",{"level":3},"chartArea.background ",["inlinecode","String"]," ",["em","(default: \"white\")"]],["para","The background color of the chart area. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart area background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart area background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart area background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.border ",["inlinecode","Object"]],["para","The border of the chart area."],["header",{"level":4},"Example - set the chart area border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart area border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart area border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart area border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.height ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","The height of the chart area."],["header",{"level":4},"Example - set the chart area height"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    height: 200\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the chart area. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart area margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The bottom margin of the chart area."],["header",{"level":4},"Example - set the chart area bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.margin.left ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The left margin of the chart area."],["header",{"level":4},"Example - set the chart area left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.margin.right ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The right margin of the chart area."],["header",{"level":4},"Example - set the chart area right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.margin.top ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The top margin of the chart area."],["header",{"level":4},"Example - set the chart area top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The background opacity of the chart area. By default the background is opaque."],["header",{"level":4},"Example - set the chart area opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    background: \"green\",\n    opacity: 0.1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"chartArea.width ",["inlinecode","Number"]," ",["em","(default: 600)"]],["para","The width of the chart area."],["header",{"level":4},"Example - set the chart area width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  chartArea: {\n    width: 500\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","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 ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 10 },\n      { price: 20 }\n    ]\n  },\n  series: [\n    { field: \"price\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { price: 10 },\n    { price: 20 }\n  ],\n  series: [\n    { field: \"price\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id=\"chart\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/stockdata\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#chart\").kendoChart({\n  dataSource: dataSource,\n  series: [\n    { field: \"Volume\" }\n  ]\n});\n</script>"],["header",{"level":3},"legend ",["inlinecode","Object"]],["para","The chart legend configuration options."],["header",{"level":4},"Example - configure the chart legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    background: \"green\",\n    position: \"left\",\n    labels: {\n      font: \"20px sans-serif\",\n      color: \"red\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.background ",["inlinecode","String"]," ",["em","(default: \"white\")"]],["para","The background color of the legend. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend background as a RGB value"],["code_block","$(\"#chart\").kendoChart({\n  legend: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend background by name"],["code_block","$(\"#chart\").kendoChart({\n  legend: {\n    background: \"green\"\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.border ",["inlinecode","Object"]],["para","The border of the legend."],["header",{"level":4},"Example - set the chart legend border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart legend border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.inactiveItems ",["inlinecode","Object"]],["para","The chart inactive legend items configuration."],["header",{"level":4},"Example - configure the chart legend inactive items"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        background: \"green\",\n        color: \"white\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.inactiveItems.labels ",["inlinecode","Object"]],["para","The chart legend label configuration."],["header",{"level":4},"Example - configure the chart legend labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        background: \"green\",\n        color: \"white\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.inactiveItems.labels.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"rgb(128, 0, 255)\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.inactiveItems.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the chart legend label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    inactiveItems: {\n      labels: {\n        font: \"20px sans-serif\"\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.inactiveItems.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]],["header",{"level":4},"Example - set the chart legend label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: \"Name: #: text #\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: kendo.template(\"Name: #: text #\")\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels ",["inlinecode","Object"]],["para","The chart legend label configuration."],["header",{"level":4},"Example - configure the chart legend labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart legend label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the chart legend label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n       font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 10)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart legend label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart legend label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart legend label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        left: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart legend label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        right: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart legend label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      margin: {\n        top: 20\n      }\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","text - the text the legend item."],["listitem","series - the data series."],["listitem","value - the point value. (only for donut and pie charts)"],["listitem","percentage - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem","dataItem - the original data item used to construct the point. (only for donut and pie charts)"]],["header",{"level":4},"Example - set the chart legend label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: \"Name: #: text #\"\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart legend label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    labels: {\n      template: kendo.template(\"Name: #: text #\")\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the chart legend. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart legend margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: 20\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the chart legend."],["header",{"level":4},"Example - set the chart legend bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      bottom: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the chart legend."],["header",{"level":4},"Example - set the chart legend left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      left: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the chart legend."],["header",{"level":4},"Example - set the chart legend right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      right: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the chart legend."],["header",{"level":4},"Example - set the chart legend top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    margin: {\n      top: 20\n    }\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.offsetX ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The X offset of the chart legend. The offset is relative to the default position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of its initial position.\nA negative value will move the legend to the left of its current position."],["header",{"level":4},"Example - set the chart legend horizontal offset"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    offsetX: 10\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.offsetY ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The Y offset of the chart legend.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from its initial position.\nA negative value will move the legend upwards from its current position."],["header",{"level":4},"Example - set the chart legend vertical offset"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    offsetY: 10\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"legend.position ",["inlinecode","String"]," ",["em","(default: \"right\")"]],["para","The positions of the chart legend."],["para","The supported values are:"],["bulletlist",["listitem",["para","\"top\" - the legend is positioned on the top."]],["listitem",["para","\"bottom\" - the legend is positioned on the bottom."]],["listitem",["para","\"left\" - the legend is positioned on the left."]],["listitem",["para","\"right\" - the legend is positioned on the right."]],["listitem",["para","\"custom\" - the legend is positioned using ",["link",{"href":"#configuration-legend.offsetX"},"legend.offsetX"]," and ",["link",{"href":"#configuration-legend.offsetY"},"legend.offsetY"],"."]]],["header",{"level":3},"legend.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the legend. By default the chart legend is visible."],["header",{"level":4},"Example - hide the legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  legend: {\n    visible: false\n  },\n  series: [\n    { name: \"Series 1\", data: [1, 2, 3] },\n    { name: \"Series 2\", data: [3, 4, 5] }\n  ]\n});\n</script>"],["header",{"level":3},"panes ",["inlinecode","Array"]],["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."],["header",{"level":4},"Example - configure the chart panes"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\" },\n    { name: \"bottom-pane\" }\n  ]\n});\n</script>"],["header",{"level":3},"panes.background ",["inlinecode","String"]],["para","The background color of the chart pane. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart panes background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"#00ff00\" },\n    { name: \"bottom-pane\", background: \"#ff00ff\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart panes background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"rgb(0, 255, 0)\" },\n    { name: \"bottom-pane\", background: \"rgb(255, 0, 255)\" }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart panes background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", background: \"red\" },\n    { name: \"bottom-pane\", background: \"green\" }\n  ]\n});\n</script>"],["header",{"level":3},"panes.border ",["inlinecode","Object"]],["para","The border of the chart pane."],["header",{"level":4},"Example - set the chart pane border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        color: \"red\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        color: \"green\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        color: \"red\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        color: \"green\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart pane border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        dashType: \"dashDot\",\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        dashType: \"dashDot\",\n        width: 2\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart pane border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      border: {\n        width: 2\n      }\n    },\n    { name: \"bottom-pane\",\n      border: {\n        width: 2\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.height ",["inlinecode","Number"]],["para","The chart pane height in pixels."],["header",{"level":4},"Example - set the chart pane height"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", height: 200 },\n    { name: \"bottom-pane\", height: 300  }\n  ]\n});\n</script>"],["header",{"level":3},"panes.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the pane. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart pane margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", margin: 10 },\n    { name: \"bottom-pane\", margin: 10 }\n  ]\n});\n</script>"],["header",{"level":3},"panes.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the chart panes."],["header",{"level":4},"Example - set the chart pane bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        bottom: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        bottom: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the chart panes."],["header",{"level":4},"Example - set the chart pane left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        left: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        left: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the chart panes."],["header",{"level":4},"Example - set the chart pane right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        right: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        right: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the chart panes."],["header",{"level":4},"Example - set the chart pane top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      margin: {\n        top: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      margin: {\n        top: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.name ",["inlinecode","String"]],["para","The unique name of the chart pane."],["header",{"level":4},"Example - set the chart pane name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\" },\n    { name: \"bottom-pane\" }\n  ]\n});\n</script>"],["header",{"level":3},"panes.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the pane. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart pane padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\", padding: 10 },\n    { name: \"bottom-pane\", padding: 10 }\n  ]\n});\n</script>"],["header",{"level":3},"panes.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the chart panes."],["header",{"level":4},"Example - set the chart pane bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        bottom: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        bottom: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the chart panes."],["header",{"level":4},"Example - set the chart pane left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        left: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        left: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the chart panes."],["header",{"level":4},"Example - set the chart pane right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        right: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        right: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the chart panes."],["header",{"level":4},"Example - set the chart pane top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    {\n      name: \"top-pane\",\n      padding: {\n        top: 10\n      }\n    },\n    {\n      name: \"bottom-pane\",\n      padding: {\n        top: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title ",["inlinecode","String|Object"]],["para","The title configuration of the chart pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the chart pane title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        background: \"red\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        background: \"green\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example - set the chart pane title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          color: \"red\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          color: \"green\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          color: \"red\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          color: \"green\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart pane title border dashType"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        border: {\n          width: 2\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        border: {\n          width: 2\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart pane title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"#aa00bb\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"#a0b0c0\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart pane title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"rgb(128, 0, 255)\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"rgb(128, 0, 255)\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart pane title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        color: \"red\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"green\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":4},"Example - set the chart pane title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        font: \"20px sans-serif\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        color: \"green\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart pane title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: 10\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: 10\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the chart pane title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          bottom: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          bottom: 10\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the chart pane title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          left: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          left: 10\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the chart pane title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          right: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          right: 10\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the chart pane title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        margin: {\n          top: 10\n        }\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        margin: {\n          top: 10\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the chart pane title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        position: \"left\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        position: \"left\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":4},"Example - set the chart pane title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\"\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\"\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"panes.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."],["header",{"level":4},"Example - hide the chart pane title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] },\n    { data: [1, 2, 3, 4], axis: \"bottom\" }\n  ],\n  valueAxis: [\n    { pane: \"top-pane\" },\n    { pane: \"bottom-pane\", name: \"bottom\" }\n  ],\n  panes: [\n    { name: \"top-pane\",\n      title: {\n        text: \"Top\",\n        visible: false\n      }\n    },\n    { name: \"bottom-pane\",\n      title: {\n        text: \"Bottom\",\n        visible: false\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea ",["inlinecode","Object"]],["para","The plot area configuration options. The plot area is the area which displays the series."],["header",{"level":4},"Example - configure the chart plot area"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\",\n\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.background ",["inlinecode","String"]," ",["em","(default: \"white\")"]],["para","The background color of the chart plot area. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart plot area background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"#aa00bb\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart plot area background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"rgb(128, 0, 255)\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart plot area background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.border ",["inlinecode","Object"]],["para","The border of the chart plot area."],["header",{"level":4},"Example - set the chart plot area border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart plot area border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart plot area border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2,\n      dashType: \"dashDot\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart plot area border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the chart plot area. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart plot area margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The bottom margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.margin.left ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The left margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.margin.right ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The right margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.margin.top ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The top margin of the chart plot area."],["header",{"level":4},"Example - set the chart plot area top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The background opacity of the chart plot area. By default the background is opaque."],["header",{"level":4},"Example - set the chart plot area opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    background: \"green\",\n    opacity: 0.1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.padding ",["inlinecode","Number|Object"]],["para","The padding of the chart plot area. A numeric value will set all paddings."],["para","The default padding for pie, donut, radar and polar charts is proportional of the chart size."],["header",{"level":4},"Example - set the chart plot area padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The bottom padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.padding.left ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The left padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.padding.right ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The right padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"plotArea.padding.top ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The top padding of the chart plot area."],["header",{"level":4},"Example - set the chart plot area top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  plotArea: {\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"renderAs ",["inlinecode","String"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"Example - Render as Canvas, if supported"],["code_block","<div id=\"chart\"></div>\n<script>\n    $(\"#chart\").kendoChart({\n        renderAs: \"canvas\",\n        series: [{\n            type: \"pie\",\n            data: [1, 2]\n        }],\n        categoryAxis: {\n            categories: [\"Foo\", \"Bar\"]\n        }\n    });\n<script>"],["header",{"level":3},"series ",["inlinecode","Array"]],["para","The configuration of the chart series."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["blockquote",["para","Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]],["header",{"level":4},"Example - configure the chart series"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2, 3] },\n    { type: \"bar\", data: [4, 5, 6] }\n  ]\n});\n</script>"],["header",{"level":3},"series.aggregate ",["inlinecode","String"]," ",["em","(default: \"max\")"]],["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\", \"boxPlot\"  and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example - set the chart series aggregate"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [\n      new Date(\"2012/01/01\"),\n      new Date(\"2012/01/02\"),\n      new Date(\"2012/01/02\")\n    ],\n    type: \"date\"\n  },\n  series: [{\n      data: [1, 2, 3],\n      aggregate: \"avg\"\n  }]\n});\n</script>"],["header",{"level":3},"series.axis ",["inlinecode","String"]," ",["em","(default: \"primary\")"]],["para","The name of the value axis to use."],["blockquote",["para","The ",["inlinecode","axis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"bar\", \"column\", \"line\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [\n    { name: \"first\" },\n    { name: \"second\" }\n  ],\n  series: [\n    { data: [800, 100, 300],  axis: \"first\" },\n    { data: [1, 5],  axis: \"second\" }\n  ]\n});\n</script>"],["header",{"level":3},"series.border ",["inlinecode","Object"]],["para","The border of the chart series."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"donut\", \"pie\", \"bubble\", \"boxPlot\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        dashType: \"dash\",\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.border.color ",["inlinecode","String|Function"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb. By default it is set to color of the current series."],["header",{"level":4},"Example - set the chart series border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\"\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.border.dashType ",["inlinecode","String|Function"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        dashType: \"dash\",\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.border.opacity ",["inlinecode","Number|Function"]," ",["em","(default: 1)"]],["para","The opacity of the border. By default the border is opaque."],["header",{"level":4},"Example - set the chart series border opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      border: {\n        width: 2,\n        color: \"black\",\n        opacity: 0.5\n      },\n      data: [1, 2]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 1)"]],["para","The width of the border in pixels."],["header",{"level":4},"Example - set the chart series border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    border: {\n      width: 2\n    },\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.categoryField ",["inlinecode","String"]," ",["em","(default: \"category\")"]],["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."]],["header",{"level":4},"Example - set pie series category name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    categoryField: \"type\",\n    data: [\n      { value: 1, type: \"Category 1\" },\n      { value: 2, type: \"Category 2\" },\n    ]\n  }]\n});\n</script>"],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    categoryField: \"date\",\n    data: [\n      { value: 1, date: new Date(2012, 1, 1) },\n      { value: 2, date: new Date(2012, 1, 2) },\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.closeField ",["inlinecode","String"]," ",["em","(default: \"close\")"]],["para","The data field containing the close value."],["blockquote",["para","The ",["inlinecode","closeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"candlestick\",\n    closeField: \"closePrice\",\n    data: [\n      { open: 1, high: 2, low: 0.5, closePrice: 1.5 },\n      { open: 2, high: 3, low: 1, closePrice: 1.5 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.color ",["inlinecode","String|Function"]],["para","The series base color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"#a0b0c0\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"rgb(128, 0, 255)\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: \"red\"\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the chart series color as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2],\n    color: function(point) {\n      if (point.value > 1) {\n        return \"red\";\n      }\n\n      // use the default series theme color\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.colorField ",["inlinecode","String"]," ",["em","(default: \"color\")"]],["para","The data item field which contains the series color."],["blockquote",["para","The ",["inlinecode","colorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"bubble\", \"donut\", \"pie\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series color field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    colorField: \"valueColor\",\n    data: [\n     { value: 1, valueColor: \"red\" },\n     { value: 2, valueColor: \"green\" }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.connectors ",["inlinecode","Object"]],["para","The label connectors options."],["blockquote",["para","The ",["inlinecode","connectors"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\" and\n",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the label connectors"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      width: 4,\n      color: \"red\"\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.connectors.color ",["inlinecode","String"]],["para","The color of the connector. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - configure the label connector color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      color: \"red\"\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.connectors.padding ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The padding between the connector line and the label, and connector line and donut chart."],["header",{"level":4},"Example - configure the label connector padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      padding: 10\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.connectors.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the connector line."],["header",{"level":4},"Example - configure the label connector width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"pie\",\n    labels: {\n      visible: true\n    },\n    connectors: {\n      width: 10\n    },\n    data: [1 , 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.currentField ",["inlinecode","String"]," ",["em","(default: \"current\")"]],["para","The data item field containing the current value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - set the bullet chart series current field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"bullet\",\n      currentField: \"price\",\n      data: [\n        { price: 1, target: 2 }\n      ]\n  }]\n});\n</script>"],["header",{"level":3},"series.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      dashType: \"dashDot\",\n      type: \"line\",\n      data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.data ",["inlinecode","Array"]],["para","The array of data items which represent the series data."],["para","Can be set to :"],["bulletlist",["listitem","Array of objects. Each point is bound to the field specified via the ",["link",{"href":"#configuration-series.field"},"series.field"]," option."],["listitem","Array of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"bar\", \"column\", \"donut\", \"pie\" or \"line\"."],["listitem","Array of arrays of numbers. Supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bubble\", \"scatter\", \"scatterLine\", \"ohlc\" or polar series.",["bulletlist",["listitem","Bubble series need arrays of three values - X value, Y value and Size value e.g. ",["inlinecode","[1, 1, 10]"]],["listitem","Scatter and scatter line series need arrays of two values - X value and Y value"],["listitem","OHLC and candlestick series need arrays of four values - open, high, low and close"]]]],["header",{"level":4},"Example - set the chart series data as array of objects"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      field: \"price\",\n      data: [\n        { price: 1 },\n        { price: 2 },\n        { price: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series data as array of numbers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series data as array of arrays"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bubble\",\n      data: [\n        [1, 2, 15],\n        [2, 3, 4]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.downColor ",["inlinecode","String|Function"]],["para","The series color when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColor"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]],["header",{"level":4},"Example - set the chart series down color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"candlestick\",\n    downColor: \"green\",\n    color: \"red\",\n    data: [\n      { open: 4, high: 5, low: 2, close: 3 },\n      { open: 3, high: 5, low: 2, close: 4 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.downColorField ",["inlinecode","String"]," ",["em","(default: \"downColor\")"]],["para","The data field containing the color applied when the open value is greater than the close value."],["blockquote",["para","The ",["inlinecode","downColorField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\"."]],["header",{"level":4},"Example - set the chart series down color field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"candlestick\",\n    color: \"red\",\n    downColorField:\"down\",\n    data: [\n      { open: 4, high: 5, low: 2, close: 3, down: \"green\" },\n      { open: 3, high: 5, low: 2, close: 4 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.segmentSpacing ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The space in pixels between the different segments of the funnel chart."],["blockquote",["para","The ",["inlinecode","segmentSpacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["header",{"level":4},"Example - set the chart series segmentSpacing field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      segmentSpacing: 20,\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.neckRatio ",["inlinecode","Number"]," ",["em","(default: 0.3)"]],["para",["inlinecode","neckRatio"]," specifies the ratio top-base/bottom-base of the whole chart. neckRatio set to three means the top base is three times smaller than the bottom base."],["blockquote",["para","The ",["inlinecode","neckRatio"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\" and dynamicSlope set to ",["inlinecode","false"],"."]],["header",{"level":4},"Example - set the chart series neckRatio field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      neckRatio: 0.1, //bottom base becomes 10 times smaller than the bottom one\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.dynamicSlope ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["blockquote",["para","The ",["inlinecode","dynamicSlope"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to true the ratio of the bases of each segment is calculated based on the ratio of currentDataItem.value/nextDataItem.value\nThe last element is always created like a rectangle since there is no following element."],["header",{"level":4},"Example - set the chart series dynamicSlope field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      dynamicSlope: true,\n      data: [\n        { value: 1 },\n        { value: 2 },\n        { value: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.dynamicHeight ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["blockquote",["para","The ",["inlinecode","dynamicHeight"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"funnel\"."]],["para","When set to ",["inlinecode","false"]," all segments become with the same height, otherwise the height of each segment is based on its value."],["header",{"level":4},"Example - set the chart series dynamicHeight field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"funnel\",\n      dynamicWidth: true,\n      data: [\n        { value: 2 }, //height of this segment is 10% of the whole chart\n        { value: 4 }, //height of this segment is 20% of the whole chart\n        { value: 14 } //height of this segment is 70% of the whole chart\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.errorBars ",["inlinecode","Object"]],["para","The error bars of the chart series."],["blockquote",["para","The ",["inlinecode","errorBars"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the chart series error bars"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stderr\"\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.value ",["inlinecode","String|Number|Array|Function"]],["para","The error bars value."],["blockquote",["para","The ",["inlinecode","value"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["para","The following value types are supported:"],["bulletlist",["listitem","\"stderr\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_error"},"standard error"]," of the series values will be used to calculate the point low and high value"],["listitem","\"stddev(n)\" - the ",["link",{"href":"http://en.wikipedia.org/wiki/Standard_deviation"},"standard deviation"]," of the series values will be used to calculate the point low and high value. A number can be specified between the parentheses, that will be multiplied by the calculated standard deviation."],["listitem","\"percentage(n)\" - a percentage of the point value"],["listitem","A number that will be subtracted/added to the point value"],["listitem","An array that holds the low and high difference from the point value"],["listitem","A function that returns the errorBars point value"]],["header",{"level":4},"Example - set the error bars value to a percentage of the point value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"percentage(20)\"\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example - set the error bars value to a half of the series standard deviation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev(0.5)\"\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.xValue ",["inlinecode","String|Number|Array|Function"]],["para","The xAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","xValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the error bars xAxis value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data:  [[16.4, 5.4], [13.7, 2], [25.4, 3], [19, 2], [10.9, 1], [13.6, 3.2]],\n    errorBars: {\n      xValue: \"stderr\"\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.yValue ",["inlinecode","String|Number|Array|Function"]],["para","The yAxis error bars value. See the ",["link",{"href":"#configuration-series.errorBars.value"},"series.errorBars.value option"]," for a list of the supported value types."],["blockquote",["para","The ",["inlinecode","yValue"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example - set the error bars yAxis value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data:  [[16.4, 5.4], [13.7, 2], [25.4, 3], [19, 2], [10.9, 1], [13.6, 3.2]],\n    errorBars: {\n      yValue: \"stderr\"\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.endCaps ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"],", the error bars caps will not be displayed. By default the caps are visible."],["header",{"level":4},"Example - hide the error bars caps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: [0.5, 1],\n      endCaps: false\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.color ",["inlinecode","String"]],["para","The color of the error bars. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the error bars color to red"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: 2,\n      color: \"red\"\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.line ",["inlinecode","Object"]],["para","The error bars line options."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        width: 3,\n        dashType: \"dash\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line."],["header",{"level":4},"Example - set the error bars line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        width: 5\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorBars.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the error bars line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the error bars line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    data: [4.743, 7.295, 7.175, 6.376],\n    errorBars: {\n      value: \"stddev\",\n      line: {\n        dashType: \"dash\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.errorLowField ",["inlinecode","String"]," ",["em","(default: \"errorLow\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," low value."],["blockquote",["para","The ",["inlinecode","errorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    errorLowField: \"low\",\n    errorHighField: \"high\",\n    data: [{value: 4.743, low: 4.5, high: 5}, {value: 7.295, low: 7, high: 8}, {value: 6.376, low: 5, high: 6.5}]\n  }]\n});\n</script>"],["header",{"level":3},"series.errorHighField ",["inlinecode","String"]," ",["em","(default: \"errorHigh\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," high value."],["blockquote",["para","The ",["inlinecode","errorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\" or \"area\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"column\",\n    errorLowField: \"low\",\n    errorHighField: \"high\",\n    data: [{value: 4.743, low: 4.5, high: 5}, {value: 7.295, low: 7, high: 8}, {value: 6.376, low: 5, high: 6.5}]\n  }]\n});\n</script>"],["header",{"level":3},"series.xErrorLowField ",["inlinecode","String"]," ",["em","(default: \"xErrorLow\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis low value."],["blockquote",["para","The ",["inlinecode","xErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    xErrorLowField: \"low\",\n    xErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 5, high: 7}, {x: 1.7, y: 11, low: 1, high: 3}, {x: 5.4, y: 8, low: 3, high: 6}]\n  }]\n});\n</script>"],["header",{"level":3},"series.xErrorHighField ",["inlinecode","String"]," ",["em","(default: \"xErrorHigh\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," xAxis high value."],["blockquote",["para","The ",["inlinecode","xErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    xErrorLowField: \"low\",\n    xErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 5, high: 7}, {x: 1.7, y: 11, low: 1, high: 3}, {x: 5.4, y: 8, low: 3, high: 6}]\n  }]\n});\n</script>"],["header",{"level":3},"series.yErrorLowField ",["inlinecode","String"]," ",["em","(default: \"yErrorLow\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis low value."],["blockquote",["para","The ",["inlinecode","yErrorLowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    yErrorLowField: \"low\",\n    yErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 12, high: 14}, {x: 1.7, y: 11, low: 11, high: 14}, {x: 5.4, y: 8, low: 5, high: 8}]\n  }]\n});\n</script>"],["header",{"level":3},"series.yErrorHighField ",["inlinecode","String"]," ",["em","(default: \"yErrorHigh\")"]],["para","The data item field which contains the ",["link",{"href":"#configuration-series.errorBars"},"series.errorBars"]," yAxis high value."],["blockquote",["para","The ",["inlinecode","yErrorHighField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"scatter\", \"scatterLine\" or \"bubble\"."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    yErrorLowField: \"low\",\n    yErrorHighField: \"high\",\n    data: [{x: 6.4, y: 13.4, low: 12, high: 14}, {x: 1.7, y: 11, low: 11, high: 14}, {x: 5.4, y: 8, low: 5, high: 8}]\n  }]\n});\n</script>"],["header",{"level":3},"series.explodeField ",["inlinecode","String"]," ",["em","(default: \"explode\")"]],["para","The data item field which contains a boolean value indicating whether the sector is exploded."],["blockquote",["para","The ",["inlinecode","explodeField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart series explode field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"pie\",\n      explodeField: \"isExploded\",\n      data: [\n        { value: 1, isExploded: true },\n        { value: 2 }, // isExpaded is missing, \"false\" is asumed\n        { value: 3, isExploded: false }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.field ",["inlinecode","String"]," ",["em","(default: \"value\")"]],["para","The data item field which contains the series value."],["header",{"level":4},"Example - set the chart series field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 1 },\n      { price: 2 },\n      { price: 3 }\n    ]\n  },\n  series: [{\n    field: \"price\"\n  }]\n});\n</script>"],["header",{"level":3},"series.noteTextField ",["inlinecode","String"]," ",["em","(default: \"noteText\")"]],["para","The data item field which contains the series note text."],["header",{"level":4},"Example - set the chart series field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { price: 1, noteText: \"A\" },\n      { price: 2 },\n      { price: 3 }\n    ]\n  },\n  series: [{\n    field: \"price\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"series.lowerField ",["inlinecode","String"]," ",["em","(default: \"lower\")"]],["para","The data item field which contains the series lower value."],["header",{"level":4},"Example - set the chart series lower field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.q1Field ",["inlinecode","String"]," ",["em","(default: \"q1\")"]],["para","The data item field which contains the series q1 value."],["header",{"level":4},"Example - set the chart series q1 field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.medianField ",["inlinecode","String"]," ",["em","(default: \"median\")"]],["para","The data item field which contains the series median value."],["header",{"level":4},"Example - set the chart series median field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.q3Field ",["inlinecode","String"]," ",["em","(default: \"q3\")"]],["para","The data item field which contains the series q3 value."],["header",{"level":4},"Example - set the chart series q3 field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.upperField ",["inlinecode","String"]," ",["em","(default: \"upper\")"]],["para","The data item field which contains the series upper value."],["header",{"level":4},"Example - set the chart series upper field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.meanField ",["inlinecode","String"]," ",["em","(default: \"mean\")"]],["para","The data item field which contains the series mean value."],["header",{"level":4},"Example - set the chart series mean field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.outliersField ",["inlinecode","String"]," ",["em","(default: \"outliers\")"]],["para","The data item field which contains the series outliers value."],["header",{"level":4},"Example - set the chart series outliers field"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\"\n  }]\n});"],["header",{"level":3},"series.gap ",["inlinecode","Number"]," ",["em","(default: 1.5)"]],["para","The distance between the category clusters."],["blockquote",["para","The ",["inlinecode","gap"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]],["header",{"level":4},"Example - set the chart series gap"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    gap: 0,\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.highField ",["inlinecode","String"]," ",["em","(default: \"high\")"]],["para","The data field containing the high value."],["blockquote",["para","The ",["inlinecode","highField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      highField: \"highPrice\",\n      data: [\n        { open: 1, highPrice: 2, low: 0.5, close: 1.5},\n        { open: 2, highPrice: 3, low: 1, close: 1.5}\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.highlight ",["inlinecode","Object"]],["para","The chart series highlighting configuration options."],["header",{"level":4},"Example - configure the chart series highlighting"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          opacity: 1,\n          width: 5,\n          color: \"black\"\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.border ",["inlinecode","Object"]],["para","The border of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","border"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"bubble\", \"pie\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart highlight border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          width: 5,\n          color: \"black\"\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.border.color ",["inlinecode","String"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart highlight border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          color: \"red\",\n          width: 5\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.border.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the border. By default the border is opaque."],["header",{"level":4},"Example - set the chart highlight border opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          opacity: 0.5,\n          width: 5\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart highlight border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        border: {\n          width: 5\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.color ",["inlinecode","String"]],["para","The highlight color. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","The ",["inlinecode","color"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart highlight color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"donut\",\n      data: [1, 2],\n      highlight: {\n        color: \"green\"\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.line ",["inlinecode","Object"]],["para","The line of the highlighted chart series. The color is computed automatically from the base point color."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the highlight line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          width: 5,\n          color: \"green\"\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.line.color ",["inlinecode","String"]],["para","The line color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the highlight line color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          color: \"green\"\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.line.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the line. By default the border is opaque."],["header",{"level":4},"Example - set the highlight line opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          opacity: 0.5,\n          width: 10\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.line.width ",["inlinecode","Number"]],["para","The width of the line."],["header",{"level":4},"Example - set the highlight line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"ohlc\",\n      data: [\n        { open: 1, high: 3, low: 0, close: 1 },\n        { open: 2, high: 4, low: 1, close: 1.5 },\n      ],\n      highlight: {\n        line: {\n          width: 5\n        }\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.opacity ",["inlinecode","Number"]],["para","The opacity of the highlighted points."],["blockquote",["para","The ",["inlinecode","opacity"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"pie\" or \"donut\"."]],["header",{"level":4},"Example - set the highlight opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        opacity: 0.5\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.highlight.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will highlight the series when the user hovers it with the mouse.\nBy default chart series highlighting is enabled."],["header",{"level":4},"Example - prevent the chart series highlighting"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n      type: \"pie\",\n      data: [1, 2],\n      highlight: {\n        visible: false\n      }\n  }]\n});\n</script>"],["header",{"level":3},"series.holeSize ",["inlinecode","Number"]],["para","The diameter of the donut hole in pixels."],["blockquote",["para","The ",["inlinecode","holeSize"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\"."]],["header",{"level":4},"Example - set the donut chart hole size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"donut\",\n      holeSize: 80,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels ",["inlinecode","Object"]],["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.labels.visible"},"series.labels.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      background: \"green\",\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    },\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.align ",["inlinecode","String"]],["para","The label alignment when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\", \"funnel\" or \"pie\"."],["para","The supported values  for \"donut\" and \"pie\" are:"],["bulletlist",["listitem","\"circle\" - the labels are positioned in circle around the chart."],["listitem","\"column\" - the labels are positioned in columns to the left and right of the chart."]],["para","The supported values for \"funnel\" are:"],["bulletlist",["listitem","\"center\" - the labels are positioned in the center over the funnel segment."],["listitem","\"right\" - the labels are positioned on the right side of the chart and do not (if there is enough space) overlap the funnel segment(s)."],["listitem","\"left\" - the labels are positioned on the left side of the chart and do not (if there is enough space) overlap the funnel segment(s)."]],["header",{"level":4},"Example - set the chart series label alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      align: \"column\"\n    },\n    type: \"pie\",\n    data: [1, 2, 3, 4, 5, 6]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.background ",["inlinecode","String|Function"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      background: \"green\"\n    },\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the chart series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.border.color ",["inlinecode","String|Function"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          color: \"green\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.border.dashType ",["inlinecode","String|Function"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      data: [1, 2, 3],\n      labels: {\n        visible: true,\n        border: {\n          width: 1\n        }\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.color ",["inlinecode","String|Function"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"#aa00bb\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"rgb(128, 0, 255)\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      labels: {\n        visible: true,\n        color: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.distance ",["inlinecode","Number"]," ",["em","(default: 35)"]],["para","The distance of the labels when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."],["header",{"level":4},"Example - set the chart series label distance"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      distance: 70\n    },\n    type: \"pie\",\n    data: [1, 2, 3, 4, 5, 6]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.font ",["inlinecode","String|Function"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      font: \"20px sans-serif\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.format ",["inlinecode","String|Function"]," ",["em","(default: \"{0}\")"]],["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["header",{"level":4},"Example - set the chart series label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      format: \"{0:C}\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: 10,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        bottom: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        left: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        right: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      margin: {\n        top: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: 10,\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        bottom: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        left: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        right: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      padding: {\n        top: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.labels.position ",["inlinecode","String|Function"]],["para","The position of the labels."],["bulletlist",["listitem","\"above\" - the label is positioned at the top of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"below\" - the label is positioned at the bottom of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"center\" - the label is positioned at the point center. ",["strong"," Applicable for bar, column, donut, pie, funnel and radarColumn series. "]],["listitem","\"insideBase\" - the label is positioned inside, near the base of the bar. ",["strong"," Applicable for bar and column series. "]],["listitem","\"insideEnd\" - the label is positioned inside, near the end of the point. ",["strong"," Applicable for bar, column, donut, pie and radarColumn series. "]],["listitem","\"left\" - the label is positioned to the left of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"outsideEnd\" - the label is positioned outside, near the end of the point. ** Applicable for bar, column, donut, pie and radarColumn series. Not applicable for stacke"],["listitem","\"right\" - the label is positioned to the right of the marker. ",["strong"," Applicable for series that render points, incl. bubble. "]],["listitem","\"top\" - the label is positioned at the top of the segment. ",["strong"," Applicable for funnel series "]],["listitem","\"bottom\" - the label is positioned at the bottom of the segment. ",["strong"," Applicable for funnel series "]]],["header",{"level":4},"Example - set the chart series label position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      position: \"center\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]],["header",{"level":4},"Example - set the chart series label template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true,\n      template: \"Value: #: value #%\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.labels.visible ",["inlinecode","Boolean|Function"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."],["header",{"level":4},"Example - show the chart series labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    labels: {\n      visible: true\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.line ",["inlinecode","String|Object"]],["para","The chart line configuration options."],["blockquote",["para","The ",["inlinecode","line"]," option is supported when the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"area\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - configure the chart line options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.line.color ",["inlinecode","String"]],["para","The line color. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart line color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.line.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The line opacity. By default the line is opaque."],["header",{"level":4},"Example - set the chart line opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.line.width ",["inlinecode","String"]," ",["em","(default: 4)"]],["para","The line width in pixels."],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.line.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"polarArea\" or \"radarArea\"."],["para","The ",["inlinecode","step"]," value is supported only when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"area\",\n    line: {\n      color: \"green\",\n      opacity: 0.5,\n      width: 5,\n      style: \"step\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.lowField ",["inlinecode","String"]," ",["em","(default: \"low\")"]],["para","The data field containing the low value."],["blockquote",["para","The ",["inlinecode","lowField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      lowField: \"lowPrice\",\n      data: [\n        { open: 1, high: 2, low: 0.5, lowPrice: 1.5},\n        { open: 2, high: 3, low: 1, lowPrice: 1.5}\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.margin ",["inlinecode","Number|Object"]," ",["em","(default: 1)"]],["para","The margin around each donut series (ring). A numeric value will set all margins."],["header",{"level":4},"Example - set the chart donut series margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: 30,\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart donut series bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      bottom: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart donut series left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      left: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart donut series right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    margin: {\n      right: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart donut series top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"donut\",\n    margin: {\n      top: 30\n    },\n    data: [1, 2, 3]\n  },{\n    type: \"donut\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers ",["inlinecode","Object"]],["para","The chart series marker configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-series.markers.visible"},"series.markers.visible"]," option is set to ",["inlinecode","true"],".\nThe ",["inlinecode","markers"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatter\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\", \"polarScatter\" or \"polarArea\"."]],["header",{"level":4},"Example - set the chart series markers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      background: \"green\",\n      size: 30\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.background ",["inlinecode","String|Function"]],["para","The background color of the series markers."],["header",{"level":4},"Example - set the chart series markers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      background: \"green\"\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.border ",["inlinecode","Object|Function"]],["para","The border of the markers."],["header",{"level":4},"Example - set the chart series markers border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.border.color ",["inlinecode","String|Function"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series markers border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series markers border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.size ",["inlinecode","Number|Function"]," ",["em","(default: 6)"]],["para","The marker size in pixels."],["header",{"level":4},"Example - set the chart markers size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      size: 30\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.type ",["inlinecode","String|Function"]," ",["em","(default: \"circle\")"]],["para","The markers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series marker shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true,\n      type: \"triangle\",\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.visible ",["inlinecode","Boolean|Function"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series markers. By default chart series markers are not displayed."],["header",{"level":4},"Example - display the chart series markers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    markers: {\n      visible: true\n    },\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.markers.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    data: [200, 450, 300, 125],\n    markers: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      speed: 2,\n      dir: 45\n    }, {\n      speed: 4.6,\n      dir: 180\n    }]\n  },\n  series: [{\n     type: \"line\",\n     field: \"speed\",\n     markers: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"],["header",{"level":3},"series.outliers ",["inlinecode","Object"]],["para","The chart series outliers configuration."],["header",{"level":4},"Example - set the chart series outliers"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      background: \"green\",\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.background ",["inlinecode","String|Function"]],["para","The background color of the series outliers."],["header",{"level":4},"Example - set the chart series outliers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      background: \"green\"\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.border ",["inlinecode","Object|Function"]],["para","The border of the outliers."],["header",{"level":4},"Example - set the chart series outliers border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.border.color ",["inlinecode","String|Function"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series outliers border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series outliers border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      border: {\n        width: 2\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.size ",["inlinecode","Number|Function"]," ",["em","(default: 6)"]],["para","The marker size in pixels."],["header",{"level":4},"Example - set the chart outliers size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.type ",["inlinecode","String|Function"]," ",["em","(default: \"circle\")"]],["para","The outliers shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series marker shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    outliers: {\n      type: \"triangle\",\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.outliers.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the outliers."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]],\n    outliers: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n      median: 3,\n      q3: 4,\n      upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\",\n     outliers: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"],["header",{"level":3},"series.extremes ",["inlinecode","Object"]],["para","The chart series extremes configuration."],["header",{"level":4},"Example - set the chart series extremes"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      background: \"green\",\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.background ",["inlinecode","String|Function"]],["para","The background color of the series outliers."],["header",{"level":4},"Example - set the chart series outliers background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      background: \"green\"\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.border ",["inlinecode","Object|Function"]],["para","The border of the extremes."],["header",{"level":4},"Example - set the chart series extremes border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.border.color ",["inlinecode","String|Function"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series extremes border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series extremes border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      border: {\n        width: 2\n      }\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.size ",["inlinecode","Number|Function"]," ",["em","(default: 6)"]],["para","The extremes size in pixels."],["header",{"level":4},"Example - set the chart extremes size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      size: 30\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.type ",["inlinecode","String|Function"]," ",["em","(default: \"circle\")"]],["para","The extremes shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the chart series extremes shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    extremes: {\n      type: \"triangle\",\n    },\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]]\n  }]\n});\n</script>"],["header",{"level":3},"series.extremes.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the extremes."],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"boxPlot\",\n    data: [1,2,3,4,5,3.5,[0,0,0.5,6,7,11]],\n    extremes: {\n      type: \"square\",\n      rotation: 45\n    }\n  }]\n});\n</script>"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      lower: 1,\n      q1: 2,\n\t  median: 3,\n\t  q3: 4,\n\t  upper: 5,\n      mean: 3.5,\n      outliers: [0,0,0.5,6,7,11]\n    }]\n  },\n  series: [{\n     type: \"boxPlot\",\n     lowerField: \"lower\",\n     q1Field: \"q1\",\n     medianField: \"median\",\n     q3Field: \"q3\",\n     upperField: \"upper\",\n     meanField: \"mean\",\n     outliersField: \"outliers\",\n     extremes: {\n      type: \"triangle\",\n      size: 20,\n      rotation: function(point) {\n          // \"Bind\" rotation to dataItem field\n          return point.dataItem.dir;\n      }\n     }\n  }]\n});"],["header",{"level":3},"series.maxSize ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The maximum size of the chart bubble series marker."],["header",{"level":4},"Example - set the bubble chart series max marker size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    maxSize: 40,\n    data: [\n      [1, 2, 3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.minSize ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The minimum size of the chart bubble series marker."],["header",{"level":4},"Example - set the bubble chart series min marker size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    minSize: 40,\n    data: [\n      [1, 2, 3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.missingValues ",["inlinecode","String"]],["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]],["header",{"level":4},"Example - set the missing values behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    missingValues: \"gap\",\n    data: [1, 3, null, 4, 5]\n  }]\n});\n</script>"],["header",{"level":3},"series.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."],["para","The ",["inlinecode","step"]," value is only supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]],["header",{"level":4},"Example - set the style behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    style: \"step\",\n    data: [1, 2, 3, 4, 5]\n  }]\n});\n</script>"],["header",{"level":3},"series.name ",["inlinecode","String"]],["para","The name of the chart series which is visible in the legend."],["header",{"level":4},"Example - set the chart series name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { name: \"Series 1\", data: [1, 2] },\n    { name: \"Series 2\", data: [2, 3] }\n  ]\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\"},\n      { value: 2, category: \"Two\"}\n    ],\n    group: { field: \"category\" }\n  },\n  series: [\n    {\n      field: \"value\",\n      name: \"Category: #: group.value #\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.negativeColor ",["inlinecode","String"]],["para","The color to use for bar or column series with negative values. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart column series negative color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    missingValues: \"interpolate\",\n    data: [-1, 1, 2, -2],\n    negativeColor: \"green\"\n  }]\n});\n</script>"],["header",{"level":3},"series.negativeValues ",["inlinecode","Object"]],["para","The options for displaying the chart negative bubble values."],["header",{"level":4},"Example - set the chart negative bubbles"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      color: \"green\",\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.negativeValues.color ",["inlinecode","String"]," ",["em","(default: \"#ffffff\")"]],["para","The color of the chart negative bubble values."],["header",{"level":4},"Example - set the chart negative bubbles color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      color: \"green\",\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.negativeValues.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the negative bubbles. By default the negative bubbles are not displayed."],["header",{"level":4},"Example - show the chart negative bubbles"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    negativeValues: {\n      visible: true\n    },\n    data: [\n      [-1, 2, -3],\n      [2, 3, 4]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The series opacity. By default the series are opaque."],["header",{"level":4},"Example - set the chart series opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    opacity: 0.5,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.openField ",["inlinecode","String"]],["para","The data field containing the open value."],["blockquote",["para","The ",["inlinecode","openField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series high field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"candlestick\",\n      openField: \"openPrice\",\n      data: [\n        { open: 1, high: 2, low: 0.5, openPrice: 1.5},\n        { open: 2, high: 3, low: 1, openPrice: 1.5}\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.overlay ",["inlinecode","Object"]],["para","The chart series overlay options."],["header",{"level":4},"Example - set the chart series overlay options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    overlay: {\n      gradient: \"none\"\n    },\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.overlay.gradient ",["inlinecode","String"]],["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]],["header",{"level":4},"Example - set the chart series gradient options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    overlay: {\n      gradient: \"none\"\n    },\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.padding ",["inlinecode","Number"]],["para","The padding around the chart (equal on all sides)."],["blockquote",["para","The ",["inlinecode","padding"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the donut chart series padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    padding: 60,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.size ",["inlinecode","Number"]],["para","The or radius of the chart donut series in pixels. If not set, the available space is split evenly between the series."],["header",{"level":4},"Example - set the donut chart series size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    size: 100,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.sizeField ",["inlinecode","String"]," ",["em","(default: \"size\")"]],["para","The data field containing the bubble size value."],["header",{"level":4},"Example - set the bubble chart series size field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    sizeField: \"price\",\n    data: [\n      { x: 1, y: 2, price: 3 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.spacing ",["inlinecode","Number"]," ",["em","(default: 0.4)"]],["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\", \"ohlc\" or \"radarColumn\"."]],["header",{"level":4},"Example - set the chart series spacing"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { spacing: 0.1, data: [ 1, 2 ,3 ] },\n    { data: [ 1, 2 ,3 ] }\n  ]\n});\n</script>"],["header",{"level":3},"series.stack ",["inlinecode","Boolean|String"]," ",["em","(default: false)"]],["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]],["header",{"level":4},"Example - enable chart series stacking"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { stack: true, data: [ 1, 2 , 3] },\n    { data: [ 4, 5 , 6] }\n  ]\n});\n</script>"],["header",{"level":3},"series.startAngle ",["inlinecode","Number"]," ",["em","(default: 90)"]],["para","The start angle (degrees) of the first donut or pie segment."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - set the donut chart series start angle"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"donut\",\n    startAngle: 180,\n    data: [ 1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.target ",["inlinecode","Object"]],["para","The configuration options of the target"],["blockquote",["para","The ",["inlinecode","target"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - configure the bullet chart target"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        color: \"green\",\n        border: {\n          width: 3,\n          color: \"red\"\n        },\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        { current: 1, target: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.border ",["inlinecode","Object|Function"]],["para","The border of the target."],["header",{"level":4},"Example - set the bullet chart target border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          color: \"red\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.border.color ",["inlinecode","String|Function"]," ",["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":4},"Example - set the bullet chart target border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          color: \"red\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.border.dashType ",["inlinecode","String|Function"]," ",["em","(default: \"solid\")"]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the bullet chart target border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3,\n          dashType: \"dashDot\"\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.border.width ",["inlinecode","Number|Function"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the bullet chart target border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        border: {\n          width: 3\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.color ",["inlinecode","String|Function"]],["para","The target color."],["header",{"level":4},"Example - set the bullet chart target color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        color: \"green\"\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.target.line ",["inlinecode","Object"]],["para","The target line options."],["header",{"level":4},"Example - set the bullet chart target line options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});"],["header",{"level":3},"series.target.line.width ",["inlinecode","Object|Function"]],["para","The width of the line."],["header",{"level":4},"Example - set the bullet chart target line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      target: {\n        line: {\n          width: 10\n        }\n      },\n      data: [\n        [1, 2]\n      ]\n    }\n  ]\n});"],["header",{"level":3},"series.targetField ",["inlinecode","String"]," ",["em","(default: \"target\")"]],["para","The data item field containing the target value."],["blockquote",["para","The ",["inlinecode","currentField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bullet\" or \"verticalBullet\"."]],["header",{"level":4},"Example - set the bullet chart series current field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"bullet\",\n      targetField: \"price\",\n      data: [\n        { current: 1, price: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip ",["inlinecode","Object"]],["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"series.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        background: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        background: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2,\n          color: \"green\"\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2,\n          color: \"green\"\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        border: {\n          width: 2\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        color: \"green\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        font: \"20px sans-serif\"\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.format ",["inlinecode","String"]],["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, line, pie, radarArea, radarColumn and radarLine",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter, scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","PolarArea, polarLine and polarScatter",["bulletlist",["listitem","{0} - x value (degrees)"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        format: \"{0} x {1} ({2:C})\"\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: 10\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          bottom: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          left: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          right: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        padding: {\n          top: 10\n        }\n      },\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true,\n        template: \"#: value.x # - #: value.y # (#: value.size #)\"\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      tooltip: {\n        visible: true\n      },\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"series.type ",["inlinecode","String"]," ",["em","(default: \"column\")"]],["para","The type of the series."],["para","The supported values are:"],["bulletlist",["listitem","area"],["listitem","bar"],["listitem","bubble"],["listitem","bullet"],["listitem","candlestick"],["listitem","column"],["listitem","donut"],["listitem","funnel"],["listitem","line"],["listitem","ohlc"],["listitem","pie"],["listitem","polarArea"],["listitem","polarLine"],["listitem","polarScatter"],["listitem","radarArea"],["listitem","radarColumn"],["listitem","radarLine"],["listitem","scatter"],["listitem","scatterLine"],["listitem","verticalArea"],["listitem","verticalBullet"],["listitem","verticalLine"]],["header",{"level":4},"Example - set the chart series type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.visibleInLegend ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","A value indicating whether to show the point category name (for bubble, donut and pie series)\nor series name (for other available series types) in the legend."],["header",{"level":4},"Example - hide a chart series from the legend"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      name: \"Series 1\",\n      visibleInLegend: false,\n      data: [1, 2, 3]\n    },\n    { name: \"Series 2\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"series.visibleInLegendField ",["inlinecode","String"]],["para","The data item field which indicates whether to show the point category name in the legend."],["blockquote",["para","The ",["inlinecode","visibleInLegendField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"buble\", \"donut\" or \"pie\"."]],["header",{"level":4},"Example - set the chart series visible in legend field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"firstValue\", visible: false },\n      { value: 2, category: \"secondValue\", visible: true }\n    ]\n  },\n  series: [{\n    type: \"pie\",\n    field: \"value\",\n    visibleInLegendField: \"visible\"\n  }]\n});\n</script>"],["header",{"level":3},"series.width ",["inlinecode","Number"]],["para","The line width."],["blockquote",["para","The ",["inlinecode","width"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\", \"scatterLine\", \"radarLine\" or \"polarLine\"."]],["header",{"level":4},"Example - set the chart line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"line\",\n    width: 6,\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"series.xAxis ",["inlinecode","String"]," ",["em","(default: \"primary\")"]],["para","The name of the X axis to use."],["blockquote",["para","The ",["inlinecode","xAxis"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]],["para","For polar series the xAxis range is expressed in degrees."],["header",{"level":3},"series.xField ",["inlinecode","String"]," ",["em","(default: \"x\")"]],["para","The data item field containing the X value."],["blockquote",["para","The ",["inlinecode","xField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\", \"scatterLine\" or polar series."]],["header",{"level":4},"Example - set the chart series x field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    xField: \"price\",\n    data: [\n      { price: 1, y: 2, size: 3 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.yAxis ",["inlinecode","String"]," ",["em","(default: \"primary\")"]],["para","The name of the Y axis to use."],["para",["strong"," Available for bubble, scatter, scatterLine and polar series. "]],["header",{"level":3},"series.yField ",["inlinecode","String"]," ",["em","(default: \"y\")"]],["para","The data item field containing the Y value."],["blockquote",["para","The ",["inlinecode","yField"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bubble\", \"scatter\" or \"scatterLine\"."]],["header",{"level":4},"Example - set the chart series y field"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"bubble\",\n    yField: \"price\",\n    data: [\n      { x: 1, yField: 2, size: 3 }\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"series.notes ",["inlinecode","Object"]],["para","The series notes configuration."],["header",{"level":3},"series.notes.position ",["inlinecode","String"]],["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"series.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"series.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"],["header",{"level":3},"series.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"series.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"series.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"series.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"seriesColors ",["inlinecode","Array"]],["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."],["header",{"level":4},"Example - set the chart series colors"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesColors: [\"red\", \"green\"],\n  series: [\n    { data: [1, 2] },\n    { data: [1, 2] },\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults ",["inlinecode","Object"]],["para","The default options for all series."],["header",{"level":3},"seriesDefaults.area ",["inlinecode","Object"]],["para","The area chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the area chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    area: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"area\", data: [1, 2] },\n    { data: [3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.bar ",["inlinecode","Object"]],["para","The bar chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the bar chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    bar: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"bar\", data: [1, 2] },\n    { data: [3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.border ",["inlinecode","Object"]],["para","The border of the series."],["header",{"level":4},"Example - set the chart series border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the chart series border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      dashType: \"dashDot\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.bubble ",["inlinecode","Object"]],["para","The bubble chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the bubble chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    bubble: {\n      color: \"green\",\n      opacity: 0.5\n    }\n  },\n  series: [\n    { type: \"bubble\", data: [ [1, 2, 3] ] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.candlestick ",["inlinecode","Object"]],["para","The candlestick chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the candlestick chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    candlestick: {\n      color: \"red\",\n      opacity: 0.3\n    }\n  },\n  series: [\n    { type: \"candlestick\", data: [ [1, 2, 0.5, 1.5] ] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.column ",["inlinecode","Object"]],["para","The column chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the column chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    column: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"column\", data: [3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.donut ",["inlinecode","Object"]],["para","The donut chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the donut chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    donut: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"donut\",  data: [3, 4] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.gap ",["inlinecode","Number"]," ",["em","(default: 1.5)"]],["para","The distance between category clusters."],["header",{"level":4},"Example - set the gap between the chart categories"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    gap: 4\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels ",["inlinecode","Object"]],["para","The chart series label configuration."],["blockquote",["para","The chart displays the series labels when the ",["link",{"href":"#configuration-seriesDefaults.labels.visible"},"seriesDefaults.labels.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      background: \"green\",\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the chart series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"black\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2,\n        dashType: \"dashDot\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the chart series label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["header",{"level":4},"Example - set the chart series label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      format: \"{0:C}\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the chart series label."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name. Available for area, bar, column, bubble, donut, funnel, line and pie series."],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","percentage - the point value represented as a percentage value. Available for donut, funnel and pie series."],["listitem","series - the data series"],["listitem","value - the point value. Can be a number or object containing each bound field."]],["header",{"level":4},"Example - set the chart series label template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true,\n      template: \"Value: #: value #%\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series labels. By default chart series labels are not displayed."],["header",{"level":4},"Example - show the chart series labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    labels: {\n      visible: true\n    }\n  },\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.line ",["inlinecode","Object"]],["para","The line chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the line chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    line: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.ohlc ",["inlinecode","Object"]],["para","The ohlc chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the ohlc chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    ohlc: {\n      color: \"red\",\n      opacity: 0.3\n    }\n  },\n  series: [{\n    type: \"ohlc\",\n    data: [ [1, 2, 0.5, 1.5] ]\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.overlay ",["inlinecode","Object"]],["para","The chart series overlay options."],["header",{"level":4},"Example - set the chart series overlay options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    overlay: {\n      gradient: \"none\"\n    }\n  },\n  series: [\n    { data: [ 1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.overlay.gradient ",["inlinecode","String"]],["para","The chart series gradient."],["para","The supported values are:"],["bulletlist",["listitem","\"glass\" (bar, column and candlestick series)"],["listitem","\"none\""],["listitem","\"roundedBevel\" (donut and pie series)"],["listitem","\"sharpBevel\" (donut and pie series)"]],["header",{"level":4},"Example - set the chart series gradient options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    overlay: {\n      gradient: \"none\"\n    }\n  },\n  series: [\n    { data: [ 1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.pie ",["inlinecode","Object"]],["para","The pie chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the pie chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    pie: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"pie\", data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.scatter ",["inlinecode","Object"]],["para","The scatter chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the scatter chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    color: \"green\"\n  },\n  series: [ {\n    type: \"scatter\",\n    data: [\n       [1, 2],\n       [2, 3]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.scatterLine ",["inlinecode","Object"]],["para","The scatterLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the scatterLine chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    color: \"green\"\n  },\n  series: [ {\n    type: \"scatterLine\",\n    data: [\n       [1, 2],\n       [2, 3]\n    ]\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.spacing ",["inlinecode","Number"]," ",["em","(default: 0.4)"]],["para","The space between the chart series as proportion of the series width."],["blockquote",["para","The ",["inlinecode","spacing"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"candlestick\" or \"ohlc\"."]],["header",{"level":4},"Example - set the chart series spacing"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    spacing: 0.1\n  },\n  series: [\n    { data: [ 1, 2 ,3 ] },\n    { data: [ 1, 2 ,3 ] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.stack ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","A value indicating if the series should be stacked."],["blockquote",["para","The ",["inlinecode","stack"]," options is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"line\", \"area\", \"verticalLine\" and \"verticalArea\"."]],["para","String value indicates that the series should be stacked in a group with the specified name."],["blockquote",["para","The named ",["inlinecode","stack"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\" or \"column\"."]],["header",{"level":4},"Example - enable chart series stacking"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    stack: true\n  },\n  series: [\n    { data: [ 1, 2 , 3] },\n    { data: [ 4, 5 , 6] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip ",["inlinecode","Object"]],["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"seriesDefaults.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2,\n        color: \"green\"\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      border: {\n        width: 2\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      font: \"20px sans-serif\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.format ",["inlinecode","String"]],["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      format: \"{0} x {1} ({2:C})\"\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        bottom: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        left: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        right: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      padding: {\n        top: 10\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true,\n      template: \"#: value.x # - #: value.y # (#: value.size #)\"\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    tooltip: {\n      visible: true\n    }\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    },\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.verticalArea ",["inlinecode","Object"]],["para","The verticalArea chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the verticalArea chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    verticalArea: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"verticalArea\", data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.verticalLine ",["inlinecode","Object"]],["para","The verticalLine chart series options. Accepts all values supported by the ",["link",{"href":"#configuration-series"},"series"]," option."],["header",{"level":4},"Example - set the verticalLine chart default options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  seriesDefaults: {\n    verticalLine: {\n      color: \"red\",\n      opacity: 0.1\n    }\n  },\n  series: [\n    { type: \"verticalLine\", data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes ",["inlinecode","Object"]],["para","The seriesDefaults notes configuration."],["header",{"level":3},"seriesDefaults.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"seriesDefaults.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      seriesDefaults: {\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\"\n      }]\n    });\n    </script>"],["header",{"level":3},"seriesDefaults.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the seriesDefaults notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the seriesDefaults notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the seriesDefaults notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"seriesDefaults.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the seriesDefaults label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the seriesDefaults label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the seriesDefaults label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the seriesDefaults label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart seriesDefaults notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         font: \"20px sans-serif\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the seriesDefaults notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         template: \"Year: #: value #\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the seriesDefaults notes label. By default the seriesDefaults notes label are visible."],["header",{"level":4},"Example - hide the seriesDefaults notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         visible: false\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the seriesDefaults notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the seriesDefaults notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      label: {\n         format: \"value slot: {0}\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"seriesDefaults.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"seriesDefaults.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the seriesDefaults notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"seriesDefaults.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the seriesDefaults notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  seriesDefaults: {\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\"\n  }]\n});\n</script>"],["header",{"level":3},"theme ",["inlinecode","String"]],["para","The chart theme."],["para","The supported values are:"],["bulletlist",["listitem","\"black\""],["listitem","\"blueopal\""],["listitem","\"bootstrap\""],["listitem","\"default\""],["listitem","\"highcontrast\""],["listitem","\"metro\""],["listitem","\"metroblack\""],["listitem","\"moonlight\""],["listitem","\"silver\""],["listitem","\"uniform\""]],["header",{"level":3},"title ",["inlinecode","Object|String"]],["para","The chart title configuration options or text."],["header",{"level":4},"Example - set the chart title as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: \"Title\",\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - configure the chart title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    align: \"left\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"title.align ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The alignment of the title."],["bulletlist",["listitem","\"center\" - the text is aligned to the middle."],["listitem","\"left\" - the text is aligned to the left."],["listitem","\"right\" - the text is aligned to the right."]],["header",{"level":4},"Example - configure the chart alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    align: \"left\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"title.background ",["inlinecode","String"]," ",["em","(default: \"white\")"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - configure the chart alignment"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"title.border ",["inlinecode","Object"]],["para","The border of the series."],["header",{"level":4},"Example - set the chart title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      color: \"green\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the chart title border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      dashType: \"dashDot\",\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font of the title."],["header",{"level":4},"Example - set the chart title border font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    font: \"20px sans-serif\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the chart series label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the chart series label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the chart series label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the chart series label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    margin: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The padding of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the chart series label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":4},"Example - set the chart series label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":4},"Example - set the chart series label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":4},"Example - set the chart series label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":4},"Example - set the chart series label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.position ",["inlinecode","String"]," ",["em","(default: \"top\")"]],["para","The position of the title."],["bulletlist",["listitem","\"bottom\" - the title is positioned on the bottom."],["listitem","\"top\" - the title is positioned on the top."]],["header",{"level":4},"Example - set the chart title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    position: \"bottom\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.text ",["inlinecode","String"]],["para","The text of the chart title. You can also set the text directly for a title with default options."],["header",{"level":4},"Example - set the chart title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    position: \"bottom\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"title.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the title. By default the title is not displayed."],["header",{"level":4},"Example - hide the title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  title: {\n    text: \"Title\",\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip ",["inlinecode","Object"]],["para","The chart series tooltip configuration options."],["blockquote",["para","The chart series tooltip is displayed when the ",["link",{"href":"#configuration-series.tooltip.visible"},"tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    background: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":4},"Example - set the chart series tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":4},"Example - set the chart series tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2,\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the chart series tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    border: {\n      width: 2\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the chart series tooltip color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    color: \"green\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the chart series tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    font: \"20px sans-serif\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.format ",["inlinecode","String"]],["para","The format of the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Format placeholders:"],["bulletlist",["listitem","Area, bar, column, funnel, line and pie",["bulletlist",["listitem","{0} - value"]]],["listitem","Bubble",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"],["listitem","{2} - size value"],["listitem","{3} - category name"]]],["listitem","Scatter and scatterLine",["bulletlist",["listitem","{0} - x value"],["listitem","{1} - y value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem","{0} - open value"],["listitem","{1} - high value"],["listitem","{2} - low value"],["listitem","{3} - close value"],["listitem","{4} - category name"]]]],["header",{"level":4},"Example - set the chart series tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    format: \"{0} x {1} ({2:C})\"\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the chart series tooltip padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      bottom: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      left: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      right: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the tooltip."],["header",{"level":4},"Example - set the chart series tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    padding: {\n      top: 10\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.shared ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display a single tooltip for every category."],["header",{"level":4},"Example - display shared tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1,2,3]\n  },{\n    data: [1,2,3]\n  },{\n    data: [1,2,3]\n  }],\n  tooltip: {\n    visible: true,\n    shared: true\n  }\n});\n</script>"],["header",{"level":3},"tooltip.sharedTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the shared tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","points - the category points"],["listitem","category - the category name"]],["header",{"level":4},"Example - set the shared tooltip template"],["code_block","<div id=\"chart\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <div>#: category #</div>\n  # for (var i = 0; i < points.length; i++) { #\n    <div>#: points[i].series.name# : #: points[i].value #</div>\n  # } #\n</script>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { name: \"Series 1\", data: [1,2] },\n    { name: \"Series 2\", data: [1,2] }\n  ],\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  tooltip: {\n    visible: true,\n    shared: true,\n    sharedTemplate:kendo.template($(\"#template\").html())\n  }\n});\n</script>"],["header",{"level":3},"tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","category - the category name"],["listitem","dataItem - the original data item used to construct the point. Will be null if binding to array."],["listitem","series - the data series"],["listitem","value - the point value (either a number or an object)"]],["header",{"level":4},"Example - set the chart series tooltip template"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true,\n    template: \"#: value.x # - #: value.y # (#: value.size #)\"\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series tooltip. By default the series tooltip is not displayed."],["header",{"level":4},"Example - show the chart series tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  tooltip: {\n    visible: true\n  },\n  series: [\n    {\n      type: \"bubble\",\n      data: [ [1, 2, 3] ]\n    },\n  ]\n});\n</script>"],["header",{"level":3},"transitions ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will play animations when displaying the series. By default animations are enabled."],["header",{"level":4},"Example - disable the chart animations"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  transitions: false,\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis ",["inlinecode","Array"]],["para","The value axis configuration options."],["header",{"level":4},"Example - configure the chart value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n      min: 0,\n      max: 10,\n      majorUnit: 2\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.axisCrossingValue ",["inlinecode","Object|Date|Array"]],["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indices at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"],["header",{"level":4},"Example - set the value axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    series: [{\n      data: [4,7,10]\n    }],\n    categoryAxes: [{\n      categories: [\"A\", \"B\", \"C\"]\n    }, {\n      categories: [\"D\", \"E\", \"F\"]\n    }],\n    valueAxis:  {\n      axisCrossingValues: [0, 12]\n    }\n});\n</script>"],["header",{"level":3},"valueAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    background: \"#ff0000\"\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.color ",["inlinecode","String"]],["para","The color of the value axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    color: \"green\"\n  },\n  series: [{\n    data: [1, 2]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.visible"},"valueAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the value axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.dashType ",["inlinecode","string"]," ",["em","(default: \"solid\")"]],["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the value axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-valueAxis.crosshair.tooltip.visible"},"valueAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the value axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [{\n    type: \"line\",\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border options."],["header",{"level":4},"Example - set the value axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the value axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the value axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the value axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the value axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair tooltip. By default the value axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the value axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis crosshair. By default the value axis crosshair is not visible."],["header",{"level":4},"Example - show the value axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.crosshair.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the value axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"line\", data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels ",["inlinecode","Object"]],["para","The axis labels configuration."],["header",{"level":4},"Example - configure the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    labels: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the value axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the value axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n       format: \"{0:C}\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis label margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the value axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the value axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the value axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the value axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.mirror ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["header",{"level":4},"Example - mirror the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      mirror: true\n    },\n    categories: [\"2012\", \"2013\"]\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis label padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the value axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the value axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the value axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the value axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle (in degrees) of the labels. By default the labels are not rotated."],["para","Angles increase clockwise and zero is to the left. Negative values are acceptable."],["header",{"level":4},"Example - rotate the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      rotation: 90\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The number of labels to skip. By default no labels are skipped."],["header",{"level":4},"Example - skip value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      skip: 1\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.step ",["inlinecode","Number"],["em","(default: 1)"]],["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":4},"Example - render each 2nd label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      step: 2\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      template: \"Year: #: value #\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      template: kendo.template(\"Year: #: value #\")\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis labels. By default the category axis labels are visible."],["header",{"level":4},"Example - hide the value axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    labels: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.line ",["inlinecode","Object"]],["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the value axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.line.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the value axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    line: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.line.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis lines. By default the value axis lines are visible."],["header",{"level":4},"Example - hide the value axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - set the value axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    line: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines ",["inlinecode","Object"]],["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the value axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      width: 3,\n      color: \"green\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis major grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis major grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.type ",["inlinecode","String"]],["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."],["header",{"level":4},"Example - use arcs for radarLine chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      type: \"arc\"\n    }\n  }],\n  series: [\n    {\n      type: \"radarLine\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."],["header",{"level":4},"Example - hide the value axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the value axis major grid lines in pixels."],["header",{"level":4},"Example - set the value axis major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major grid lines."],["header",{"level":4},"Example - set the value axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major grid lines."],["header",{"level":4},"Example - set the value axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions."],["header",{"level":4},"Example - set the value axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorUnit: 1\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.max ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The maximum value of the axis."],["header",{"level":4},"Example - set the value axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n     max: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.min ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The minimum value of the axis."],["header",{"level":4},"Example - set the value axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n     min: 10\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines ",["inlinecode","Object"]],["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the value axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      width: 3,\n      color: \"green\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.type ",["inlinecode","String"]],["para","The type of grid lines to draw for radar charts:"],["bulletlist",["listitem","\"line\" - draws straight lines."],["listitem","\"arc\" - draws arcs."]],["para","The default type is \"line\" except for \"radarColumn\" charts."],["header",{"level":4},"Example - show arcs for both major and minor gridlines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      type: \"arc\",\n      visible: true\n    },\n    majorGridLines: {\n      type: \"arc\"\n    }\n  }],\n  series: [\n    {\n      type: \"radarLine\",\n      data: [1, 2, 3]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the value axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the value axis minor grid lines in pixels."],["header",{"level":4},"Example - set the value axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor grid lines."],["header",{"level":4},"Example - set the value axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor grid lines."],["header",{"level":4},"Example - set the value axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorGridLines: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.majorTicks ",["inlinecode","Object"]],["para","The configuration of the value axis major ticks."],["header",{"level":4},"Example - configure the value axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the value axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      size: 6\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.majorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis major ticks. By default the value axis major ticks are visible."],["header",{"level":3},"valueAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major ticks."],["header",{"level":4},"Example - set the value axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major ticks."],["header",{"level":4},"Example - set the value axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks ",["inlinecode","Object"]],["para","The configuration of the value axis minor ticks."],["header",{"level":4},"Example - configure the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the value axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis minor ticks. By default the value axis minor ticks are not visible."],["header",{"level":4},"Example - hide the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the value axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor ticks."],["header",{"level":4},"Example - set the value axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor ticks."],["header",{"level":4},"Example - set the value axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"valueAxis.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-valueAxis.majorUnit"},"valueAxis.majorUnit"],"."],["header",{"level":4},"Example - set the value axis minor unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    minorUnit: 2\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.name ",["inlinecode","Object"]," ",["em","(default: \"primary\")"]],["para","The unique axis name. Used to associate a series with a value axis using the ",["link",{"href":"#configuration-series.axis"},"series.axis"]," option."],["header",{"level":4},"Example - set the value axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.narrowRange ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent automatic axis range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    narrowRange: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the value axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the value axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1,2,3] },\n    { data: [1,2,3,4],\n      axis: \"secondValueAxis\"\n    }\n  ],\n  panes:[\n    { name: \"topPane\" },\n    { name: \"bottomPane\" }\n  ],\n  valueAxis: [\n    { pane: \"topPane\" },\n    { name: \"secondValueAxis\", pane: \"bottomPane\" }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the value axis."],["header",{"level":4},"Example - set the value plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":4},"Example - set the value plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the value plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":4},"Example - set the value plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the value plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default categories are listed from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis:  {\n    categories: [\"2012\", \"2013\"],\n    reverse: true\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title ",["inlinecode","Object"]],["para","The title configuration of the value axis."],["blockquote",["para","The ",["link",{"href":"#configuration-valueAxis.title.text"},"valueAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example - set the value axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the value axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":4},"Example - set the value axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the value axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the value axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the value axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the value axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the value axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the value axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":4},"Example - set the value axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":4},"Example - set the value axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":4},"Example - set the value axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":4},"Example - set the value axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the value axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":4},"Example - set the value axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis title. By default the value axis title is visible."],["header",{"level":4},"Example - hide the value axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis. By default the value axis is visible."],["header",{"level":4},"Example - hide the value axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  valueAxis: {\n    visible: false\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"valueAxis.notes ",["inlinecode","Object"]],["para","The value axis notes configuration."],["header",{"level":3},"valueAxis.notes.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"valueAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"valueAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"valueAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"valueAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"valueAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"valueAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"valueAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"valueAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis ",["inlinecode","Array"]],["para","The X-axis configuration options of the scatter chart X-axis. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."],["header",{"level":4},"Example - set the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    color: \"red\",\n    min: -5,\n    max: 5,\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.axisCrossingValue ",["inlinecode","Object|Date|Array"]],["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]],["header",{"level":4},"Example - set the scatter chart x axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    axisCrossingValue: [1, 2]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    background: \"#ff0000\"\n  }\n});\n</script>"],["header",{"level":3},"xAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]],["header",{"level":4},"Example - set the scatter chart x axis base unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"hours\"\n  }\n});\n</script>"],["header",{"level":3},"xAxis.color ",["inlinecode","String"]],["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    color: \"red\"\n  }\n});\n</script>"],["header",{"level":3},"xAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.visible"},"xAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the scatter chart x axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.dashType ",["inlinecode","string"]," ",["em","(default: \"solid\")"]],["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the scatter chart x axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-xAxis.crosshair.tooltip.visible"},"xAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the scatter chart x axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border options."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair tooltip. By default the scatter chart x axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the scatter chart x axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis crosshair. By default the scatter chart x axis crosshair is not visible."],["header",{"level":4},"Example - show the scatter chart x axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.crosshair.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the scatter chart x axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.labels ",["inlinecode","Object"]],["para","The axis labels configuration."],["header",{"level":4},"Example - set the scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      background: \"red\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\",\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1,\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      color: \"red\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.culture ",["inlinecode","String"]],["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."],["header",{"level":3},"xAxis.labels.dateFormats ",["inlinecode","Object"]],["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set the scatter chart x axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.dateFormats.days ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.dateFormats.hours ",["inlinecode","String"]," ",["em","(default: \"HH:mm\")"]],["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.dateFormats.months ",["inlinecode","String"]," ",["em","(default: \"MMM 'yy\")"]],["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.dateFormats.weeks ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.dateFormats.years ",["inlinecode","String"]," ",["em","(default: \"yyyy\")"]],["para","The format used when ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      font: \"20px sans-serif\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.format ",["inlinecode","String"]],["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the scatter chart x axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      format: \"{0:C\"}\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.margin ",["inlinecode","Number|Object"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart x axis label margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: 10\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.margin.bottom ",["inlinecode","Number"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.margin.left ",["inlinecode","Number"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.margin.right ",["inlinecode","Number"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.margin.top ",["inlinecode","Number"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.mirror ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis label padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: 10\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the scatter chart x axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - set the scatter chart x axis label rotation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      rotation: 90\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.skip ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The number of labels to skip."],["header",{"level":4},"Example - skip  scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      skip: 2\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd x axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  xAxis: {\n    labels: {\n      step: 2\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the scatter chart x axis label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      template: \"X: #: value #\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      template: kendo.template(\"X: #: value #\")\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis labels. By default the x axis labels are visible."],["header",{"level":4},"Example - hide the scatter chart x axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  xAxis: {\n    labels: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.line ",["inlinecode","Object"]],["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the scatter chart x axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.line.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.line.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis lines. By default the x axis lines are visible."],["header",{"level":4},"Example - hide the scatter chart x axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines ",["inlinecode","Object"]],["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the scatter chart x axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x major grid lines dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."],["header",{"level":4},"Example - hide the scatter chart x major grid liness"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the x axis major grid lines."],["header",{"level":4},"Example - set the x axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the x axis major grid lines."],["header",{"level":4},"Example - set the x axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines ",["inlinecode","Object"]],["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the x axis minor grid lines."],["header",{"level":4},"Example - set the x axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the x axis minor grid lines."],["header",{"level":4},"Example - set the x axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: [{\n    minorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks ",["inlinecode","Object"]],["para","The configuration of the x axis minor ticks."],["header",{"level":4},"Example - configure the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the x axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the x axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the x axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the x axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis minor ticks. By default the x axis minor ticks are not visible."],["header",{"level":4},"Example - hide the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the x axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the x axis minor ticks."],["header",{"level":4},"Example - set the x axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the x axis minor ticks."],["header",{"level":4},"Example - set the x axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks ",["inlinecode","Object"]],["para","The configuration of the scatter chart x axis major ticks."],["header",{"level":4},"Example - configure the scatter chart x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the scatter chart x axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the scatter chart x axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      size: 6\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the scatter chart x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the scatter chart x axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorTicks: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the x axis major ticks."],["header",{"level":4},"Example - set the x axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the x axis major ticks."],["header",{"level":4},"Example - set the x axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"xAxis.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."],["header",{"level":4},"Example - set the scatter chart x axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    majorUnit: 1\n  }\n});\n</script>"],["header",{"level":4},"Example - set both the baseUnit and major unit for a date axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatterLine\",\n    data: [[new Date(2012, 0, 1), 1],[new Date(2012, 0, 10), 2]]\n  }],\n  xAxis: {\n    baseUnit: \"days\",\n    majorUnit: 5\n  }\n});\n</script>"],["header",{"level":3},"xAxis.max ",["inlinecode","Object"]],["para","The maximum value of the axis."],["header",{"level":4},"Example - set the scatter chart x axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    max: 5\n  }\n});\n</script>"],["header",{"level":3},"xAxis.min ",["inlinecode","Object"]],["para","The minimum value of the axis."],["header",{"level":4},"Example - set the scatter chart x axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    min: 1\n  }\n});\n</script>"],["header",{"level":3},"xAxis.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-xAxis.majorUnit"},"xAxis.majorUnit"],"."],["header",{"level":3},"xAxis.name ",["inlinecode","Object"]," ",["em","(default: \"primary\")"]],["para","The unique axis name. Used to associate a series with a x axis using the ",["link",{"href":"#configuration-series.xAxis"},"series.xAxis"]," option."],["header",{"level":4},"Example - set the scatter chart x axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1000, 2000]], xAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\" }\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\"}\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.narrowRange ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent scatter chart x axis automatic range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  xAxis: {\n    narrowRange: false\n  }\n});\n</script>"],["header",{"level":3},"xAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the scatter chart x axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]], xAxis: \"first\", yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\", yAxis: \"second\" }\n  ],\n  panes: [\n    { name: \"topPane\" },\n    { name: \"bottomPane\" },\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the x axis."],["header",{"level":4},"Example - set the scatter chart x axis plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":4},"Example - set the scatter chart x axis plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart x axis plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":4},"Example - set the scatter chart x axis plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart x axis plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"xAxis.reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  xAxis: {\n    reverse: true\n  }\n});\n</script>"],["header",{"level":3},"xAxis.startAngle ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The angle (degrees) where the 0 value is placed."],["para","Angles increase counterclockwise and zero is to the right. Negative values are acceptable."],["header",{"level":3},"xAxis.title ",["inlinecode","Object"]],["para","The title configuration of the scatter chart x axis."],["blockquote",["para","The ",["link",{"href":"#configuration-xAxis.title.text"},"xAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example - set the scatter chart x axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart x axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart x axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":4},"Example - set the scatter chart x axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart x axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the scatter chart x axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart x axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":4},"Example - set the scatter chart x axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the scatter chart x axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":4},"Example - set the scatter chart x axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart x axis title. By default the scatter chart x axis title is visible."],["header",{"level":4},"Example - hide the scatter chart x axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.type ",["inlinecode","String"]," ",["em","(default: \"numeric\")"]],["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]],["header",{"level":4},"Example - set the scatter chart x axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [new Date(\"01/01/2013\"), 2],\n        [new Date(\"01/02/2013\"), 2],\n        [new Date(\"01/03/2013\"), 2]\n      ]\n    }\n  ],\n  xAxis: {\n    type: \"date\"\n  }\n});\n</script>"],["header",{"level":3},"xAxis.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis. By default the x axis is visible."],["header",{"level":4},"Example - hide the scatter chart x axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: {\n    visible: false\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"xAxis.notes ",["inlinecode","Object"]],["para","The x axis notes configuration."],["header",{"level":3},"xAxis.notes.position ",["inlinecode","String"]],["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"xAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"xAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the x axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the x axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the x axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the x axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the x axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the x axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the x axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"xAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the x axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the x axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the x axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the x axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."],["header",{"level":4},"Example - hide the x axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the x axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the x axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"xAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"xAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the x axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the x axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the x axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"xAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"xAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the x axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"xAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"xAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the x axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the x axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the x axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the x axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the x axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the x axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the x axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"xAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the x axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the x axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the x axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the x axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the x axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x axis notes label. By default the x axis notes label are visible."],["header",{"level":4},"Example - hide the x axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the x axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the x axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the x axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the x axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"xAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"xAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the x axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the x axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"xAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the x axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  xAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis ",["inlinecode","Array"]],["para","The y axis configuration options of the scatter chart. Supports all ",["link",{"href":"#configuration-valueAxis"},"valueAxis"]," options."],["header",{"level":4},"Example - set the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    color: \"red\",\n    min: -5,\n    max: 5,\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.axisCrossingValue ",["inlinecode","Object|Date|Array"]],["para","Value at which the Y axis crosses this axis. (Only for object)"],["para","Value indices at which the Y axes cross the value axis. (Only for array)"],["para","Date at which the Y axis crosses this axis. (Only for date)"],["blockquote",["para","Set a value greater than or equal to the axis maximum value to denote the far end of the axis."]],["header",{"level":4},"Example - set the scatter chart y axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    axisCrossingValue: [1, 2]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":4},"Example - set the category axis crossing values"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    background: \"#ff0000\"\n  }\n});\n</script>"],["header",{"level":3},"yAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the axis labels. The default baseUnit is determined automatically from the value range. Available options:"],["bulletlist",["listitem","seconds"],["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"]],["header",{"level":4},"Example - set the scatter chart y axis base unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"hours\"\n  }\n});\n</script>"],["header",{"level":3},"yAxis.color ",["inlinecode","String"]],["para","The color of the axis. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    color: \"red\"\n  }\n});\n</script>"],["header",{"level":3},"yAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.visible"},"yAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the scatter chart y axis crosshair options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      color: \"green\",\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.dashType ",["inlinecode","string"]," ",["em","(default: \"solid\")"]],["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value crosshair line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      dashType: \"dashDot\",\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":4},"Example - set the scatter chart y axis crosshair opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      opacity: 0.1,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-yAxis.crosshair.tooltip.visible"},"yAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - configure the scatter chart y axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        background: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border options."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          color: \"black\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          dashType: \"dashDot\",\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        border: {\n          width: 2\n        },\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"#aa00bb\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"rgb(128, 0, 255)\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        color: \"green\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        font: \"20px sans-serif\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the value value."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        format: \"Year: {0}\",\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: 20,\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          bottom: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          left: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          right: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the crosshair tooltip."],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        padding: {\n          top: 20\n        },\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        template: \"Year: #: value #\",\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis crosshair tooltip template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    crosshair: {\n      tooltip: {\n        template: kendo.template(\"Year: #: value #\"),\n        visible: true\n      },\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair tooltip. By default the scatter chart y axis crosshair tooltip is not visible."],["header",{"level":4},"Example - show the scatter chart y axis crosshair tooltip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      tooltip: {\n        visible: true\n      },\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis crosshair. By default the scatter chart y axis crosshair is not visible."],["header",{"level":4},"Example - show the scatter chart y axis crosshair"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.crosshair.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the crosshair in pixels."],["header",{"level":4},"Example - set the scatter chart y axis crosshair width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    crosshair: {\n      width: 2,\n      visible: true\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.labels ",["inlinecode","Object"]],["para","The axis labels configuration."],["header",{"level":4},"Example - set the scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"green\",\n      color: \"white\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label background as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label background as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label background by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      background: \"red\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\",\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        color: \"green\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1,\n        dashType: \"dashDot\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      border: {\n        width: 1\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      color: \"red\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.culture ",["inlinecode","String"]],["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."],["header",{"level":3},"yAxis.labels.dateFormats ",["inlinecode","Object"]],["para","The format used to display the labels when the x values are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":4},"Example - set the scatter chart y axis date formats"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.dateFormats.days ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"days\"."],["header",{"level":4},"Example - set the days format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"days\",\n    labels: {\n      dateFormats: {\n        days: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.dateFormats.hours ",["inlinecode","String"]," ",["em","(default: \"HH:mm\")"]],["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":4},"Example - set the hours format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"hours\",\n    labels: {\n      dateFormats: {\n        hours: \"HH mm\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.dateFormats.months ",["inlinecode","String"]," ",["em","(default: \"MMM 'yy\")"]],["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"months\"."],["header",{"level":4},"Example - set the months format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"months\",\n    labels: {\n      dateFormats: {\n        months: \"MMM-yy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.dateFormats.weeks ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":4},"Example - set the weeks format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"weeks\",\n    labels: {\n      dateFormats: {\n        weeks: \"M-d\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.dateFormats.years ",["inlinecode","String"]," ",["em","(default: \"yyyy\")"]],["para","The format used when ",["link",{"href":"#configuration-yAxis.baseUnit"},"yAxis.baseUnit"]," is set to \"years\"."],["header",{"level":4},"Example - set the years format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\",\n    baseUnit: \"years\",\n    labels: {\n      dateFormats: {\n        years: \"yy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      font: \"20px sans-serif\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.format ",["inlinecode","String"]],["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the scatter chart y axis label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      format: \"{0:C\"}\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart y axis label margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: 10\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      margin: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.mirror ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      mirror: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis label padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: 10\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        bottom: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        left: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        right: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":4},"Example - set the scatter chart y axis label top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      padding: {\n        top: 10\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":4},"Example - set the scatter chart y axis label rotation"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      rotation: 90\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.skip ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The number of labels to skip."],["header",{"level":4},"Example - skip  scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      skip: 2\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":4},"Example - render every odd y axis label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ],\n  yAxis: {\n    labels: {\n      step: 2\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the scatter chart y axis label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      template: \"X: #: value #\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis label template as a function"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      template: kendo.template(\"X: #: value #\")\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis labels. By default the y axis labels are visible."],["header",{"level":4},"Example - hide the scatter chart y axis labels"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [ [1, 2] ]\n    }\n  ],\n  yAxis: {\n    labels: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.line ",["inlinecode","Object"]],["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":4},"Example - configure the scatter chart y axis line"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.line.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart y axis line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.line.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis lines. By default the y axis lines are visible."],["header",{"level":4},"Example - hide the scatter chart y axis lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart y axis line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    line: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines ",["inlinecode","Object"]],["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the scatter chart y axis major grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\",\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart x major grid lines color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart x major grid lines dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the x major grid liness. By default the x major grid liness are visible."],["header",{"level":4},"Example - hide the scatter chart x major grid liness"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines.\n#### Example - set the scatter chart x major grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the y axis major grid lines."],["header",{"level":4},"Example - set the y axis major grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the y axis major grid lines."],["header",{"level":4},"Example - set the y axis major grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines ",["inlinecode","Object"]],["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":4},"Example - configure the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis minor grid line color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the category axis minor grid line color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis minor grid line dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      dashType: \"dashDot\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":4},"Example - hide the category axis minor grid lines"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis minor grid lines in pixels."],["header",{"level":4},"Example - set the category axis minor grid lines width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    minorGridLines: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the y axis minor grid lines."],["header",{"level":4},"Example - set the y axis minor grid lines step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorGridLines: {\n      step: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the y axis minor grid lines."],["header",{"level":4},"Example - set the y axis minor grid lines skip"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorGridLines: {\n      skip: 2\n    }\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks ",["inlinecode","Object"]],["para","The configuration of the y axis minor ticks."],["header",{"level":4},"Example - configure the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the y axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis minor ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"#aa00bb\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the y axis minor ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"rgb(128, 0, 255)\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the y axis minor ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    minorTicks {\n      color: \"green\",\n      visible: true\n    }\n  },\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the y axis minor ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      size: 6,\n      visible: true\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis minor ticks. By default the y axis minor ticks are not visible."],["header",{"level":4},"Example - hide the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      visible: false\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":4},"Example - set the y axis minor ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      width: 3\n    }\n  }],\n  series: [\n    { data: [1, 2, 3] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the y axis minor ticks."],["header",{"level":4},"Example - set the y axis minor ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the y axis minor ticks."],["header",{"level":4},"Example - set the y axis minor ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    minorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks ",["inlinecode","Object"]],["para","The configuration of the scatter chart y axis major ticks."],["header",{"level":4},"Example - configure the scatter chart y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      size: 6,\n      color: \"green\",\n      width: 5\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the scatter chart y axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis major ticks color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"#aa00bb\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis major ticks color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"rgb(128, 0, 255)\"\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis major ticks color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      color: \"green\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":4},"Example - set the scatter chart y axis major ticks size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      size: 6\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis major ticks. By default the category axis major ticks are visible."],["header",{"level":4},"Example - hide the scatter chart y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      visible: false\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":4},"Example - set the scatter chart y axis major ticks width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorTicks: {\n      width: 3\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the y axis major ticks."],["header",{"level":4},"Example - set the y axis major ticks step"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    majorTicks: {\n      step: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the y axis major ticks."],["header",{"level":4},"Example - set the y axis major ticks"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  xAxis: [{\n    majorTicks: {\n      skip: 2\n    },\n    categories: [\"2011\", \"2012\", \"2013\"]\n  }],\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n</script>"],["header",{"level":3},"yAxis.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions.\nIf this is a date axis the value represents the number of ",["link",{"href":"#configuration-xAxis.baseUnit"},"xAxis.baseUnits"]," between major divisions."],["header",{"level":4},"Example - set the scatter chart y axis major unit"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    majorUnit: 1\n  }\n});\n</script>"],["header",{"level":4},"Example - set both the baseUnit and major unit for a date axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatterLine\",\n    data: [[1, new Date(2012, 0, 1)],[2, new Date(2012, 0, 10)]]\n  }],\n  yAxis: {\n    baseUnit: \"days\",\n    majorUnit: 5\n  }\n});\n</script>"],["header",{"level":3},"yAxis.max ",["inlinecode","Object"]],["para","The maximum value of the axis."],["header",{"level":4},"Example - set the scatter chart y axis maximum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    max: 5\n  }\n});\n</script>"],["header",{"level":3},"yAxis.min ",["inlinecode","Object"]],["para","The minimum value of the axis."],["header",{"level":4},"Example - set the scatter chart y axis minimum"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    min: 1\n  }\n});\n</script>"],["header",{"level":3},"yAxis.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions. It defaults to 1/5th of the ",["link",{"href":"#configuration-yAxis.majorUnit"},"yAxis.majorUnit"],"."],["header",{"level":3},"yAxis.name ",["inlinecode","Object"]," ",["em","(default: \"primary\")"]],["para","The unique axis name. Used to associate a series with a y axis using the ",["link",{"href":"#configuration-series.yAxis"},"series.yAxis"]," option."],["header",{"level":4},"Example - set the scatter chart y axis name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1000, 2000]], yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], yAxis: \"second\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\"}\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.narrowRange ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will prevent the automatic axis range from snapping to 0."],["header",{"level":4},"Example - prevent scatter chart y axis automatic range snapping"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    type: \"scatter\",\n    data: [[1, 1],[2, 2]]\n  }],\n  yAxis: {\n    narrowRange: false\n  }\n});\n</script>"],["header",{"level":3},"yAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":4},"Example - set the scatter chart y axis pane"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]], xAxis: \"first\", yAxis: \"first\" },\n    { type: \"scatter\", data: [[5, 6]], xAxis: \"second\", yAxis: \"second\" }\n  ],\n  panes: [\n    { name: \"topPane\" },\n    { name: \"bottomPane\" },\n  ],\n  xAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ],\n  yAxis: [\n    { name: \"first\"},\n    { name: \"second\", pane: \"bottomPane\" }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the y axis."],["header",{"level":4},"Example - set the scatter chart y axis plot bands"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":4},"Example - set the scatter chart y axis plot band color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart y axis plot band start position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":4},"Example - set the scatter chart y axis plot band opacity"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\", opacity: 0.5 }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":4},"Example - set the scatter chart y axis plot band end position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    plotBands: [\n      { from: 1, to: 2, color: \"red\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"yAxis.reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the value axis direction will be reversed. By default values increase from left to right and from bottom to top."],["header",{"level":4},"Example - reverse the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"scatter\", data: [[1, 2]]}\n  ],\n  yAxis: {\n    reverse: true\n  }\n});\n</script>"],["header",{"level":3},"yAxis.title ",["inlinecode","Object"]],["para","The title configuration of the scatter chart y axis."],["blockquote",["para","The ",["link",{"href":"#configuration-yAxis.title.text"},"yAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":4},"Example - set the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\",\n      border: {\n        width: 1,\n      }\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      background: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example - set the scatter chart y axis title border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        color: \"green\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the scatter chart y axis title border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        dashType: \"dashDot\",\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the scatter chart y axis title border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      border: {\n        width: 1\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the scatter chart y axis title color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"#aa00bb\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis title color as a RGB value"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"rgb(128, 0, 255)\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set the scatter chart y axis title color by name"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      color: \"green\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":4},"Example - set the scatter chart y axis title font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n       text: \"Years\",\n       font: \"20px sans-serif\",\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":4},"Example - set the scatter chart y axis title margin as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title bottom margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title left margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title right margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":4},"Example - set the scatter chart y axis title top margin"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      margin: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":4},"Example - set the scatter chart y axis title padding as a number"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: 20\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title bottom padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        bottom: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title left padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        left: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title right padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        right: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":4},"Example - set the scatter chart y axis title top padding"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      padding: {\n        top: 20\n      }\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":4},"Example - set the scatter chart y axis title position"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    title: {\n      text: \"Years\",\n      position: \"left\"\n    }\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":4},"Example - rotate the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\",\n      rotation: 90\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":4},"Example - set the scatter chart y axis title text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\"\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the scatter chart y axis title. By default the scatter chart y axis title is visible."],["header",{"level":4},"Example - hide the scatter chart y axis title"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: [{\n    title: {\n      text: \"Years\"\n      visible: false\n    }\n  }],\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.type ",["inlinecode","String"]," ",["em","(default: \"numeric\")"]],["para","The axis type."],["para","The supported values are:"],["bulletlist",["listitem","\"number\" - discrete category axis."],["listitem","\"date\" - specialized axis for displaying chronological data."]],["blockquote",["para","The chart will automatically switch to a date axis if the series X value\nis of type ",["inlinecode","Date"],". Set the ",["inlinecode","xAsix.type"]," when such behavior is undesired."]],["header",{"level":4},"Example - set the scatter chart y axis type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    {\n      type: \"scatter\",\n      data: [\n        [2, new Date(\"01/01/2013\")],\n        [2, new Date(\"01/02/2013\")],\n        [2, new Date(\"01/03/2013\")]\n      ]\n    }\n  ],\n  yAxis: {\n    type: \"date\"\n  }\n});\n</script>"],["header",{"level":3},"yAxis.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis. By default the y axis is visible."],["header",{"level":4},"Example - hide the scatter chart y axis"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  yAxis: {\n    visible: false\n  },\n  series: [\n    { type: \"scatter\", data: [[1, 2]] }\n  ]\n});\n</script>"],["header",{"level":3},"yAxis.notes ",["inlinecode","Object"]],["para","The y axis notes configuration."],["header",{"level":3},"yAxis.notes.position ",["inlinecode","String"]],["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"yAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"yAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the y axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the y axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the y axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the y axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the y axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the y axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the y axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"yAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the y axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the y axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the y axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the y axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."],["header",{"level":4},"Example - hide the y axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the y axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the y axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"yAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"yAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the y axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the y axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the y axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"yAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"yAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the y axis notes."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"yAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"yAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the y axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the y axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the y axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the y axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the y axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the y axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the y axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"yAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the y axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the y axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the y axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the y axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the y axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the y axis notes label. By default the y axis notes label are visible."],["header",{"level":4},"Example - hide the y axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the y axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the y axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the y axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the y axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"yAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"yAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the y axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the y axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"yAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the y axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  yAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.dataSource.add({ value: 2 });\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(0);\ndata.set(\"name\", \"John Doe\");\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 },\n    { value: 2 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar data = chart.dataSource.at(0);\nchart.dataSource.remove(data);\n</script>"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","The ",["link",{"href":"#configuration"},"configuration"]," options with which the chart is initialized."],["blockquote",["para","Call the ",["link",{"href":"#methods-refresh"},"refresh"]," method after modifying the ",["inlinecode","options"]," field."]],["header",{"level":4},"Example - change the chart options"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.options.series[0].type = \"bar\";\nchart.refresh();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.destroy();\n</script>"],["header",{"level":3},"redraw"],["para","Repaints the chart using the currently loaded data."],["header",{"level":4},"Example - redraw the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\n$(\"#chart\").css( { width: 300 });\nchart.redraw();\n</script>"],["header",{"level":3},"refresh"],["para","Reloads the data and renders the chart."],["header",{"level":4},"Example - refresh the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { type: \"line\", data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.options.series[0].type = \"bar\";\nchart.refresh();\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 },\n    { value: 2 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar dataSource = new kendo.data.DataSource( {\n  data: [\n    { value: 3 },\n    { value: 4 }\n  ]\n});\nchart.setDataSource(dataSource);\n</script>"],["header",{"level":3},"setOptions"],["para","Sets the widget options. Changes are cumulative."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The chart settings to update."],["header",{"level":4},"Example - change the chart theme"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  theme: \"black\",\n  series: [{\n    data: [1, 2, 3]\n  }]\n});\n\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.setOptions({ theme: \"uniform\" });\n</script>"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the chart."],["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"axisLabelClick"],["para","Fired when the user clicks an axis label."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label. Available only for data bound category axis."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The label text."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ],\n  axisLabelClick: function(e) {\n    console.log(e.axis.type, e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"axisLabelClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_axisLabelClick(e) {\n  console.log(e.axis.type, e.value);\n}\n$(\"#chart\").kendoChart({\n  categoryAxis: {\n    categories: [2012, 2013]\n  },\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"axisLabelClick\", chart_axisLabelClick);\n</script>"],["header",{"level":3},"legendItemClick"],["para","Fires when an legend item is clicked."],["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":3},"legendItemHover"],["para","Fires when an legend item is hovered."],["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#chart\").kendoChart({\n  autoBind: false,\n  dataSource: [\n    { value: 1 }\n  ],\n  series: [\n    { field: \"value\" }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dataBound\", chart_dataBound);\nchart.dataSource.fetch();\n</script>"],["header",{"level":3},"drag"],["para","Fired as long as the user is dragging the chart using the mouse or swipe gestures."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  drag: function(e) {\n    console.log(\"drag\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_drag(e) {\n  console.log(\"drag\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"drag\", chart_drag);\n</script>"],["header",{"level":3},"dragEnd"],["para","Fired when the user stops dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the dragEnd action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dragEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragEnd: function(e) {\n    console.log(\"dragEnd\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragEnd(e) {\n  console.log(\"dragEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragEnd\", chart_dragEnd);\n</script>"],["header",{"level":3},"dragStart"],["para","Fired when the user starts dragging the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the drag operation will abort."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dragStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  dragStart: function(e) {\n    console.log(\"dragStart\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_dragStart(e) {\n  console.log(\"dragStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"dragStart\", chart_dragStart);\n</script>"],["header",{"level":3},"noteClick"],["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":4},"Example - subscribe to the \"noteClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteClick: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"noteClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteClick(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteClick\", chart_noteClick);\n</script>"],["header",{"level":3},"noteHover"],["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":4},"Example - subscribe to the \"noteHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }],\n  noteHover: function(e) {\n    console.log(e.text);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"noteHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_noteHover(e) {\n  console.log(e.text);\n}\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [{ value: 1, noteText: \"a\" }]\n  }]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"noteHover\", chart_noteHover);\n</script>"],["header",{"level":3},"plotAreaClick"],["para","Fired when the user clicks the plot area."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  plotAreaClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"plotAreaClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_plotAreaClick(e) {\n  console.log(e.value);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"plotAreaClick\", chart_plotAreaClick);\n</script>"],["header",{"level":3},"select"],["para","Fired when the user modifies the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  select: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_select(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"select\", chart_select);\n</script>"],["header",{"level":3},"selectEnd"],["para","Fired when the user completes modifying the selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"selectEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectEnd: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"selectEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectEnd(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    selectEnd: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectEnd\", chart_selectEnd);\n</script>"],["header",{"level":3},"selectStart"],["para","Fired when the user starts modifying the axis selection."],["para","The range units are:"],["bulletlist",["listitem","Generic axis - Category index (0-based)"],["listitem","Date axis - Date instance"]],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para","The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless the axis is justified. In this case it is at index [to]."],["header",{"level":4},"Example - subscribe to the \"selectStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  },\n  selectStart: function(e) {\n    console.log(e.from, e.to);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"selectStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_selectStart(e) {\n  console.log(e.from, e.to);\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 10] }\n  ],\n  categoryAxis: {\n    categories: [2011, 2012, 2013],\n    select: {\n      from: 1,\n      to: 5\n    }\n  }\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"selectStart\", chart_selectStart);\n</script>"],["header",{"level":3},"seriesClick"],["para","Fired when the user clicks the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":4},"Example - subscribe to the \"seriesClick\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesClick: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"seriesClick\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesClick(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesClick\", chart_seriesClick);\n</script>"],["header",{"level":3},"seriesHover"],["para","Fired when the user hovers the chart series."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":4},"Example - subscribe to the \"seriesHover\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  seriesHover: function(e) {\n    console.log(e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"seriesHover\" event after initialization"],["code_block","<div id=\"chart\"></div>\nfunctino chart_seriesHover(e) {\n  console.log(e.value);\n}\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"seriesHover\", chart_seriesHover);\n</script>"],["header",{"level":3},"zoom"],["para","Fired as long as the user is zooming the chart using the mousewheel."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction. A negative value indicates \"zoom in\", while a positive \"zoom out\".\n##### e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoom\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoom: function(e) {\n    console.log(\"zoom\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoom\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoom(e) {\n  console.log(\"zoom\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoom\", chart_zoom);\n</script>"],["header",{"level":3},"zoomEnd"],["para","Fired when the user stops zooming the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoomEnd action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomEnd: function(e) {\n    console.log(\"zoomEnd\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoomEnd\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomEnd(e) {\n  console.log(\"zoomEnd\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomEnd\", chart_zoomEnd);\n</script>"],["header",{"level":3},"zoomStart"],["para","Fired when the user uses the mousewheel to zoom the chart."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes. The axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the zoom operation will abort."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"zoomStart\" event during initialization"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ],\n  zoomStart: function(e) {\n    console.log(\"zoomStart\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"zoomStart\" event after initialization"],["code_block","<div id=\"chart\"></div>\n<script>\nfunction chart_zoomStart(e) {\n  console.log(\"zoomStart\");\n}\n$(\"#chart\").kendoChart({\n  series: [\n    { data: [1, 2] }\n  ]\n});\nvar chart = $(\"#chart\").data(\"kendoChart\");\nchart.bind(\"zoomStart\", chart_zoomStart);\n</script>"]]},"kendo.dataviz.ui.LinearGauge":{"file":"api/dataviz/lineargauge.md","name":"kendo.dataviz.ui.LinearGauge","config":[{"name":"gaugeArea","type":["Object"],"short_doc":[["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."]],"doc":[["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The width of the gauge area.  By default the vertical gauge is 60px and\nhorizontal gauge is 200px."]],"doc":[["para","The width of the gauge area.  By default the vertical gauge is 60px and\nhorizontal gauge is 200px."]],"orig":"gaugeArea.width"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the gauge area."]],"doc":[["para"," The margin of the gauge area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"gaugeArea.margin"},{"name":"height","type":["Number"],"short_doc":[["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."]],"doc":[["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."]],"orig":"gaugeArea.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the gauge area."]],"doc":[["para","The border of the gauge area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"gaugeArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"gaugeArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"gaugeArea.border.color"}],"orig":"gaugeArea.border"},{"name":"background","type":["Object"],"default":"\"white\"","short_doc":[["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"gaugeArea.background"}]},{"name":"pointer","type":["Object"],"short_doc":[["para","The pointer configuration options."]],"doc":[["para","The pointer configuration options."]],"sub":[{"name":"value","type":["Number"],"short_doc":[["para","The value of the gauge."]],"doc":[["para","The value of the gauge."]],"orig":"pointer.value"},{"name":"track","type":["Object"],"short_doc":[["para","The element arround/under the pointer.\n(available only for 'barIndicator' shape)"]],"doc":[["para","The element arround/under the pointer.\n(available only for 'barIndicator' shape)"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the track."]],"doc":[["para"," The visibility of the track."]],"orig":"pointer.track.visible"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the track."]],"doc":[["para","The size of the track."]],"orig":"pointer.track.size"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the track."]],"doc":[["para","The opacity of the track."]],"orig":"pointer.track.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the track."]],"doc":[["para","The color of the track."]],"orig":"pointer.track.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the track."]],"doc":[["para","The border of the track."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"pointer.track.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"pointer.track.border.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"pointer.track.border.color"}],"orig":"pointer.track.border"}],"orig":"pointer.track"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the pointer."]],"doc":[["para","The size of the pointer."]],"orig":"pointer.size"},{"name":"shape","type":["String"],"short_doc":[["para","The shape of the pointer."]],"doc":[["para","The shape of the pointer."],["header",{"level":4},["em","\"barIndicator\""]],["para","Specifies a filling bar indicator."],["header",{"level":4},["em","\"arrow\""]],["para","Specifies a arrow shape."]],"orig":"pointer.shape"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para"," The opacity of the pointer.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para"," The opacity of the pointer.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"pointer.opacity"},{"name":"margin","type":["Number","Object"],"default":"3","short_doc":[["para"," The margin of the pointer."]],"doc":[["para"," The margin of the pointer."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"pointer.margin"},{"name":"color","type":["String"],"short_doc":[["para","The color of the pointer."]],"doc":[["para","The color of the pointer."]],"orig":"pointer.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the pointer."]],"doc":[["para","The border of the pointer."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"pointer.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"pointer.border.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the border.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"pointer.border.color"}],"orig":"pointer.border"}]},{"name":"renderAs","type":["String"],"short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"Example - Render as Canvas, if supported","type":[],"short_doc":[["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"]],"doc":[["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"]]},{"name":"scale","type":["Object"],"short_doc":[["para","Configures the scale."]],"doc":[["para","Configures the scale."]],"sub":[{"name":"vertical","type":["Boolean"],"short_doc":[["para","The position of the gauge."]],"doc":[["para","The position of the gauge."]],"orig":"scale.vertical"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the axis direction - values increase from right to left and from top to bottom."]],"doc":[["para","Reverses the axis direction - values increase from right to left and from top to bottom."]],"orig":"scale.reverse"},{"name":"rangePlaceholderColor","type":["String"],"short_doc":[["para","The default color for the ranges."]],"doc":[["para","The default color for the ranges."]],"orig":"scale.rangePlaceholderColor"},{"name":"ranges","type":["Array"],"short_doc":[["para","The ranges of the scale."]],"doc":[["para","The ranges of the scale."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").kendoLinearGauge({\n    scale: {\n        ranges: [{\n            from: 10,\n            to: 20,\n            color: \"green\"\n        }]\n    }\n });"]],"sub":[{"name":"color","type":["String"],"short_doc":[["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.ranges.color"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the range."]],"doc":[["para","The opacity of the range."]],"orig":"scale.ranges.opacity"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the range in scale units."]],"doc":[["para","The end position of the range in scale units."]],"orig":"scale.ranges.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the range in scale units."]],"doc":[["para","The start position of the range in scale units."]],"orig":"scale.ranges.from"}],"orig":"scale.ranges"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","Mirrors the scale labels and ticks.\nIf the labels are normally on the left side of the scale, mirroring the scale will render them to the right."]],"doc":[["para","Mirrors the scale labels and ticks.\nIf the labels are normally on the left side of the scale, mirroring the scale will render them to the right."]],"orig":"scale.mirror"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions."]],"doc":[["para","The interval between minor divisions."]],"orig":"scale.minorUnit"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","Configures the scale minor ticks."]],"doc":[["para","Configures the scale minor ticks."]],"sub":[{"name":"width","type":["Number"],"default":"0.5","short_doc":[["para"," The width of the minor ticks."]],"doc":[["para"," The width of the minor ticks."]],"orig":"scale.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the minor ticks."]],"doc":[["para"," The visibility of the minor ticks."]],"orig":"scale.minorTicks.visible"},{"name":"size","type":["Number"],"short_doc":[["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"doc":[["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"orig":"scale.minorTicks.size"},{"name":"color","type":["String"],"short_doc":[["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.minorTicks.color"}],"orig":"scale.minorTicks"},{"name":"min","type":["Number"],"default":"0","short_doc":[["para"," The minimum value of the scale."]],"doc":[["para"," The minimum value of the scale."]],"orig":"scale.min"},{"name":"max","type":["Number"],"default":"100","short_doc":[["para"," The maximum value of the scale."]],"doc":[["para"," The maximum value of the scale."]],"orig":"scale.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions."]],"doc":[["para","The interval between major divisions."]],"orig":"scale.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","Configures the scale major ticks."]],"doc":[["para","Configures the scale major ticks."]],"sub":[{"name":"width","type":["Number"],"default":"0.5","short_doc":[["para"," The width of the major ticks."]],"doc":[["para"," The width of the major ticks."]],"orig":"scale.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the major ticks."]],"doc":[["para"," The visibility of the major ticks."]],"orig":"scale.majorTicks.visible"},{"name":"size","type":["Number"],"short_doc":[["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"doc":[["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"orig":"scale.majorTicks.size"},{"name":"color","type":["String"],"short_doc":[["para","The color of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.majorTicks.color"}],"orig":"scale.majorTicks"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the scale labels."]],"doc":[["para","Configures the scale labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"scale.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#linear-gauge\").kendoLinearGauge({\n     scale: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"]],"orig":"scale.labels.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."]],"orig":"scale.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the labels."]],"doc":[["para"," The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"scale.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").kendoLinearGauge({\n    scale: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    }\n});"]],"orig":"scale.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"scale.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"scale.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"scale.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"scale.labels.border.color"}],"orig":"scale.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"]],"doc":[["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"]],"orig":"scale.labels.background"}],"orig":"scale.labels"},{"name":"line","type":["Object"],"short_doc":[["para","Configures the axis line."]],"doc":[["para","Configures the axis line."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line.."]],"doc":[["para","The width of the line.."]],"orig":"scale.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"scale.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."]],"doc":[["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"scale.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"orig":"scale.line.color"}],"orig":"scale.line"}]},{"name":"transitions","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if transition animations should be played."]],"doc":[["para","A value indicating if transition animations should be played."]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#linear-gauge\"));\n$(\"#linear-gauge\").remove();"]],"examples":[[["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#linear-gauge\"));\n$(\"#linear-gauge\").remove();"]]]},{"name":"redraw","args":[],"short_doc":[["para","Redraws the gauge."]],"doc":[["para","Redraws the gauge."],["header",{"level":4},"Example"],["code_block","var gauge = $(\"#linear-gauge\").data(\"kendoLinearGauge\");\ngauge.redraw();"]],"examples":[[["header",{"level":4},"Example"],["code_block","var gauge = $(\"#linear-gauge\").data(\"kendoLinearGauge\");\ngauge.redraw();"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]},{"name":"value","args":[],"short_doc":[["para","Change the value of the gauge."]],"doc":[["para","Change the value of the gauge."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").data(\"kendoLinearGauge\").value(20);"]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").data(\"kendoLinearGauge\").value(20);"]]]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"gaugeArea ",["inlinecode","Object"]],["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."],["header",{"level":3},"gaugeArea.background ",["inlinecode","Object"],["em","(default: \"white\")"]],["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"gaugeArea.border ",["inlinecode","Object"]],["para","The border of the gauge area."],["header",{"level":3},"gaugeArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"gaugeArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"gaugeArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"gaugeArea.height ",["inlinecode","Number"]],["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."],["header",{"level":3},"gaugeArea.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para"," The margin of the gauge area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"gaugeArea.width ",["inlinecode","Number"]],["para","The width of the gauge area.  By default the vertical gauge is 60px and\nhorizontal gauge is 200px."],["header",{"level":3},"pointer ",["inlinecode","Object"]],["para","The pointer configuration options."],["header",{"level":3},"pointer.border ",["inlinecode","Object"]],["para","The border of the pointer."],["header",{"level":3},"pointer.border.color ",["inlinecode","String"]],["para","The color of the border.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"pointer.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"pointer.border.width ",["inlinecode","Number"],["em","(default: 1)"]],["para"," The width of the border."],["header",{"level":3},"pointer.color ",["inlinecode","String"]],["para","The color of the pointer."],["header",{"level":3},"pointer.margin ",["inlinecode","Number|Object"],["em","(default: 3)"]],["para"," The margin of the pointer."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"pointer.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para"," The opacity of the pointer.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"pointer.shape ",["inlinecode","String"]],["para","The shape of the pointer."],["header",{"level":4},["em","\"barIndicator\""]],["para","Specifies a filling bar indicator."],["header",{"level":4},["em","\"arrow\""]],["para","Specifies a arrow shape."],["header",{"level":3},"pointer.size ",["inlinecode","Number"]],["para","The size of the pointer."],["header",{"level":3},"pointer.track ",["inlinecode","Object"]],["para","The element arround/under the pointer.\n(available only for 'barIndicator' shape)"],["header",{"level":3},"pointer.track.border ",["inlinecode","Object"]],["para","The border of the track."],["header",{"level":3},"pointer.track.border.color ",["inlinecode","String"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"pointer.track.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"pointer.track.border.width ",["inlinecode","Number"],["em","(default: 1)"]],["para"," The width of the border."],["header",{"level":3},"pointer.track.color ",["inlinecode","String"]],["para","The color of the track."],["header",{"level":3},"pointer.track.opacity ",["inlinecode","Number"]],["para","The opacity of the track."],["header",{"level":3},"pointer.track.size ",["inlinecode","Number"]],["para","The size of the track."],["header",{"level":3},"pointer.track.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the track."],["header",{"level":3},"pointer.value ",["inlinecode","Number"]],["para","The value of the gauge."],["header",{"level":3},"renderAs ",["inlinecode","String"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"Example - Render as Canvas, if supported"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"],["header",{"level":3},"scale ",["inlinecode","Object"]],["para","Configures the scale."],["header",{"level":3},"scale.line ",["inlinecode","Object"]],["para","Configures the axis line."],["header",{"level":3},"scale.line.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.line.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"scale.line.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the lines."],["header",{"level":3},"scale.line.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the line.."],["header",{"level":3},"scale.labels ",["inlinecode","Object"]],["para","Configures the scale labels."],["header",{"level":3},"scale.labels.background ",["inlinecode","String"]],["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"],["header",{"level":3},"scale.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"scale.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"scale.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"scale.labels.color ",["inlinecode","String"]],["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"scale.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").kendoLinearGauge({\n    scale: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    }\n});"],["header",{"level":3},"scale.labels.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para"," The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"scale.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":3},"scale.labels.template ",["inlinecode","String|Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#linear-gauge\").kendoLinearGauge({\n     scale: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"],["header",{"level":3},"scale.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the labels."],["header",{"level":3},"scale.majorTicks ",["inlinecode","Object"]],["para","Configures the scale major ticks."],["header",{"level":3},"scale.majorTicks.color ",["inlinecode","String"]],["para","The color of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.majorTicks.size ",["inlinecode","Number"]],["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."],["header",{"level":3},"scale.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the major ticks."],["header",{"level":3},"scale.majorTicks.width ",["inlinecode","Number"],["em","(default: 0.5)"]],["para"," The width of the major ticks."],["header",{"level":3},"scale.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions."],["header",{"level":3},"scale.max ",["inlinecode","Number"],["em","(default: 100)"]],["para"," The maximum value of the scale."],["header",{"level":3},"scale.min ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The minimum value of the scale."],["header",{"level":3},"scale.minorTicks ",["inlinecode","Object"]],["para","Configures the scale minor ticks."],["header",{"level":3},"scale.minorTicks.color ",["inlinecode","String"]],["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.minorTicks.size ",["inlinecode","Number"]],["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."],["header",{"level":3},"scale.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the minor ticks."],["header",{"level":3},"scale.minorTicks.width ",["inlinecode","Number"],["em","(default: 0.5)"]],["para"," The width of the minor ticks."],["header",{"level":3},"scale.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions."],["header",{"level":3},"scale.mirror ",["inlinecode","Boolean"]],["para","Mirrors the scale labels and ticks.\nIf the labels are normally on the left side of the scale, mirroring the scale will render them to the right."],["header",{"level":3},"scale.ranges ",["inlinecode","Array"]],["para","The ranges of the scale."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").kendoLinearGauge({\n    scale: {\n        ranges: [{\n            from: 10,\n            to: 20,\n            color: \"green\"\n        }]\n    }\n });"],["header",{"level":3},"scale.ranges.from ",["inlinecode","Number"]],["para","The start position of the range in scale units."],["header",{"level":3},"scale.ranges.to ",["inlinecode","Number"]],["para","The end position of the range in scale units."],["header",{"level":3},"scale.ranges.opacity ",["inlinecode","Number"]],["para","The opacity of the range."],["header",{"level":3},"scale.ranges.color ",["inlinecode","String"]],["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.rangePlaceholderColor ",["inlinecode","String"]],["para","The default color for the ranges."],["header",{"level":3},"scale.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the axis direction - values increase from right to left and from top to bottom."],["header",{"level":3},"scale.vertical ",["inlinecode","Boolean"]],["para","The position of the gauge."],["header",{"level":3},"transitions ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if transition animations should be played."],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#linear-gauge\"));\n$(\"#linear-gauge\").remove();"],["header",{"level":3},"redraw"],["para","Redraws the gauge."],["header",{"level":4},"Example"],["code_block","var gauge = $(\"#linear-gauge\").data(\"kendoLinearGauge\");\ngauge.redraw();"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoLinearGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoLinearGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":3},"value"],["para","Change the value of the gauge."],["header",{"level":4},"Example"],["code_block","$(\"#linear-gauge\").data(\"kendoLinearGauge\").value(20);"]]},"kendo.dataviz.ui.Map":{"file":"api/dataviz/map.md","name":"kendo.dataviz.ui.Map","config":[{"name":"center","type":["Array","kendo.dataviz.map.Location"],"short_doc":[["para","The map center. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."]],"doc":[["para","The map center. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."],["header",{"level":4},"Example - setting the map center"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        center: [30.268107, -97.744821],\n        zoom: 3,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]]},{"name":"controls","type":["Object"],"short_doc":[["para","The configuration of built-in map controls."]],"doc":[["para","The configuration of built-in map controls."],["header",{"level":4},"Example - hide all controls"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: false,\n            navigator: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"sub":[{"name":"zoom","type":["Boolean","Object"],"default":"true","short_doc":[["para","Enables or disables the built-in zoom control (+/- button)."]],"doc":[["para","Enables or disables the built-in zoom control (+/- button)."],["header",{"level":4},"Example - hide the zoom control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            zoom: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"sub":[{"name":"position","type":["String"],"default":"\"topLeft\"","short_doc":[["para","The position of the zoom control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]]],"doc":[["para","The position of the zoom control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the zoom control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            zoom: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"controls.zoom.position"}],"orig":"controls.zoom"},{"name":"navigator","type":["Boolean","Object"],"default":"true","short_doc":[["para","Enables or disables the built-in navigator control (directional pad)."]],"doc":[["para","Enables or disables the built-in navigator control (directional pad)."],["header",{"level":4},"Example - hide the navigator control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            navigator: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"sub":[{"name":"position","type":["String"],"default":"\"topLeft\"","short_doc":[["para","The position of the navigator control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]]],"doc":[["para","The position of the navigator control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the navigator control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            navigator: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"controls.navigator.position"}],"orig":"controls.navigator"},{"name":"attribution","type":["Boolean","Object"],"default":"true","short_doc":[["para","Enables or disables the built-in attribution control."]],"doc":[["para","Enables or disables the built-in attribution control."],["header",{"level":4},"Example - hide the attribution control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"sub":[{"name":"position","type":["String"],"default":"\"bottomRight\"","short_doc":[["para","The position of the attribution control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]]],"doc":[["para","The position of the attribution control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the attribution control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"controls.attribution.position"}],"orig":"controls.attribution"}]},{"name":"layerDefaults","type":["Object"],"short_doc":[["para","The default configuration for map layers by type."]],"doc":[["para","The default configuration for map layers by type."],["header",{"level":4},"Example - set tile layer defaults"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"sub":[{"name":"bing","type":["Object"],"short_doc":[["para","The default configuration for bing layers."]],"doc":[["para","The default configuration for bing layers."],["header",{"level":4},"Example - set default options for all bing layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                opacity: 0.8\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"]],"sub":[{"name":"key","type":["String"],"short_doc":[["para","The key of all bing layers."]],"doc":[["para","The key of all bing layers."],["header",{"level":4},"Example - set bing layer default key"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n\t    key: \"Your bing map key\"\n            }\n        },\n        layers: [{\n            type: \"bing\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.bing.key"},{"name":"opacity","type":["String"],"default":"1","short_doc":[["para","The the opacity of all bing layers."]],"doc":[["para","The the opacity of all bing layers."],["header",{"level":4},"Example - set bing layer default opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.bing.opacity"},{"name":"attribution","type":["String"],"short_doc":[["para","The attribution of all bing layers."]],"doc":[["para","The attribution of all bing layers."],["header",{"level":4},"Example - set default attribution for all bing layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                attribution: \"&copy; BingMap\"\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.bing.attribution"}],"orig":"layerDefaults.bing"},{"name":"tile","type":["Object"],"short_doc":[["para","The default configuration for tile layers."]],"doc":[["para","The default configuration for tile layers."],["header",{"level":4},"Example - set default options for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.8,\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\"\n        }]\n    });\n</script>"]],"sub":[{"name":"opacity","type":["String"],"default":"1","short_doc":[["para","The the opacity of all tile layers."]],"doc":[["para","The the opacity of all tile layers."],["header",{"level":4},"Example - set tile layer default opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.tile.opacity"},{"name":"subdomains","type":["Array"],"short_doc":[["para","The subdomain of all tile layers."]],"doc":[["para","The subdomain of all tile layers."],["header",{"level":4},"Example - set subdomains for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                subdomains: [\"a\", \"b\", \"c\"]\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.tile.subdomains"},{"name":"attribution","type":["String"],"short_doc":[["para","The attribution of all tile layers."]],"doc":[["para","The attribution of all tile layers."],["header",{"level":4},"Example - set default attribution for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.tile.attribution"},{"name":"urlTemplate","type":["String"],"short_doc":[["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]]],"doc":[["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]],["header",{"level":4},"Example - set default URL template for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\"\n        }]\n    });\n</script>"]],"orig":"layerDefaults.tile.urlTemplate"}],"orig":"layerDefaults.tile"},{"name":"shape","type":["Object"],"short_doc":[["para","The default configuration for shape layers."]],"doc":[["para","The default configuration for shape layers."],["header",{"level":4},"Example"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                attribution: \"&copy; Company Inc.\"\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"style","type":["Object"],"short_doc":[["para","The default style for shapes."]],"doc":[["para","The default style for shapes."],["header",{"level":4},"Example - Set default style for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    },\n                    stroke: {\n                        color: \"green\",\n                        width: 4,\n                        dashType: \"longDashDot\",\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"stroke","type":["Object"],"short_doc":[["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."]],"doc":[["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - Set default stroke for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        color: \"green\",\n                        width: 4,\n                        dashType: \"longDashDot\",\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The default stroke width for layer shapes."]],"doc":[["para","The default stroke width for layer shapes."],["header",{"level":4},"Example - Set default stroke width for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.stroke.width"},{"name":"opacity","type":["Number"],"short_doc":[["para","The default stroke opacity (0 to 1) for layer shapes."]],"doc":[["para","The default stroke opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - Set default stroke with opacity for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4,\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.stroke.opacity"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - Set default dashed stroke for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4,\n                        dashType: \"longDashDot\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.stroke.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - Set default stroke color for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        color: \"green\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.stroke.color"}],"orig":"layerDefaults.shape.style.stroke"},{"name":"fill","type":["Object"],"short_doc":[["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."]],"doc":[["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - Set default fill for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The default fill opacity (0 to 1) for layer shapes."]],"doc":[["para","The default fill opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - Set default fill with opacity for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.fill.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - Set default fill color for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.style.fill.color"}],"orig":"layerDefaults.shape.style.fill"}],"orig":"layerDefaults.shape.style"},{"name":"attribution","type":["String"],"short_doc":[["para","The attribution for all shape layers."]],"doc":[["para","The attribution for all shape layers."],["header",{"level":4},"Example - set default attribution for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                attribution: \"&copy; Company Inc.\"\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layerDefaults.shape.attribution"}],"orig":"layerDefaults.shape"}]},{"name":"layers","type":["Array"],"short_doc":[["para","The configuration of the map layers.\nThe layer type is determined by the value of the type field."]],"doc":[["para","The configuration of the map layers.\nThe layer type is determined by the value of the type field."],["header",{"level":4},"Example - configure map layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }, {\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"urlTemplate","type":["String"],"short_doc":[["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]]],"doc":[["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]],["header",{"level":4},"Example - setting URL template for tile layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layers.urlTemplate"},{"name":"style","type":["Object"],"short_doc":[["para","The default style for shapes."]],"doc":[["para","The default style for shapes."],["header",{"level":4},"Example - setting style for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 1\n                },\n                stroke: {\n                    color: \"green\",\n                    width: 4,\n                    dashType: \"longDashDot\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"stroke","type":["Object"],"short_doc":[["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."]],"doc":[["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - setting stroke style for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    color: \"green\",\n                    width: 4,\n                    dashType: \"longDashDot\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The default stroke width for layer shapes."]],"doc":[["para","The default stroke width for layer shapes."],["header",{"level":4},"Example - setting stroke width for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.stroke.width"},{"name":"opacity","type":["Number"],"short_doc":[["para","The default stroke opacity (0 to 1) for layer shapes."]],"doc":[["para","The default stroke opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - setting stroke opacity for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4,\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.stroke.opacity"},{"name":"dashType","type":["Number"],"default":"1","short_doc":[["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - setting stroke dash type for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4,\n                    dashType: \"longDashDot\"\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.stroke.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - setting stroke color for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    color: \"green\",\n                    width: 4\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.stroke.color"}],"orig":"layers.style.stroke"},{"name":"fill","type":["Object"],"short_doc":[["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."]],"doc":[["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example set shape fill"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 1\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The default fill opacity (0 to 1) for layer shapes."]],"doc":[["para","The default fill opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - setting fill opacity for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.fill.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - setting fill color for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\"\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"]],"orig":"layers.style.fill.color"}],"orig":"layers.style.fill"}],"orig":"layers.style"},{"name":"opacity","type":["String"],"default":"1","short_doc":[["para","The the opacity for the layer."]],"doc":[["para","The the opacity for the layer."],["header",{"level":4},"Example - setting layer opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            opacity: 0.5,\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layers.opacity"},{"name":"subdomains","type":["Array"],"short_doc":[["para","A list of subdomains to use for loading tiles.\nAlternating between different subdomains allows more requests to be executed in parallel."]],"doc":[["para","A list of subdomains to use for loading tiles.\nAlternating between different subdomains allows more requests to be executed in parallel."],["header",{"level":4},"Example - setting subdomains for OpenStreetMap tiles"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layers.subdomains"},{"name":"attribution","type":["String"],"short_doc":[["para","The attribution for the layer. Accepts valid HTML."]],"doc":[["para","The attribution for the layer. Accepts valid HTML."],["header",{"level":4},"Example - set attribution text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layers.attribution"},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the layer. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."]],"doc":[["para","The data source of the layer. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["header",{"level":4},"Example - binding to inline GeoJSON data"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":4},"Example - binding to existing data source"],["code_block","<div id=\"map\"></div>\n<script>\n    var ds = new kendo.data.DataSource({\n        type: \"geojson\",\n        data: [{\n            \"type\": \"Polygon\",\n            \"coordinates\": [\n                [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n            ]\n        }]\n    });\n\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: ds\n        }]\n    });\n</script>"]],"orig":"layers.dataSource"},{"name":"key","type":["String"],"short_doc":[["para","The key of the bing layer."]],"doc":[["para","The key of the bing layer."],["header",{"level":4},"Example - set bing layer key"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"bing\",\n\tkey: \"Your bing map key\"\n        }]\n    });\n</script>"]],"orig":"layers.key"},{"name":"type","type":["String"],"short_doc":[["para","The layer type. Supported types are:"],["bulletlist",["listitem","\"bing\" - a generic a bing layer"],["listitem","\"tile\" - a generic \"slippy map\" tile layer"],["listitem","\"shape\" - a vector shape layer, e.g. bound to GeoJSON data"]]],"doc":[["para","The layer type. Supported types are:"],["bulletlist",["listitem","\"bing\" - a generic a bing layer"],["listitem","\"tile\" - a generic \"slippy map\" tile layer"],["listitem","\"shape\" - a vector shape layer, e.g. bound to GeoJSON data"]],["header",{"level":4},"Example - creating a tile layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"]],"orig":"layers.type"},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the layer will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple layers (widgets) are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the layer will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple layers (widgets) are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - using manual binding"],["code_block","<div id=\"map\"></div>\n<script>\n    var ds = new kendo.data.DataSource({\n        type: \"geojson\",\n        data: [{\n            \"type\": \"Polygon\",\n            \"coordinates\": [\n                [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n            ]\n        }]\n    });\n\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            autoBind: false,\n            dataSource: ds\n        }]\n    });\n\n    ds.read();\n</script>"]],"orig":"layers.autoBind"}]},{"name":"markerDefaults","type":["Object"],"short_doc":[["para","The default options for all markers."]],"doc":[["para","The default options for all markers."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","Default Kendo UI Tooltip options for this marker."]],"doc":[["para","Default Kendo UI Tooltip options for this marker."]],"sub":[{"name":"showOn","type":["String"],"default":"\"click\"","short_doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."]],"doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - show tooltip on mouse enter"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                showOn: \"mouseenter\",\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.showOn"},{"name":"showAfter","type":["Number"],"default":"100","short_doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."]],"doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                showOn: \"mouseenter\",\n                showAfter: 1000,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.showAfter"},{"name":"position","type":["String"],"default":"\"top\"","short_doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."]],"doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                position: \"left\",\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.position"},{"name":"width","type":["Number"],"default":"Infinity","short_doc":[["para","The width (in pixels) of the tooltip."]],"doc":[["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                width: 80,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.width"},{"name":"height","type":["Number"],"default":"Infinity","short_doc":[["para","The height (in pixels) of the tooltip."]],"doc":[["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                height: 80,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.height"},{"name":"iframe","type":["Boolean"],"short_doc":[["para","Explicitly states whether content iframe should be created."]],"doc":[["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                  iframe: true,\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.iframe"},{"name":"callout","type":["Boolean"],"default":"true","short_doc":[["para","Specifies if the tooltip callout will be displayed."]],"doc":[["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                callout: false,\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.callout"},{"name":"template","type":["String","Template"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]],["header",{"level":4},"Example - set tooltip template"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.template"},{"name":"content","type":["Object","String","Function"],"short_doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."]],"doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                content: function(e) {\n                    var marker = e.sender.marker;\n                    return marker.options.location.toString();\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"sub":[{"name":"url","type":["String"],"short_doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]]],"doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.content.url"}],"orig":"markerDefaults.tooltip.content"},{"name":"animation","type":["Object"],"short_doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."]],"doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: false\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip opens."]],"doc":[["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\",\n                        duration: 1000\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        duration: \"1000\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for opening of the Tooltip."]],"doc":[["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.animation.open.effects"}],"orig":"markerDefaults.tooltip.animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip closes."]],"doc":[["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                  close: {\n                    effects: \"fade:out\"\n                  }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    close: {\n                        duration: 1000\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for closing of the tooltip."]],"doc":[["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    close: {\n                        effects: \"fade:out\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.animation.close.effects"}],"orig":"markerDefaults.tooltip.animation.close"}],"orig":"markerDefaults.tooltip.animation"},{"name":"autoHide","type":["Boolean"],"default":"false","short_doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."]],"doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - hide tooltip on mouse leave"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                autoHide: true\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"]],"orig":"markerDefaults.tooltip.autoHide"}],"orig":"markerDefaults.tooltip"},{"name":"shape","type":["String"],"default":"\"pinTarget\"","short_doc":[["para","The default marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."]],"doc":[["para","The default marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"orig":"markerDefaults.shape"}]},{"name":"markers","type":["Array"],"short_doc":[["para","Static markers to display on the map."]],"doc":[["para","Static markers to display on the map."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","Kendo UI Tooltip options for this marker."]],"doc":[["para","Kendo UI Tooltip options for this marker."]],"sub":[{"name":"showOn","type":["String"],"default":"\"click\"","short_doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."]],"doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - show tooltip on mouse enter"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                showOn: \"mouseenter\",\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.showOn"},{"name":"showAfter","type":["Number"],"default":"100","short_doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."]],"doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                showOn: \"mouseenter\",\n                showAfter: 1000,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.showAfter"},{"name":"position","type":["String"],"default":"\"top\"","short_doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."]],"doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                position: \"left\",\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.position"},{"name":"width","type":["Number"],"default":"Infinity","short_doc":[["para","The width (in pixels) of the tooltip."]],"doc":[["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                width: 80,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.width"},{"name":"height","type":["Number"],"default":"Infinity","short_doc":[["para","The height (in pixels) of the tooltip."]],"doc":[["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                height: 80,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.height"},{"name":"iframe","type":["Boolean"],"short_doc":[["para","Explicitly states whether content iframe should be created."]],"doc":[["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                  iframe: true,\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.iframe"},{"name":"callout","type":["Boolean"],"default":"true","short_doc":[["para","Specifies if the tooltip callout will be displayed."]],"doc":[["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                callout: false,\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.callout"},{"name":"template","type":["String","Template"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]],["header",{"level":4},"Example - set tooltip template"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.template"},{"name":"content","type":["Object","String","Function"],"short_doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."]],"doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: function(e) {\n                    var marker = e.sender.marker;\n                    return marker.options.location.toString();\n                }\n            }\n        }]\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"url","type":["String"],"short_doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]]],"doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.content.url"}],"orig":"markers.tooltip.content"},{"name":"animation","type":["Object"],"short_doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."]],"doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: false,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip opens."]],"doc":[["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\",\n                        duration: 1000\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        duration: \"1000\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for opening of the Tooltip."]],"doc":[["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.animation.open.effects"}],"orig":"markers.tooltip.animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip closes."]],"doc":[["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                  close: {\n                    effects: \"fade:out\"\n                  }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    close: {\n                        duration: 1000\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for closing of the tooltip."]],"doc":[["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    close: {\n                        effects: \"fade:out\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.animation.close.effects"}],"orig":"markers.tooltip.animation.close"}],"orig":"markers.tooltip.animation"},{"name":"autoHide","type":["Boolean"],"default":"false","short_doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."]],"doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - hide tooltip on mouse leave"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                autoHide: true,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"]],"orig":"markers.tooltip.autoHide"}],"orig":"markers.tooltip"},{"name":"shape","type":["String"],"default":"\"pinTarget\"","short_doc":[["para","The marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."]],"doc":[["para","The marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."],["header",{"level":4},"Example - setting marker shape"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            shape: \"pin\",\n            location: [42, 27]\n        }]\n    });\n</script>"]],"orig":"markers.shape"},{"name":"location","type":["Array","kendo.dataviz.map.Location"],"short_doc":[["para","The marker location on the map. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."]],"doc":[["para","The marker location on the map. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."],["header",{"level":4},"Example - setting marker location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }]\n    });\n</script>"]],"orig":"markers.location"}]},{"name":"minZoom","type":["Number"],"default":"1","short_doc":[["para","The minimum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]]],"doc":[["para","The minimum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]],["header",{"level":4},"Example - limit zoom out to level 3"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        minZoom: 3,\n        zoom: 5\n    });\n</script>"]]},{"name":"maxZoom","type":["Number"],"default":"19","short_doc":[["para","The maximum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]]],"doc":[["para","The maximum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]],["header",{"level":4},"Example - limit zoom in to level 10"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        maxZoom: 10,\n        zoom: 5\n    });\n</script>"]]},{"name":"minSize","type":["Number"],"default":"256","short_doc":[["para","The size of the map in pixels at zoom level 0."]],"doc":[["para","The size of the map in pixels at zoom level 0."]]},{"name":"pannable","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether the user can pan the map."]],"doc":[["para","Controls whether the user can pan the map."],["header",{"level":4},"Example - make the map non-pannable"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9,\n        pannable: false\n    });\n</script>"]]},{"name":"wraparound","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether the map should wrap around the east-west edges."]],"doc":[["para","Specifies whether the map should wrap around the east-west edges."],["header",{"level":4},"Example - disable map wrap-around"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        wraparound: false\n    });\n</script>"]]},{"name":"zoom","type":["Number"],"default":"3","short_doc":[["para","The initial zoom level."],["para","Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["para","The map size is derived from the zoom level and minScale options: ",["inlinecode","size = (2 ^ zoom) * minSize"]]],"doc":[["para","The initial zoom level."],["para","Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["para","The map size is derived from the zoom level and minScale options: ",["inlinecode","size = (2 ^ zoom) * minSize"]],["header",{"level":4},"Example - setting initial zoom level"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9\n    });\n</script>"]]},{"name":"zoomable","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether the map zoom level can be changed by the user."]],"doc":[["para","Controls whether the map zoom level can be changed by the user."],["header",{"level":4},"Example - make the map non-zoomable"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9,\n        zoomable: false\n    });\n</script>"]]}],"methods":[{"name":"center","args":[{"name":"center","type":["Array","kendo.dataviz.map.Location"],"short_doc":[["para","The location of the new map center.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]],"doc":[["para","The location of the new map center.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]]}],"short_doc":[["para","Gets or sets the map center.\nThe setter is chainable, i.e. returns the map instance."]],"doc":[["para","Gets or sets the map center.\nThe setter is chainable, i.e. returns the map instance."],["header",{"level":4},"Parameters"],["header",{"level":5},"center ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The location of the new map center.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The current map center."],["header",{"level":4},"Example - set the map center and zoom level"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.center([32.7758, -96.7966]).zoom(10);\n</script>"]],"examples":[[["header",{"level":4},"Example - set the map center and zoom level"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.center([32.7758, -96.7966]).zoom(10);\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example - destroy the map and remove it from the DOM"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.destroy();\n\n    $(\"#map\").remove();\n</script>"]],"examples":[[["header",{"level":4},"Example - destroy the map and remove it from the DOM"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.destroy();\n\n    $(\"#map\").remove();\n</script>"]]]},{"name":"eventOffset","args":[{"name":"e","type":["Object","jQuery.Event"],"short_doc":[["para","The DOM or jQuery mouse event."]],"doc":[["para","The DOM or jQuery mouse event."]]}],"short_doc":[["para","Returns the event coordinates relative to the map element.\nOffset coordinates are not synchronized to a particular location on the map."]],"doc":[["para","Returns the event coordinates relative to the map element.\nOffset coordinates are not synchronized to a particular location on the map."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The event coordinates relative to the map element."],["header",{"level":4},"Example - position elements over widget on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var offset = map.eventOffset(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: offset.y, left: offset.x })\n        .appendTo(map.element);\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - position elements over widget on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var offset = map.eventOffset(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: offset.y, left: offset.x })\n        .appendTo(map.element);\n    });\n</script>"]]]},{"name":"eventToLayer","args":[{"name":"e","type":["Object","jQuery.Event"],"short_doc":[["para","The DOM or jQuery mouse event."]],"doc":[["para","The DOM or jQuery mouse event."]]}],"short_doc":[["para","Retrieves projected (layer) coordinates that correspond to this mouse event.\nLayer coordinates are absolute and change only when the zoom level is changed."]],"doc":[["para","Retrieves projected (layer) coordinates that correspond to this mouse event.\nLayer coordinates are absolute and change only when the zoom level is changed."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The projected (layer) coordinates that correspond to this mouse event."],["header",{"level":4},"Example - retrieve projected coordinates"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var proj = map.eventToLayer(e);\n        console.log(\"Projected coordinates: \", proj.toString());\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - retrieve projected coordinates"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var proj = map.eventToLayer(e);\n        console.log(\"Projected coordinates: \", proj.toString());\n    });\n</script>"]]]},{"name":"eventToLocation","args":[{"name":"e","type":["Object","jQuery.Event"],"short_doc":[["para","The DOM or jQuery mouse event."]],"doc":[["para","The DOM or jQuery mouse event."]]}],"short_doc":[["para","Retrieves the geographic location that correspond to this mouse event."]],"doc":[["para","Retrieves the geographic location that correspond to this mouse event."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The geographic location that correspond to this mouse event."],["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var loc = map.eventToLocation(e);\n        map.markers.add({\n            location: loc,\n            tooltip: {\n                content: \"Foo\"\n            }\n        });\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var loc = map.eventToLocation(e);\n        map.markers.add({\n            location: loc,\n            tooltip: {\n                content: \"Foo\"\n            }\n        });\n    });\n</script>"]]]},{"name":"eventToView","args":[{"name":"e","type":["Object","jQuery.Event"],"short_doc":[["para","The DOM or jQuery mouse event."]],"doc":[["para","The DOM or jQuery mouse event."]]}],"short_doc":[["para","Retrieves relative (view) coordinates that correspond to this mouse event.\nLayer elements positioned on these coordinates will appear under the mouse cursor."],["para","View coordinates are no longer valid after a map ",["link",{"href":"#events-reset"},"reset"],"."]],"doc":[["para","Retrieves relative (view) coordinates that correspond to this mouse event.\nLayer elements positioned on these coordinates will appear under the mouse cursor."],["para","View coordinates are no longer valid after a map ",["link",{"href":"#events-reset"},"reset"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The relative (view) coordinates that correspond to this mouse event."],["header",{"level":4},"Example - position elements over map on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var view = map.eventToView(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: view.y, left: view.x })\n        .appendTo(map.scrollElement);\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - position elements over map on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var view = map.eventToView(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: view.y, left: view.x })\n        .appendTo(map.scrollElement);\n    });\n</script>"]]]},{"name":"extent","args":[],"short_doc":[["para","Gets the map current ",["link",{"href":"/api/dataviz/map/extent"},"map extent"],"."]],"doc":[["para","Gets the map current ",["link",{"href":"/api/dataviz/map/extent"},"map extent"],"."],["header",{"level":4},"Parameters"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Extent"]," The current map extent."],["header",{"level":4},"Example - get the map extent"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var extent = map.extent();\n\n    alert(\"North West corner: \" + extent.nw.toString());\n</script>"]],"examples":[[["header",{"level":4},"Example - get the map extent"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var extent = map.extent();\n\n    alert(\"North West corner: \" + extent.nw.toString());\n</script>"]]]},{"name":"layerToLocation","args":[{"name":"point","type":["Array","kendo.dataviz.geometry.Point"],"short_doc":[["para","The layer (projected) coordinates.\nAn array argument is assumed to be in x, y order."]],"doc":[["para","The layer (projected) coordinates.\nAn array argument is assumed to be in x, y order."]]},{"name":"zoom","type":["Number"],"short_doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]],"doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]]}],"short_doc":[["para","Transforms layer (projected) coordinates to geographical location."]],"doc":[["para","Transforms layer (projected) coordinates to geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"point ",["inlinecode","Array|kendo.dataviz.geometry.Point"]],["para","The layer (projected) coordinates.\nAn array argument is assumed to be in x, y order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The geographic location that corresponds to the layer coordinates."],["header",{"level":4},"Example - retrieve location of NW corner (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.layerToLocation([0, 0]).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"],["header",{"level":4},"Example - retrieve location of NW corner (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = new kendo.dataviz.geometry.Point(0, 0);\n    var loc = map.layerToLocation(point).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"]],"examples":[[["header",{"level":4},"Example - retrieve location of NW corner (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.layerToLocation([0, 0]).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"]],[["header",{"level":4},"Example - retrieve location of NW corner (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = new kendo.dataviz.geometry.Point(0, 0);\n    var loc = map.layerToLocation(point).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"]]]},{"name":"locationToLayer","args":[{"name":"location","type":["Array","kendo.dataviz.map.Location"],"short_doc":[["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]],"doc":[["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]]},{"name":"zoom","type":["Number"],"short_doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]],"doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]]}],"short_doc":[["para","Returns the layer (projected) coordinates that correspond to a geographical location."]],"doc":[["para","Returns the layer (projected) coordinates that correspond to a geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"location ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The layer (projected) coordinates."],["header",{"level":4},"Example - retrieve the projected coordinates of a location (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = map.locationToLayer([0, 0]).round();\n    console.log(point.toString());\n    // 256,256\n</script>"],["header",{"level":4},"Example - retrieve the projected coordinates of a location (kendo.dataviz.map.Location)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = new kendo.dataviz.map.Location(0, 0);\n    var point = map.locationToLayer(loc).round();\n    console.log(point.toString());\n    // 256,256\n</script>"]],"examples":[[["header",{"level":4},"Example - retrieve the projected coordinates of a location (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = map.locationToLayer([0, 0]).round();\n    console.log(point.toString());\n    // 256,256\n</script>"]],[["header",{"level":4},"Example - retrieve the projected coordinates of a location (kendo.dataviz.map.Location)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = new kendo.dataviz.map.Location(0, 0);\n    var point = map.locationToLayer(loc).round();\n    console.log(point.toString());\n    // 256,256\n</script>"]]]},{"name":"locationToView","args":[{"name":"location","type":["Array","kendo.dataviz.map.Location"],"short_doc":[["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]],"doc":[["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."]]}],"short_doc":[["para","Returns the view (relative) coordinates that correspond to a geographical location."]],"doc":[["para","Returns the view (relative) coordinates that correspond to a geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"location ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The view coordinates that correspond to a geographical location."],["header",{"level":4},"Retrieves the view coordinates of the map center (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var view = map.locationToView([0, 0]).round();\n    console.log(view.toString());\n    // 512,512\n</script>"],["header",{"level":4},"Retrieves the view coordinates of the map center (kendo.dataviz.map.Location)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = new kendo.dataviz.map.Location(0, 0);\n    var view = map.locationToView(loc).round();\n    console.log(view.toString());\n    // 512,512\n</script>"]],"examples":[]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The new options to be applied."]],"doc":[["para","The new options to be applied."]]}],"short_doc":[["para","Resets the map and applies new options over the current state."]],"doc":[["para","Resets the map and applies new options over the current state."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new options to be applied."],["header",{"level":4},"Example - set map zoom & center simultaneously"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.setOptions({\n        zoom: 10,\n        center: [32.7758, -96.7966]\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - set map zoom & center simultaneously"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.setOptions({\n        zoom: 10,\n        center: [32.7758, -96.7966]\n    });\n</script>"]]]},{"name":"viewSize","args":[],"short_doc":[["para","Retrieves the size of the visible portion of the map."]],"doc":[["para","Retrieves the size of the visible portion of the map."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The size (width and height) of the visible portion of the map."],["header",{"level":4},"Example - retrieve view size"],["code_block","<script>\n    $(\"#map\").kendoMap({\n        zoom: 1, // Layer size is 512px (2^1 * 256)\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var viewSize = map.viewSize();\n    console.log(viewSize);\n    // { width: 1024, height: 512 }\n</script>"]],"examples":[[["header",{"level":4},"Example - retrieve view size"],["code_block","<script>\n    $(\"#map\").kendoMap({\n        zoom: 1, // Layer size is 512px (2^1 * 256)\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var viewSize = map.viewSize();\n    console.log(viewSize);\n    // { width: 1024, height: 512 }\n</script>"]]]},{"name":"viewToLocation","args":[{"name":"point","type":["Array","kendo.dataviz.geometry.Point"],"short_doc":[["para","The view coordinates.\nAn array argument is assumed to be in x, y order."]],"doc":[["para","The view coordinates.\nAn array argument is assumed to be in x, y order."]]},{"name":"zoom","type":["Number"],"short_doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]],"doc":[["para","Optional. Assumed zoom level. Defaults to the current zoom level."]]}],"short_doc":[["para","Returns the geographical location that correspond to the view (relative) coordinates."]],"doc":[["para","Returns the geographical location that correspond to the view (relative) coordinates."],["header",{"level":4},"Parameters"],["header",{"level":5},"point ",["inlinecode","Array|kendo.dataviz.geometry.Point"]],["para","The view coordinates.\nAn array argument is assumed to be in x, y order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The geographic location that corresponds to the view coordinates."],["header",{"level":4},"Example - retrieve location corresponding to view center (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.viewToLocation([512, 512]).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"],["header",{"level":4},"Example - retrieve location corresponding to view center (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var view = new kendo.dataviz.geometry.Point(512, 512);\n    var loc = map.viewToLocation(view).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"]],"examples":[[["header",{"level":4},"Example - retrieve location corresponding to view center (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.viewToLocation([512, 512]).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"]],[["header",{"level":4},"Example - retrieve location corresponding to view center (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var view = new kendo.dataviz.geometry.Point(512, 512);\n    var loc = map.viewToLocation(view).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"]]]},{"name":"zoom","args":[{"name":"level","type":["Number"],"short_doc":[["para","The new zoom level. The value is clamped to the\n [",["link",{"href":"#configuration-minZoom"},"minZoom"],", ",["link",{"href":"#configuration-maxZoom"},"maxZoom"],"] interval."]],"doc":[["para","The new zoom level. The value is clamped to the\n [",["link",{"href":"#configuration-minZoom"},"minZoom"],", ",["link",{"href":"#configuration-maxZoom"},"maxZoom"],"] interval."]]}],"short_doc":[["para","Gets or sets the map zoom level.\nThe setter is chainable, i.e. returns the map instance."]],"doc":[["para","Gets or sets the map zoom level.\nThe setter is chainable, i.e. returns the map instance."],["header",{"level":4},"Parameters"],["header",{"level":5},"level ",["inlinecode","Number"]],["para","The new zoom level. The value is clamped to the\n [",["link",{"href":"#configuration-minZoom"},"minZoom"],", ",["link",{"href":"#configuration-maxZoom"},"maxZoom"],"] interval."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The current zoom level."],["header",{"level":4},"Example - zoom in"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    zoom = map.zoom();\n    map.zoom(zoom + 2);\n</script>"]],"examples":[[["header",{"level":4},"Example - zoom in"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    zoom = map.zoom();\n    map.zoom(zoom + 2);\n</script>"]]]}],"events":[{"name":"click","args":[{"name":"e.location","type":["kendo.dataviz.map.Location"],"short_doc":[["para","The location of the clicked point."]],"doc":[["para","The location of the clicked point."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when the user clicks on the map."]],"doc":[["para","Fired when the user clicks on the map."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.location ",["inlinecode","kendo.dataviz.map.Location"]],["para","The location of the clicked point."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        click: function(e) {\n            e.sender.markers.add({\n                location: e.location,\n                tooltip: {\n                    content: \"Foo\"\n                }\n            });\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the click event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"click\", function(e) {\n        console.log(\"You clicked at \" + e.location.toString());\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        click: function(e) {\n            e.sender.markers.add({\n                location: e.location,\n                tooltip: {\n                    content: \"Foo\"\n                }\n            });\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - subscribe to the click event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"click\", function(e) {\n        console.log(\"You clicked at \" + e.location.toString());\n    });\n</script>"]]],"type":["Function"]},{"name":"markerCreated","args":[{"name":"e.marker","type":["kendo.dataviz.map.Marker"],"short_doc":[["para","The marker instance."]],"doc":[["para","The marker instance."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]}],"short_doc":[["para","Fired when a marker has been created and is about to be displayed.\nCancelling the event will prevent the marker from being shown."],["blockquote",["para","Markers are automatically created for GeoJSON Point geometries. If the markerCreated event is cancelled a regular shape (circle) will be created instead."]]],"doc":[["para","Fired when a marker has been created and is about to be displayed.\nCancelling the event will prevent the marker from being shown."],["blockquote",["para","Markers are automatically created for GeoJSON Point geometries. If the markerCreated event is cancelled a regular shape (circle) will be created instead."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.marker ",["inlinecode","kendo.dataviz.map.Marker"]],["para","The marker instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":4},"Example - Draw a shape (circle) instead of a marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        [30, 10]\n                    ]\n                }]\n            }\n        }],\n        markerCreated: function(e) {\n            // Draw a shape (circle) instead of a marker\n            e.preventDefault();\n        }\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - Draw a shape (circle) instead of a marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        [30, 10]\n                    ]\n                }]\n            }\n        }],\n        markerCreated: function(e) {\n            // Draw a shape (circle) instead of a marker\n            e.preventDefault();\n        }\n    });\n</script>"]]],"type":["Function"]},{"name":"pan","args":[{"name":"e.origin","type":["kendo.dataviz.map.Location"],"short_doc":[["para","The map origin (top left or NW corner)."]],"doc":[["para","The map origin (top left or NW corner)."]]},{"name":"e.center","type":["kendo.dataviz.map.Location"],"short_doc":[["para","The current map center."]],"doc":[["para","The current map center."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired while the map viewport is being moved."]],"doc":[["para","Fired while the map viewport is being moved."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.origin ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map origin (top left or NW corner)."],["header",{"level":5},"e.center ",["inlinecode","kendo.dataviz.map.Location"]],["para","The current map center."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map pan event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        pan: function(e) {\n            console.log(\"pan to \" + e.center.toString());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map pan event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"pan\", function(e) {\n        console.log(\"pan to \" + e.center.toString());\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map pan event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        pan: function(e) {\n            console.log(\"pan to \" + e.center.toString());\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map pan event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"pan\", function(e) {\n        console.log(\"pan to \" + e.center.toString());\n    });\n</script>"]]],"type":["Function"]},{"name":"panEnd","args":[{"name":"e.origin","type":["kendo.dataviz.map.Location"],"short_doc":[["para","The map origin (top left or NW corner)."]],"doc":[["para","The map origin (top left or NW corner)."]]},{"name":"e.center","type":["kendo.dataviz.map.Location"],"short_doc":[["para","The map center."]],"doc":[["para","The map center."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fires after the map viewport has been moved."]],"doc":[["para","Fires after the map viewport has been moved."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.origin ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map origin (top left or NW corner)."],["header",{"level":5},"e.center ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map center."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map panEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        panEnd: function(e) {\n            console.log(\"pan ended at \" + e.center.toString());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map panEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"panEnd\", function(e) {\n        console.log(\"pan ended at \" + e.center.toString());\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map panEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        panEnd: function(e) {\n            console.log(\"pan ended at \" + e.center.toString());\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map panEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"panEnd\", function(e) {\n        console.log(\"pan ended at \" + e.center.toString());\n    });\n</script>"]]],"type":["Function"]},{"name":"reset","args":[{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]}],"short_doc":[["para","Fired when the map is reset.\nThis typically occurs on initial load and after a zoom/center change."]],"doc":[["para","Fired when the map is reset.\nThis typically occurs on initial load and after a zoom/center change."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":4},"Example - bind to the map reset event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        reset: function() {\n            console.log(\"map reset\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map reset event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"reset\", function(e) {\n        console.log(\"map reset\");\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map reset event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        reset: function() {\n            console.log(\"map reset\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map reset event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"reset\", function(e) {\n        console.log(\"map reset\");\n    });\n</script>"]]],"type":["Function"]},{"name":"shapeClick","args":[{"name":"e.layer","type":["kendo.dataviz.map.layer.Shape"],"short_doc":[["para","The parent layer instance."]],"doc":[["para","The parent layer instance."]]},{"name":"e.shape","type":["kendo.dataviz.drawing.Shape"],"short_doc":[["para","The the shape instance."]],"doc":[["para","The the shape instance."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when a shape is clicked or tapped."]],"doc":[["para","Fired when a shape is clicked or tapped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeClick event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeClick: function() {\n            console.log(\"shape clicked\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeClick event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeClick\", function(e) {\n        console.log(\"shape clicked\");\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map shapeClick event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeClick: function() {\n            console.log(\"shape clicked\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map shapeClick event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeClick\", function(e) {\n        console.log(\"shape clicked\");\n    });\n</script>"]]],"type":["Function"]},{"name":"shapeCreated","args":[{"name":"e.layer","type":["kendo.dataviz.map.layer.Shape"],"short_doc":[["para","The parent layer instance."]],"doc":[["para","The parent layer instance."]]},{"name":"e.shape","type":["kendo.dataviz.drawing.Shape"],"short_doc":[["para","The the shape instance."]],"doc":[["para","The the shape instance."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when a shape is created, but is not rendered yet."]],"doc":[["para","Fired when a shape is created, but is not rendered yet."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeCreated event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeCreated: function() {\n            console.log(\"shape created\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeCreated event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeCreated\", function(e) {\n        console.log(\"shape created\");\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map shapeCreated event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeCreated: function() {\n            console.log(\"shape created\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map shapeCreated event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeCreated\", function(e) {\n        console.log(\"shape created\");\n    });\n</script>"]]],"type":["Function"]},{"name":"shapeMouseEnter","args":[{"name":"e.layer","type":["kendo.dataviz.map.layer.Shape"],"short_doc":[["para","The parent layer instance."]],"doc":[["para","The parent layer instance."]]},{"name":"e.shape","type":["kendo.dataviz.drawing.Shape"],"short_doc":[["para","The the shape instance."]],"doc":[["para","The the shape instance."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when the mouse enters a shape."]],"doc":[["para","Fired when the mouse enters a shape."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeMouseEnter event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseEnter: function() {\n            console.log(\"shape mouseenter\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeMouseEnter event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseEnter\", function(e) {\n        console.log(\"shape mouseenter\");\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map shapeMouseEnter event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseEnter: function() {\n            console.log(\"shape mouseenter\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map shapeMouseEnter event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseEnter\", function(e) {\n        console.log(\"shape mouseenter\");\n    });\n</script>"]]],"type":["Function"]},{"name":"shapeMouseLeave","args":[{"name":"e.layer","type":["kendo.dataviz.map.layer.Shape"],"short_doc":[["para","The parent layer instance."]],"doc":[["para","The parent layer instance."]]},{"name":"e.shape","type":["kendo.dataviz.drawing.Shape"],"short_doc":[["para","The the shape instance."]],"doc":[["para","The the shape instance."]]},{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when the mouse leaves a shape."]],"doc":[["para","Fired when the mouse leaves a shape."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeMouseLeave event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseLeave: function() {\n            console.log(\"shape mouseleave\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeMouseLeave event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseLeave\", function(e) {\n        console.log(\"shape mouseleave\");\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map shapeMouseLeave event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseLeave: function() {\n            console.log(\"shape mouseleave\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map shapeMouseLeave event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseLeave\", function(e) {\n        console.log(\"shape mouseleave\");\n    });\n</script>"]]],"type":["Function"]},{"name":"zoomStart","args":[{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when the map zoom level is about to change.\nCancelling the event will prevent the user action."]],"doc":[["para","Fired when the map zoom level is about to change.\nCancelling the event will prevent the user action."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map zoomStart event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function() {\n            console.log(\"zoom start\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map zoomStart event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomStart\", function(e) {\n        console.log(\"zoom start\");\n    });\n</script>"],["header",{"level":4},"Example - cancel zoom"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function(e) {\n            e.preventDefault();\n        }\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map zoomStart event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function() {\n            console.log(\"zoom start\");\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map zoomStart event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomStart\", function(e) {\n        console.log(\"zoom start\");\n    });\n</script>"]],[["header",{"level":4},"Example - cancel zoom"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function(e) {\n            e.preventDefault();\n        }\n    });\n</script>"]]],"type":["Function"]},{"name":"zoomEnd","args":[{"name":"e.sender","type":["kendo.dataviz.ui.Map"],"short_doc":[["para","The source widget instance."]],"doc":[["para","The source widget instance."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The source jQuery event instance"]],"doc":[["para","The source jQuery event instance"]]}],"short_doc":[["para","Fired when the map zoom level has changed."]],"doc":[["para","Fired when the map zoom level has changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map zoomEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomEnd: function(e) {\n            console.log(\"zoom end @ \" + e.sender.zoom());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map zoomEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomEnd\", function(e) {\n        console.log(\"zoom end @ \" + e.sender.zoom());\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - bind to the map zoomEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomEnd: function(e) {\n            console.log(\"zoom end @ \" + e.sender.zoom());\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - bind to the map zoomEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomEnd\", function(e) {\n        console.log(\"zoom end @ \" + e.sender.zoom());\n    });\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"center ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The map center. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."],["header",{"level":4},"Example - setting the map center"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        center: [30.268107, -97.744821],\n        zoom: 3,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls ",["inlinecode","Object"]],["para","The configuration of built-in map controls."],["header",{"level":4},"Example - hide all controls"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: false,\n            navigator: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.attribution ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","Enables or disables the built-in attribution control."],["header",{"level":4},"Example - hide the attribution control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.attribution.position ",["inlinecode","String"]," ",["em","(default: \"bottomRight\")"]],["para","The position of the attribution control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the attribution control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            attribution: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.navigator ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","Enables or disables the built-in navigator control (directional pad)."],["header",{"level":4},"Example - hide the navigator control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            navigator: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.navigator.position ",["inlinecode","String"]," ",["em","(default: \"topLeft\")"]],["para","The position of the navigator control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the navigator control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            navigator: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.zoom ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","Enables or disables the built-in zoom control (+/- button)."],["header",{"level":4},"Example - hide the zoom control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            zoom: false\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"controls.zoom.position ",["inlinecode","String"]," ",["em","(default: \"topLeft\")"]],["para","The position of the zoom control. Possible values include:"],["bulletlist",["listitem","\"topLeft\""],["listitem","\"topRight\""],["listitem","\"bottomRight\""],["listitem","\"bottomLeft\""]],["header",{"level":4},"Example - position the zoom control"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        controls: {\n            zoom: {\n                position: \"topRight\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults ",["inlinecode","Object"]],["para","The default configuration for map layers by type."],["header",{"level":4},"Example - set tile layer defaults"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape ",["inlinecode","Object"]],["para","The default configuration for shape layers."],["header",{"level":4},"Example"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                attribution: \"&copy; Company Inc.\"\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.attribution ",["inlinecode","String"]],["para","The attribution for all shape layers."],["header",{"level":4},"Example - set default attribution for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                attribution: \"&copy; Company Inc.\"\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style ",["inlinecode","Object"]],["para","The default style for shapes."],["header",{"level":4},"Example - Set default style for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    },\n                    stroke: {\n                        color: \"green\",\n                        width: 4,\n                        dashType: \"longDashDot\",\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.fill ",["inlinecode","Object"]],["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - Set default fill for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.fill.color ",["inlinecode","String"]],["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - Set default fill color for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.fill.opacity ",["inlinecode","Number"]],["para","The default fill opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - Set default fill with opacity for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    fill: {\n                        color: \"red\",\n                        opacity: 1\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.stroke ",["inlinecode","Object"]],["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - Set default stroke for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        color: \"green\",\n                        width: 4,\n                        dashType: \"longDashDot\",\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.stroke.color ",["inlinecode","String"]],["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - Set default stroke color for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        color: \"green\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.stroke.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - Set default dashed stroke for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4,\n                        dashType: \"longDashDot\"\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.stroke.opacity ",["inlinecode","Number"]],["para","The default stroke opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - Set default stroke with opacity for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4,\n                        opacity: 0.5\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.shape.style.stroke.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The default stroke width for layer shapes."],["header",{"level":4},"Example - Set default stroke width for all shape layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            shape: {\n                style: {\n                    stroke: {\n                        width: 4\n                    }\n                }\n            }\n        },\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.tile ",["inlinecode","Object"]],["para","The default configuration for tile layers."],["header",{"level":4},"Example - set default options for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.8,\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.tile.urlTemplate ",["inlinecode","String"]],["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]],["header",{"level":4},"Example - set default URL template for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.tile.attribution ",["inlinecode","String"]],["para","The attribution of all tile layers."],["header",{"level":4},"Example - set default attribution for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                attribution: \"&copy; OpenStreetMap\"\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.tile.subdomains ",["inlinecode","Array"]],["para","The subdomain of all tile layers."],["header",{"level":4},"Example - set subdomains for all tile layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                subdomains: [\"a\", \"b\", \"c\"]\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.tile.opacity ",["inlinecode","String"]," ",["em","(default: 1)"]],["para","The the opacity of all tile layers."],["header",{"level":4},"Example - set tile layer default opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            tile: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.bing ",["inlinecode","Object"]],["para","The default configuration for bing layers."],["header",{"level":4},"Example - set default options for all bing layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                opacity: 0.8\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.bing.attribution ",["inlinecode","String"]],["para","The attribution of all bing layers."],["header",{"level":4},"Example - set default attribution for all bing layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                attribution: \"&copy; BingMap\"\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.bing.opacity ",["inlinecode","String"]," ",["em","(default: 1)"]],["para","The the opacity of all bing layers."],["header",{"level":4},"Example - set bing layer default opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n                opacity: 0.5\n            }\n        },\n        layers: [{\n            type: \"bing\",\n            key: \"Your bing map key\"\n        }]\n    });\n</script>"],["header",{"level":3},"layerDefaults.bing.key ",["inlinecode","String"]],["para","The key of all bing layers."],["header",{"level":4},"Example - set bing layer default key"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layerDefaults: {\n            bing: {\n\t    key: \"Your bing map key\"\n            }\n        },\n        layers: [{\n            type: \"bing\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers ",["inlinecode","Array"]],["para","The configuration of the map layers.\nThe layer type is determined by the value of the type field."],["header",{"level":4},"Example - configure map layers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }, {\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the layer will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple layers (widgets) are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - using manual binding"],["code_block","<div id=\"map\"></div>\n<script>\n    var ds = new kendo.data.DataSource({\n        type: \"geojson\",\n        data: [{\n            \"type\": \"Polygon\",\n            \"coordinates\": [\n                [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n            ]\n        }]\n    });\n\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            autoBind: false,\n            dataSource: ds\n        }]\n    });\n\n    ds.read();\n</script>"],["header",{"level":3},"layers.type ",["inlinecode","String"]],["para","The layer type. Supported types are:"],["bulletlist",["listitem","\"bing\" - a generic a bing layer"],["listitem","\"tile\" - a generic \"slippy map\" tile layer"],["listitem","\"shape\" - a vector shape layer, e.g. bound to GeoJSON data"]],["header",{"level":4},"Example - creating a tile layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers.key ",["inlinecode","String"]],["para","The key of the bing layer."],["header",{"level":4},"Example - set bing layer key"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"bing\",\n\tkey: \"Your bing map key\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers.dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the layer. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["header",{"level":4},"Example - binding to inline GeoJSON data"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":4},"Example - binding to existing data source"],["code_block","<div id=\"map\"></div>\n<script>\n    var ds = new kendo.data.DataSource({\n        type: \"geojson\",\n        data: [{\n            \"type\": \"Polygon\",\n            \"coordinates\": [\n                [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n            ]\n        }]\n    });\n\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: ds\n        }]\n    });\n</script>"],["header",{"level":3},"layers.attribution ",["inlinecode","String"]],["para","The attribution for the layer. Accepts valid HTML."],["header",{"level":4},"Example - set attribution text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers.subdomains ",["inlinecode","Array"]],["para","A list of subdomains to use for loading tiles.\nAlternating between different subdomains allows more requests to be executed in parallel."],["header",{"level":4},"Example - setting subdomains for OpenStreetMap tiles"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers.opacity ",["inlinecode","String"]," ",["em","(default: 1)"]],["para","The the opacity for the layer."],["header",{"level":4},"Example - setting layer opacity"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            opacity: 0.5,\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style ",["inlinecode","Object"]],["para","The default style for shapes."],["header",{"level":4},"Example - setting style for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 1\n                },\n                stroke: {\n                    color: \"green\",\n                    width: 4,\n                    dashType: \"longDashDot\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.fill ",["inlinecode","Object"]],["para","The default fill for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example set shape fill"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 1\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.fill.color ",["inlinecode","String"]],["para","The default fill color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - setting fill color for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\"\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.fill.opacity ",["inlinecode","Number"]],["para","The default fill opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - setting fill opacity for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                fill: {\n                    color: \"red\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.stroke ",["inlinecode","Object"]],["para","The default stroke for layer shapes.\nAccepts a valid CSS color string or object with detailed configuration."],["header",{"level":4},"Example - setting stroke style for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    color: \"green\",\n                    width: 4,\n                    dashType: \"longDashDot\",\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.stroke.color ",["inlinecode","String"]],["para","The default stroke color for layer shapes.\nAccepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - setting stroke color for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    color: \"green\",\n                    width: 4\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.stroke.dashType ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The default dash type for layer shapes.\nThe following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - setting stroke dash type for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4,\n                    dashType: \"longDashDot\"\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.stroke.opacity ",["inlinecode","Number"]],["para","The default stroke opacity (0 to 1) for layer shapes."],["header",{"level":4},"Example - setting stroke opacity for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4,\n                    opacity: 0.5\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.style.stroke.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The default stroke width for layer shapes."],["header",{"level":4},"Example - setting stroke width for shape layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            style: {\n                stroke: {\n                    width: 4\n                }\n            },\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Polygon\",\n                    \"coordinates\": [\n                        [[30, 10], [40, 40], [20, 40], [10, 20], [30, 10]]\n                    ]\n                }]\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"layers.urlTemplate ",["inlinecode","String"]],["para","The URL template for tile layers. Template variables:"],["bulletlist",["listitem","x - X coordinate of the tile"],["listitem","y - Y coordinate of the tile"],["listitem","zoom - zoom level"],["listitem","subdomain - Subdomain for this tile. See ",["link",{"href":"#configuration-layers-tile-subdomains"},"subdomains"]]],["header",{"level":4},"Example - setting URL template for tile layer"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://#= subdomain #.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            subdomains: [\"a\", \"b\", \"c\"],\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults ",["inlinecode","Object"]],["para","The default options for all markers."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.shape ",["inlinecode","String"]," ",["em","(default: \"pinTarget\")"]],["para","The default marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip ",["inlinecode","Object"]],["para","Default Kendo UI Tooltip options for this marker."],["header",{"level":3},"markerDefaults.tooltip.autoHide ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - hide tooltip on mouse leave"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                autoHide: true\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation ",["inlinecode","Object"]],["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: false\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.close ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                  close: {\n                    effects: \"fade:out\"\n                  }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.close.effects ",["inlinecode","String"]],["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    close: {\n                        effects: \"fade:out\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.close.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    close: {\n                        duration: 1000\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.open ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\",\n                        duration: 1000\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.open.effects ",["inlinecode","String"]],["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.animation.open.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                animation: {\n                    open: {\n                        duration: \"1000\"\n                    }\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }, {\n            location: [40, 20],\n            tooltip: {\n                content: \"Bar\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.content ",["inlinecode","Object|String|Function"]],["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                content: function(e) {\n                    var marker = e.sender.marker;\n                    return marker.options.location.toString();\n                }\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.content.url ",["inlinecode","String"]],["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.template ",["inlinecode","String|Template"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]],["header",{"level":4},"Example - set tooltip template"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.callout ",["inlinecode","Boolean"],["em","(default:true)"]],["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                callout: false,\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.iframe ",["inlinecode","Boolean"]],["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                  iframe: true,\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.height ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                height: 80,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.width ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                width: 80,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.position ",["inlinecode","String"],["em","(default: \"top\")"]],["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                position: \"left\",\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.showAfter ",["inlinecode","Number"],["em","(default: 100)"]],["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                showOn: \"mouseenter\",\n                showAfter: 1000,\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markerDefaults.tooltip.showOn ",["inlinecode","String"],["em","(default: \"click\")"]],["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - show tooltip on mouse enter"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            tooltip: {\n                showOn: \"mouseenter\",\n                content: \"Foo\"\n            }\n        },\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markers ",["inlinecode","Array"]],["para","Static markers to display on the map."],["header",{"level":4},"Example - setting default shape for all markers"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27]\n        }, {\n            location: [40, 20]\n        }]\n    });\n</script>"],["header",{"level":3},"markers.location ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The marker location on the map. Coordinates are listed as ",["inlinecode","[Latitude, Longitude]"],"."],["header",{"level":4},"Example - setting marker location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markerDefaults: {\n            shape: \"pin\"\n        },\n        markers: [{\n            location: [42, 27]\n        }]\n    });\n</script>"],["header",{"level":3},"markers.shape ",["inlinecode","String"]," ",["em","(default: \"pinTarget\")"]],["para","The marker shape. The following pre-defined marker shapes are available:"],["bulletlist",["listitem","pinTarget"],["listitem","pin"]],["para","Marker shapes are implemented as CSS classes on the marker element (span.k-marker).\nFor example \"pinTarget\" is rendered as \"k-marker-pin-target\"."],["header",{"level":4},"Example - setting marker shape"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            shape: \"pin\",\n            location: [42, 27]\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip ",["inlinecode","Object"]],["para","Kendo UI Tooltip options for this marker."],["header",{"level":3},"markers.tooltip.autoHide ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - hide tooltip on mouse leave"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                autoHide: true,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation ",["inlinecode","Object"]],["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: false,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.close ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                  close: {\n                    effects: \"fade:out\"\n                  }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.close.effects ",["inlinecode","String"]],["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    close: {\n                        effects: \"fade:out\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.close.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    close: {\n                        duration: 1000\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.open ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\",\n                        duration: 1000\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.open.effects ",["inlinecode","String"]],["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        effects: \"fade:in\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.animation.open.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                animation: {\n                    open: {\n                        duration: \"1000\"\n                    }\n                },\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.content ",["inlinecode","Object|String|Function"]],["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: function(e) {\n                    var marker = e.sender.marker;\n                    return marker.options.location.toString();\n                }\n            }\n        }]\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.content.url ",["inlinecode","String"]],["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.template ",["inlinecode","String|Template"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip content."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","location - the marker location (",["inlinecode","kendo.dataviz.map.Location"]," instance)"],["listitem","marker - the marker instance"]],["blockquote",["para","Setting a template disables the content option."]],["header",{"level":4},"Example - set tooltip template"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.callout ",["inlinecode","Boolean"],["em","(default:true)"]],["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                callout: false,\n                template: \"Lon:#= location.lng #, Lat:#= location.lat #\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.iframe ",["inlinecode","Boolean"]],["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load content from remote URL"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                  iframe: true,\n                  content: {\n                    url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n                  },\n                  width: 220,\n                  height: 280\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.height ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                height: 80,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.width ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                width: 80,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.position ",["inlinecode","String"],["em","(default: \"top\")"]],["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                position: \"left\",\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.showAfter ",["inlinecode","Number"],["em","(default: 100)"]],["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                showOn: \"mouseenter\",\n                showAfter: 1000,\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"markers.tooltip.showOn ",["inlinecode","String"],["em","(default: \"click\")"]],["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - show tooltip on mouse enter"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        markers: [{\n            location: [42, 27],\n            tooltip: {\n                showOn: \"mouseenter\",\n                content: \"Foo\"\n            }\n        }]\n    });\n</script>"],["header",{"level":3},"minZoom ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The minimum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]],["header",{"level":4},"Example - limit zoom out to level 3"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        minZoom: 3,\n        zoom: 5\n    });\n</script>"],["header",{"level":3},"maxZoom ",["inlinecode","Number"]," ",["em","(default: 19)"]],["para","The maximum zoom level.\nTypical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["blockquote",["para","The map ",["link",{"href":"#configuration-zoom"},"zoom"]," is clamped to the [minZoom, maxZoom] interval."]],["header",{"level":4},"Example - limit zoom in to level 10"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        maxZoom: 10,\n        zoom: 5\n    });\n</script>"],["header",{"level":3},"minSize ",["inlinecode","Number"]," ",["em","(default: 256)"]],["para","The size of the map in pixels at zoom level 0."],["header",{"level":3},"pannable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Controls whether the user can pan the map."],["header",{"level":4},"Example - make the map non-pannable"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9,\n        pannable: false\n    });\n</script>"],["header",{"level":3},"wraparound ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether the map should wrap around the east-west edges."],["header",{"level":4},"Example - disable map wrap-around"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        wraparound: false\n    });\n</script>"],["header",{"level":3},"zoom ",["inlinecode","Number"]," ",["em","(default: 3)"]],["para","The initial zoom level."],["para","Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features)."],["para","The map size is derived from the zoom level and minScale options: ",["inlinecode","size = (2 ^ zoom) * minSize"]],["header",{"level":4},"Example - setting initial zoom level"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9\n    });\n</script>"],["header",{"level":3},"zoomable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Controls whether the map zoom level can be changed by the user."],["header",{"level":4},"Example - make the map non-zoomable"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966],\n        zoom: 9,\n        zoomable: false\n    });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"center"],["para","Gets or sets the map center.\nThe setter is chainable, i.e. returns the map instance."],["header",{"level":4},"Parameters"],["header",{"level":5},"center ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The location of the new map center.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The current map center."],["header",{"level":4},"Example - set the map center and zoom level"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.center([32.7758, -96.7966]).zoom(10);\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example - destroy the map and remove it from the DOM"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.destroy();\n\n    $(\"#map\").remove();\n</script>"],["header",{"level":3},"eventOffset"],["para","Returns the event coordinates relative to the map element.\nOffset coordinates are not synchronized to a particular location on the map."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The event coordinates relative to the map element."],["header",{"level":4},"Example - position elements over widget on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var offset = map.eventOffset(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: offset.y, left: offset.x })\n        .appendTo(map.element);\n    });\n</script>"],["header",{"level":3},"eventToLayer"],["para","Retrieves projected (layer) coordinates that correspond to this mouse event.\nLayer coordinates are absolute and change only when the zoom level is changed."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The projected (layer) coordinates that correspond to this mouse event."],["header",{"level":4},"Example - retrieve projected coordinates"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var proj = map.eventToLayer(e);\n        console.log(\"Projected coordinates: \", proj.toString());\n    });\n</script>"],["header",{"level":3},"eventToLocation"],["para","Retrieves the geographic location that correspond to this mouse event."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The geographic location that correspond to this mouse event."],["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var loc = map.eventToLocation(e);\n        map.markers.add({\n            location: loc,\n            tooltip: {\n                content: \"Foo\"\n            }\n        });\n    });\n</script>"],["header",{"level":3},"eventToView"],["para","Retrieves relative (view) coordinates that correspond to this mouse event.\nLayer elements positioned on these coordinates will appear under the mouse cursor."],["para","View coordinates are no longer valid after a map ",["link",{"href":"#events-reset"},"reset"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"e ",["inlinecode","Object|jQuery.Event"]],["para","The DOM or jQuery mouse event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The relative (view) coordinates that correspond to this mouse event."],["header",{"level":4},"Example - position elements over map on click"],["code_block","<style>\n    .box {\n        position: absolute;\n        display: block;\n        width: 10px;\n        height: 10px;\n        margin: -5px 0 0 -5px;\n        background: red;\n    }\n</style>\n<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    $(\"#map\").click(function(e) {\n        var view = map.eventToView(e);\n        $(\"<span class='box'></span>\")\n        .css({ top: view.y, left: view.x })\n        .appendTo(map.scrollElement);\n    });\n</script>"],["header",{"level":3},"extent"],["para","Gets the map current ",["link",{"href":"/api/dataviz/map/extent"},"map extent"],"."],["header",{"level":4},"Parameters"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Extent"]," The current map extent."],["header",{"level":4},"Example - get the map extent"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var extent = map.extent();\n\n    alert(\"North West corner: \" + extent.nw.toString());\n</script>"],["header",{"level":3},"layerToLocation"],["para","Transforms layer (projected) coordinates to geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"point ",["inlinecode","Array|kendo.dataviz.geometry.Point"]],["para","The layer (projected) coordinates.\nAn array argument is assumed to be in x, y order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The geographic location that corresponds to the layer coordinates."],["header",{"level":4},"Example - retrieve location of NW corner (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.layerToLocation([0, 0]).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"],["header",{"level":4},"Example - retrieve location of NW corner (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = new kendo.dataviz.geometry.Point(0, 0);\n    var loc = map.layerToLocation(point).round();\n    console.log(loc.toString());\n    // -180.000000,85.000000\n</script>"],["header",{"level":3},"locationToLayer"],["para","Returns the layer (projected) coordinates that correspond to a geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"location ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The layer (projected) coordinates."],["header",{"level":4},"Example - retrieve the projected coordinates of a location (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var point = map.locationToLayer([0, 0]).round();\n    console.log(point.toString());\n    // 256,256\n</script>"],["header",{"level":4},"Example - retrieve the projected coordinates of a location (kendo.dataviz.map.Location)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 1,\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = new kendo.dataviz.map.Location(0, 0);\n    var point = map.locationToLayer(loc).round();\n    console.log(point.toString());\n    // 256,256\n</script>"],["header",{"level":3},"locationToView"],["para","Returns the view (relative) coordinates that correspond to a geographical location."],["header",{"level":4},"Parameters"],["header",{"level":5},"location ",["inlinecode","Array|kendo.dataviz.map.Location"]],["para","The geographic location.\nAn array argument is assumed to be in [Latitude, Lonigude] order."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.geometry.Point"]," The view coordinates that correspond to a geographical location."],["header",{"level":4},"Retrieves the view coordinates of the map center (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var view = map.locationToView([0, 0]).round();\n    console.log(view.toString());\n    // 512,512\n</script>"],["header",{"level":4},"Retrieves the view coordinates of the map center (kendo.dataviz.map.Location)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = new kendo.dataviz.map.Location(0, 0);\n    var view = map.locationToView(loc).round();\n    console.log(view.toString());\n    // 512,512\n</script>"],["header",{"level":3},"setOptions"],["para","Resets the map and applies new options over the current state."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new options to be applied."],["header",{"level":4},"Example - set map zoom & center simultaneously"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.setOptions({\n        zoom: 10,\n        center: [32.7758, -96.7966]\n    });\n</script>"],["header",{"level":3},"viewSize"],["para","Retrieves the size of the visible portion of the map."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The size (width and height) of the visible portion of the map."],["header",{"level":4},"Example - retrieve view size"],["code_block","<script>\n    $(\"#map\").kendoMap({\n        zoom: 1, // Layer size is 512px (2^1 * 256)\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var viewSize = map.viewSize();\n    console.log(viewSize);\n    // { width: 1024, height: 512 }\n</script>"],["header",{"level":3},"viewToLocation"],["para","Returns the geographical location that correspond to the view (relative) coordinates."],["header",{"level":4},"Parameters"],["header",{"level":5},"point ",["inlinecode","Array|kendo.dataviz.geometry.Point"]],["para","The view coordinates.\nAn array argument is assumed to be in x, y order."],["header",{"level":5},"zoom ",["inlinecode","Number"]],["para","Optional. Assumed zoom level. Defaults to the current zoom level."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.dataviz.map.Location"]," The geographic location that corresponds to the view coordinates."],["header",{"level":4},"Example - retrieve location corresponding to view center (Array)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var loc = map.viewToLocation([512, 512]).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"],["header",{"level":4},"Example - retrieve location corresponding to view center (kendo.dataviz.geometry.Point)"],["code_block","<div id=\"map\" style=\"width: 1024px; height: 1024px;\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    var view = new kendo.dataviz.geometry.Point(512, 512);\n    var loc = map.viewToLocation(view).round();\n    console.log(loc.toString());\n    // 0.000000,0.000000\n</script>"],["header",{"level":3},"zoom"],["para","Gets or sets the map zoom level.\nThe setter is chainable, i.e. returns the map instance."],["header",{"level":4},"Parameters"],["header",{"level":5},"level ",["inlinecode","Number"]],["para","The new zoom level. The value is clamped to the\n [",["link",{"href":"#configuration-minZoom"},"minZoom"],", ",["link",{"href":"#configuration-maxZoom"},"maxZoom"],"] interval."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The current zoom level."],["header",{"level":4},"Example - zoom in"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        center: [32.7758, -96.7966]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    zoom = map.zoom();\n    map.zoom(zoom + 2);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fired when the user clicks on the map."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.location ",["inlinecode","kendo.dataviz.map.Location"]],["para","The location of the clicked point."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - place marker on clicked location"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        click: function(e) {\n            e.sender.markers.add({\n                location: e.location,\n                tooltip: {\n                    content: \"Foo\"\n                }\n            });\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the click event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"click\", function(e) {\n        console.log(\"You clicked at \" + e.location.toString());\n    });\n</script>"],["header",{"level":3},"markerCreated"],["para","Fired when a marker has been created and is about to be displayed.\nCancelling the event will prevent the marker from being shown."],["blockquote",["para","Markers are automatically created for GeoJSON Point geometries. If the markerCreated event is cancelled a regular shape (circle) will be created instead."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.marker ",["inlinecode","kendo.dataviz.map.Marker"]],["para","The marker instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":4},"Example - Draw a shape (circle) instead of a marker"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        layers: [{\n            type: \"shape\",\n            dataSource: {\n                type: \"geojson\",\n                data: [{\n                    \"type\": \"Point\",\n                    \"coordinates\": [\n                        [30, 10]\n                    ]\n                }]\n            }\n        }],\n        markerCreated: function(e) {\n            // Draw a shape (circle) instead of a marker\n            e.preventDefault();\n        }\n    });\n</script>"],["header",{"level":3},"pan"],["para","Fired while the map viewport is being moved."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.origin ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map origin (top left or NW corner)."],["header",{"level":5},"e.center ",["inlinecode","kendo.dataviz.map.Location"]],["para","The current map center."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map pan event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        pan: function(e) {\n            console.log(\"pan to \" + e.center.toString());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map pan event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"pan\", function(e) {\n        console.log(\"pan to \" + e.center.toString());\n    });\n</script>"],["header",{"level":3},"panEnd"],["para","Fires after the map viewport has been moved."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.origin ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map origin (top left or NW corner)."],["header",{"level":5},"e.center ",["inlinecode","kendo.dataviz.map.Location"]],["para","The map center."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map panEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        panEnd: function(e) {\n            console.log(\"pan ended at \" + e.center.toString());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map panEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"panEnd\", function(e) {\n        console.log(\"pan ended at \" + e.center.toString());\n    });\n</script>"],["header",{"level":3},"reset"],["para","Fired when the map is reset.\nThis typically occurs on initial load and after a zoom/center change."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":4},"Example - bind to the map reset event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        reset: function() {\n            console.log(\"map reset\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map reset event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"reset\", function(e) {\n        console.log(\"map reset\");\n    });\n</script>"],["header",{"level":3},"shapeClick"],["para","Fired when a shape is clicked or tapped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeClick event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeClick: function() {\n            console.log(\"shape clicked\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeClick event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeClick\", function(e) {\n        console.log(\"shape clicked\");\n    });\n</script>"],["header",{"level":3},"shapeCreated"],["para","Fired when a shape is created, but is not rendered yet."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeCreated event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeCreated: function() {\n            console.log(\"shape created\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeCreated event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeCreated\", function(e) {\n        console.log(\"shape created\");\n    });\n</script>"],["header",{"level":3},"shapeMouseEnter"],["para","Fired when the mouse enters a shape."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeMouseEnter event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseEnter: function() {\n            console.log(\"shape mouseenter\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeMouseEnter event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseEnter\", function(e) {\n        console.log(\"shape mouseenter\");\n    });\n</script>"],["header",{"level":3},"shapeMouseLeave"],["para","Fired when the mouse leaves a shape."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layer ",["inlinecode","kendo.dataviz.map.layer.Shape"]],["para","The parent layer instance."],["header",{"level":5},"e.shape ",["inlinecode","kendo.dataviz.drawing.Shape"]],["para","The the shape instance."],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map shapeMouseLeave event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        shapeMouseLeave: function() {\n            console.log(\"shape mouseleave\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map shapeMouseLeave event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"shapeMouseLeave\", function(e) {\n        console.log(\"shape mouseleave\");\n    });\n</script>"],["header",{"level":3},"zoomStart"],["para","Fired when the map zoom level is about to change.\nCancelling the event will prevent the user action."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map zoomStart event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function() {\n            console.log(\"zoom start\");\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map zoomStart event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomStart\", function(e) {\n        console.log(\"zoom start\");\n    });\n</script>"],["header",{"level":4},"Example - cancel zoom"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomStart: function(e) {\n            e.preventDefault();\n        }\n    });\n</script>"],["header",{"level":3},"zoomEnd"],["para","Fired when the map zoom level has changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.dataviz.ui.Map"]],["para","The source widget instance."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The source jQuery event instance"],["header",{"level":4},"Example - bind to the map zoomEnd event on initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }],\n        zoomEnd: function(e) {\n            console.log(\"zoom end @ \" + e.sender.zoom());\n        }\n    });\n</script>"],["header",{"level":4},"Example - bind to the map zoomEnd event after initialization"],["code_block","<div id=\"map\"></div>\n<script>\n    $(\"#map\").kendoMap({\n        zoom: 3,\n        center: [0, 0],\n        layers: [{\n            type: \"tile\",\n            urlTemplate: \"http://a.tile.openstreetmap.org/#= zoom #/#= x #/#= y #.png\",\n            attribution: \"&copy; OpenStreetMap\"\n        }]\n    });\n\n    var map = $(\"#map\").data(\"kendoMap\");\n    map.bind(\"zoomEnd\", function(e) {\n        console.log(\"zoom end @ \" + e.sender.zoom());\n    });\n</script>"]]},"kendo.dataviz.ui.QRCode":{"file":"api/dataviz/qrcode.md","name":"kendo.dataviz.ui.QRCode","config":[{"name":"Example - Render as SVG, if supported","type":[],"short_doc":[["para","<div id=\"qrCode\"></div>\n    <script>\n    $(\"#qrCode\").kendoQRCode({\n      value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n      renderAs: \"svg\"\n    });\n    </script>"]],"doc":[["para","<div id=\"qrCode\"></div>\n    <script>\n    $(\"#qrCode\").kendoQRCode({\n      value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n      renderAs: \"svg\"\n    });\n    </script>"]]},{"name":"background","type":["String"],"default":"\"#fff\"","short_doc":[["para","The background color of the QR code. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the QR code. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  background: \"red\"\n});\n</script>"]]},{"name":"border","type":["Object"],"short_doc":[["para","The border of the QR code."]],"doc":[["para","The border of the QR code."]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  border: {\n    width: 5,\n    color: \"#FF7D05\"\n  }\n});\n</script>"]],"orig":"border.width"},{"name":"color","type":["String"],"short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  border: {\n    color: \"#FF321C\",\n    width: 2\n  }\n});\n</script>"]],"orig":"border.color"}]},{"name":"color","type":["String"],"default":"\"#000\"","short_doc":[["para","The color of the QR code. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the QR code. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  color: \"#aa00bb\"\n});\n</script>"]]},{"name":"encoding","type":["String"],"short_doc":[["para","The encoding mode used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"ISO_8859_1\" - supports all characters from the ",["link",{"href":"http://en.wikipedia.org/wiki/ISO/IEC_8859-1"},"ISO/IEC 8859-1"]," character set."],["listitem","\"UTF_8\" - supports all ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_Unicode_characters"},"Unicode"]," characters."]],["blockquote",["para",["em","Important:"]," The UTF-8 encoding is not included in the specifications and is not supported by all readers."]]],"doc":[["para","The encoding mode used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"ISO_8859_1\" - supports all characters from the ",["link",{"href":"http://en.wikipedia.org/wiki/ISO/IEC_8859-1"},"ISO/IEC 8859-1"]," character set."],["listitem","\"UTF_8\" - supports all ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_Unicode_characters"},"Unicode"]," characters."]],["blockquote",["para",["em","Important:"]," The UTF-8 encoding is not included in the specifications and is not supported by all readers."]],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"丠\",\n  encoding: \"UTF_8\"\n});\n</script>"]]},{"name":"errorCorrection","type":["String"],"default":"\"L\"","short_doc":[["para","The error correction level used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"L\" - approximately 7% of the codewords can be restored."],["listitem","\"M\" - approximately 15% of the codewords can be restored."],["listitem","\"Q\" - approximately 25% of the codewords can be restored."],["listitem","\"H\" - approximately 30% of the codewords can be restored."]]],"doc":[["para","The error correction level used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"L\" - approximately 7% of the codewords can be restored."],["listitem","\"M\" - approximately 15% of the codewords can be restored."],["listitem","\"Q\" - approximately 25% of the codewords can be restored."],["listitem","\"H\" - approximately 30% of the codewords can be restored."]],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  errorCorrection: \"H\"\n});\n</script>"]]},{"name":"padding","type":["Number"],"default":"0","short_doc":[["para","Sets the minimum distance in pixels that should be left between the border and the QR modules."]],"doc":[["para","Sets the minimum distance in pixels that should be left between the border and the QR modules."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: 240,\n  padding: 10\n});\n</script>"]]},{"name":"renderAs","type":["String"],"default":"\"canvas\"","short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the QRCode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the QRCode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"size","type":["Number","String"],"short_doc":[["para","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 does not have width or height bigger than zero, a default value of 200 pixels will be used."]],"doc":[["para","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 does not have width or height bigger than zero, a default value of 200 pixels will be used."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: 300\n});\n</script>"],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: \"300px\"\n});\n</script>"]]},{"name":"value","type":["Number","String"],"short_doc":[["para","The value of the QRCode."]],"doc":[["para","The value of the QRCode."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\"\n});\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the QRCode for safe removal from the DOM."],["para","Removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the QRCode for safe removal from the DOM."],["para","Removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.destroy();"]],"examples":[[["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.destroy();"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the qrcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the qrcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the QRCode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value: \"Some text\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar image = qrcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the QRCode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value: \"Some text\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar image = qrcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]},{"name":"redraw","args":[],"short_doc":[["para","Redraws the QR code using the current value and options."]],"doc":[["para","Redraws the QR code using the current value and options."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.redraw();"]],"examples":[[["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.redraw();"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","An object with the new options. All ",["link",{"href":"qrcode#configuration"},"configuration"]," options can be set."]],"doc":[["para","An object with the new options. All ",["link",{"href":"qrcode#configuration"},"configuration"]," options can be set."]]}],"short_doc":[["para","Sets new options to the QRCode and redraws it."]],"doc":[["para","Sets new options to the QRCode and redraws it."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object with the new options. All ",["link",{"href":"qrcode#configuration"},"configuration"]," options can be set."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\n\nqrCode.setOptions({\n  errorCorrection: \"H\",\n  size: 300,\n  background: \"#FFB821\",\n  border: {\n    width: 5,\n    color: \"#FF7D05\"\n  }\n});"]],"examples":[[["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\n\nqrCode.setOptions({\n  errorCorrection: \"H\",\n  size: 300,\n  background: \"#FFB821\",\n  border: {\n    width: 5,\n    color: \"#FF7D05\"\n  }\n});"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the qrcode."],["header",{"level":4},"Example - get the SVG representation of the qrcode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value:\"Some value\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar svg = qrcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example - get the SVG representation of the qrcode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value:\"Some value\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar svg = qrcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"value","args":[{"name":"options","type":["String","Number"],"short_doc":[["para","The new value to be set."]],"doc":[["para","The new value to be set."]]}],"short_doc":[["para","Change the value of the QR code."]],"doc":[["para","Change the value of the QR code."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","String|Number"]],["para","The new value to be set."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.value(\"Hello\");"]],"examples":[[["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.value(\"Hello\");"]]]}],"events":[],"fields":[],"short_doc":[["para","Represents the Kendo UI QRCode widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI QRCode widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"Example - Render as SVG, if supported"],["para","<div id=\"qrCode\"></div>\n    <script>\n    $(\"#qrCode\").kendoQRCode({\n      value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n      renderAs: \"svg\"\n    });\n    </script>"],["header",{"level":3},"background ",["inlinecode","String"]," ",["em","(default: \"#fff\")"]],["para","The background color of the QR code. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  background: \"red\"\n});\n</script>"],["header",{"level":3},"border ",["inlinecode","Object"]],["para","The border of the QR code."],["header",{"level":3},"border.color ",["inlinecode","String"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  border: {\n    color: \"#FF321C\",\n    width: 2\n  }\n});\n</script>"],["header",{"level":3},"border.width ",["inlinecode","Number"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  border: {\n    width: 5,\n    color: \"#FF7D05\"\n  }\n});\n</script>"],["header",{"level":3},"color ",["inlinecode","String"]," ",["em","(default: \"#000\")"]],["para","The color of the QR code. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  color: \"#aa00bb\"\n});\n</script>"],["header",{"level":3},"encoding ",["inlinecode","String"]," *(default: \"ISO",["em","8859"],"1\")*"],["para","The encoding mode used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"ISO_8859_1\" - supports all characters from the ",["link",{"href":"http://en.wikipedia.org/wiki/ISO/IEC_8859-1"},"ISO/IEC 8859-1"]," character set."],["listitem","\"UTF_8\" - supports all ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_Unicode_characters"},"Unicode"]," characters."]],["blockquote",["para",["em","Important:"]," The UTF-8 encoding is not included in the specifications and is not supported by all readers."]],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"丠\",\n  encoding: \"UTF_8\"\n});\n</script>"],["header",{"level":3},"errorCorrection ",["inlinecode","String"]," ",["em","(default: \"L\")"]],["para","The error correction level used to encode the value."],["para","The possible values are:"],["bulletlist",["listitem","\"L\" - approximately 7% of the codewords can be restored."],["listitem","\"M\" - approximately 15% of the codewords can be restored."],["listitem","\"Q\" - approximately 25% of the codewords can be restored."],["listitem","\"H\" - approximately 30% of the codewords can be restored."]],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  errorCorrection: \"H\"\n});\n</script>"],["header",{"level":3},"padding ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","Sets the minimum distance in pixels that should be left between the border and the QR modules."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: 240,\n  padding: 10\n});\n</script>"],["header",{"level":3},"renderAs ",["inlinecode","String"]," ",["em","(default: \"canvas\")"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the QRCode will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"canvas\" - renders the widget as a Canvas element, if available."],["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"size ",["inlinecode","Number|String"]],["para","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 does not have width or height bigger than zero, a default value of 200 pixels will be used."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: 300\n});\n</script>"],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\",\n  size: \"300px\"\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","Number|String"]],["para","The value of the QRCode."],["header",{"level":4},"Example"],["code_block","<div id=\"qrCode\"></div>\n<script>\n$(\"#qrCode\").kendoQRCode({\n  value: \"http://demos.kendoui.com/dataviz/overview/index.html\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the QRCode for safe removal from the DOM."],["para","Removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.destroy();"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the qrcode encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the QRCode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value: \"Some text\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar image = qrcode.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":3},"redraw"],["para","Redraws the QR code using the current value and options."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.redraw();"],["header",{"level":3},"setOptions"],["para","Sets new options to the QRCode and redraws it."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object with the new options. All ",["link",{"href":"qrcode#configuration"},"configuration"]," options can be set."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\n\nqrCode.setOptions({\n  errorCorrection: \"H\",\n  size: 300,\n  background: \"#FFB821\",\n  border: {\n    width: 5,\n    color: \"#FF7D05\"\n  }\n});"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"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 ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],". Both programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the qrcode."],["header",{"level":4},"Example - get the SVG representation of the qrcode"],["code_block","<div id=\"qrcode\"></div>\n<script>\n$(\"#qrcode\").kendoQRCode({\n  value:\"Some value\"\n});\nvar qrcode = $(\"#qrcode\").data(\"kendoQRCode\");\nvar svg = qrcode.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"value"],["para","Change the value of the QR code."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","String|Number"]],["para","The new value to be set."],["header",{"level":4},"Example"],["code_block","var qrCode = $(\"#qrCode\").data(\"kendoQRCode\");\nqrCode.value(\"Hello\");"]]},"kendo.dataviz.ui.RadialGauge":{"file":"api/dataviz/radialgauge.md","name":"kendo.dataviz.ui.RadialGauge","config":[{"name":"gaugeArea","type":["Object"],"short_doc":[["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."]],"doc":[["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The width of the gauge area.  By default the vertical gauge is 60px\nand horizontal gauge is 200px."]],"doc":[["para","The width of the gauge area.  By default the vertical gauge is 60px\nand horizontal gauge is 200px."]],"orig":"gaugeArea.width"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the gauge area."]],"doc":[["para"," The margin of the gauge area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"gaugeArea.margin"},{"name":"height","type":["Number"],"short_doc":[["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."]],"doc":[["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."]],"orig":"gaugeArea.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the gauge area."]],"doc":[["para","The border of the gauge area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"gaugeArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"gaugeArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"gaugeArea.border.color"}],"orig":"gaugeArea.border"},{"name":"background","type":["Object"],"default":"\"white\"","short_doc":[["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"gaugeArea.background"}]},{"name":"pointer","type":["Object"],"short_doc":[["para","The pointer configuration options."]],"doc":[["para","The pointer configuration options."]],"sub":[{"name":"value","type":["Number"],"short_doc":[["para","The value of the gauge."]],"doc":[["para","The value of the gauge."]],"orig":"pointer.value"},{"name":"color","type":["String"],"short_doc":[["para","The color of the pointer.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the pointer.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"pointer.color"},{"name":"cap","type":["Object"],"short_doc":[["para","The cap configuration options."]],"doc":[["para","The cap configuration options."]],"sub":[{"name":"size","type":["Number"],"short_doc":[["para","The size of the cap in percents. (from 0 to 1)"]],"doc":[["para","The size of the cap in percents. (from 0 to 1)"]],"orig":"pointer.cap.size"},{"name":"color","type":["String"],"short_doc":[["para","The color of the cap.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the cap.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"pointer.cap.color"}],"orig":"pointer.cap"}]},{"name":"renderAs","type":["String"],"short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"Example - Render as Canvas, if supported","type":[],"short_doc":[["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"]],"doc":[["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"]]},{"name":"scale","type":["Object"],"short_doc":[["para","Configures the scale."]],"doc":[["para","Configures the scale."]],"sub":[{"name":"startAngle","type":["Number"],"default":"-30","short_doc":[["para"," The start angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"]],"doc":[["para"," The start angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"]],"orig":"scale.startAngle"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the scale direction - values are increase anticlockwise."]],"doc":[["para","Reverses the scale direction - values are increase anticlockwise."]],"orig":"scale.reverse"},{"name":"rangeDistance","type":["Number"],"short_doc":[["para","The distance from the range indicators to the ticks."]],"doc":[["para","The distance from the range indicators to the ticks."]],"orig":"scale.rangeDistance"},{"name":"rangeSize","type":["Number"],"short_doc":[["para","The width of the range indicators."]],"doc":[["para","The width of the range indicators."]],"orig":"scale.rangeSize"},{"name":"rangePlaceholderColor","type":["String"],"short_doc":[["para","The default color for the ranges."]],"doc":[["para","The default color for the ranges."]],"orig":"scale.rangePlaceholderColor"},{"name":"ranges","type":["Array"],"short_doc":[["para","The ranges of the scale."]],"doc":[["para","The ranges of the scale."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").kendoRadialGauge({\n    scale: {\n        ranges: [{\n            from: 10,\n            to: 20,\n            color: \"green\"\n        }]\n    }\n });"]],"sub":[{"name":"color","type":["String"],"short_doc":[["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.ranges.color"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the range."]],"doc":[["para","The opacity of the range."]],"orig":"scale.ranges.opacity"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the range in scale units."]],"doc":[["para","The end position of the range in scale units."]],"orig":"scale.ranges.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the range in scale units."]],"doc":[["para","The start position of the range in scale units."]],"orig":"scale.ranges.from"}],"orig":"scale.ranges"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions."]],"doc":[["para","The interval between minor divisions."]],"orig":"scale.minorUnit"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","Configures the scale minor ticks."]],"doc":[["para","Configures the scale minor ticks."]],"sub":[{"name":"width","type":["Number"],"default":"0.5","short_doc":[["para"," The width of the minor ticks."]],"doc":[["para"," The width of the minor ticks."]],"orig":"scale.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the minor ticks."]],"doc":[["para"," The visibility of the minor ticks."]],"orig":"scale.minorTicks.visible"},{"name":"size","type":["Number"],"short_doc":[["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"doc":[["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"orig":"scale.minorTicks.size"},{"name":"color","type":["String"],"short_doc":[["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.minorTicks.color"}],"orig":"scale.minorTicks"},{"name":"min","type":["Number"],"default":"0","short_doc":[["para"," The minimum value of the scale."]],"doc":[["para"," The minimum value of the scale."]],"orig":"scale.min"},{"name":"max","type":["Number"],"default":"100","short_doc":[["para"," The maximum value of the scale."]],"doc":[["para"," The maximum value of the scale."]],"orig":"scale.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions."]],"doc":[["para","The interval between major divisions."]],"orig":"scale.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","Configures the scale major ticks."]],"doc":[["para","Configures the scale major ticks."]],"sub":[{"name":"width","type":["Number"],"default":"0.5","short_doc":[["para"," The width of the major ticks."]],"doc":[["para"," The width of the major ticks."]],"orig":"scale.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para"," The visibility of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.majorTicks.visible"},{"name":"size","type":["Number"],"short_doc":[["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"doc":[["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."]],"orig":"scale.majorTicks.size"},{"name":"color","type":["String"],"short_doc":[["para","The color of the major ticks."]],"doc":[["para","The color of the major ticks."]],"orig":"scale.majorTicks.color"}],"orig":"scale.majorTicks"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the scale labels."]],"doc":[["para","Configures the scale labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"scale.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#radial-gauge\").kendoRadialGauge({\n     scale: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"]],"orig":"scale.labels.template"},{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The labels positions."]],"doc":[["para","The labels positions."],["header",{"level":4},["em","\"inside\""]],["para","The labels are positioned inside."],["header",{"level":4},["em","\"outside\""]],["para","The labels are positioned outside."]],"orig":"scale.labels.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."]],"orig":"scale.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para"," The margin of the labels."]],"doc":[["para"," The margin of the labels."]],"orig":"scale.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").kendoRadialGauge({\n    scale: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    }\n});"]],"orig":"scale.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"scale.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"scale.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"scale.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"scale.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"scale.labels.border.color"}],"orig":"scale.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"]],"doc":[["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"]],"orig":"scale.labels.background"}],"orig":"scale.labels"},{"name":"endAngle","type":["Number"],"default":"210","short_doc":[["para"," The end angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"]],"doc":[["para"," The end angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"]],"orig":"scale.endAngle"}]},{"name":"transitions","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if transition animations should be played."]],"doc":[["para","A value indicating if transition animations should be played."]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#radial-gauge\"));\n$(\"#radial-gauge\").remove();"]],"examples":[[["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#radial-gauge\"));\n$(\"#radial-gauge\").remove();"]]]},{"name":"redraw","args":[],"short_doc":[["para","Redraws the gauge."]],"doc":[["para","Redraws the gauge."],["header",{"level":4},"Example"],["code_block","var gauge = $(\"#radial-gauge\").data(\"kendoRadialGauge\");\ngauge.redraw();"]],"examples":[[["header",{"level":4},"Example"],["code_block","var gauge = $(\"#radial-gauge\").data(\"kendoRadialGauge\");\ngauge.redraw();"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]},{"name":"value","args":[],"short_doc":[["para","Change the value of the gauge."]],"doc":[["para","Change the value of the gauge."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").data(\"kendoRadialGauge\").value(20);"]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").data(\"kendoRadialGauge\").value(20);"]]]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"gaugeArea ",["inlinecode","Object"]],["para","The gauge area configuration options.\nThis is the entire visible area of the gauge."],["header",{"level":3},"gaugeArea.background ",["inlinecode","Object"],["em","(default: \"white\")"]],["para"," The background of the gauge area.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"gaugeArea.border ",["inlinecode","Object"]],["para","The border of the gauge area."],["header",{"level":3},"gaugeArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"gaugeArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"gaugeArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"gaugeArea.height ",["inlinecode","Number"]],["para","The height of the gauge area.  By default, the vertical gauge is 200px and\nthe horizontal one is 60px."],["header",{"level":3},"gaugeArea.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para"," The margin of the gauge area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"gaugeArea.width ",["inlinecode","Number"]],["para","The width of the gauge area.  By default the vertical gauge is 60px\nand horizontal gauge is 200px."],["header",{"level":3},"pointer ",["inlinecode","Object"]],["para","The pointer configuration options."],["header",{"level":3},"pointer.cap ",["inlinecode","Object"]],["para","The cap configuration options."],["header",{"level":3},"pointer.cap.color ",["inlinecode","String"]],["para","The color of the cap.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"pointer.cap.size ",["inlinecode","Number"]],["para","The size of the cap in percents. (from 0 to 1)"],["header",{"level":3},"pointer.color ",["inlinecode","String"]],["para","The color of the pointer.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"pointer.value ",["inlinecode","Number"]],["para","The value of the gauge."],["header",{"level":3},"renderAs ",["inlinecode","String"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Gauge will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"Example - Render as Canvas, if supported"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    renderAs: \"canvas\",\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\n</script>"],["header",{"level":3},"scale ",["inlinecode","Object"]],["para","Configures the scale."],["header",{"level":3},"scale.endAngle ",["inlinecode","Number"],["em","(default: 210)"]],["para"," The end angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"],["header",{"level":3},"scale.labels ",["inlinecode","Object"]],["para","Configures the scale labels."],["header",{"level":3},"scale.labels.background ",["inlinecode","String"]],["para","The background color of the labels.\nAny valid CSS color string will work here, including hex and rgb"],["header",{"level":3},"scale.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"scale.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"scale.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"scale.labels.color ",["inlinecode","String"]],["para","The text color of the labels.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"scale.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").kendoRadialGauge({\n    scale: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    }\n});"],["header",{"level":3},"scale.labels.margin ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The margin of the labels."],["header",{"level":3},"scale.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":3},"scale.labels.position ",["inlinecode","String"],["em","(default: \"inside\")"]],["para","The labels positions."],["header",{"level":4},["em","\"inside\""]],["para","The labels are positioned inside."],["header",{"level":4},["em","\"outside\""]],["para","The labels are positioned outside."],["header",{"level":3},"scale.labels.template ",["inlinecode","String|Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#radial-gauge\").kendoRadialGauge({\n     scale: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"],["header",{"level":3},"scale.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the labels."],["header",{"level":3},"scale.majorTicks ",["inlinecode","Object"]],["para","Configures the scale major ticks."],["header",{"level":3},"scale.majorTicks.color ",["inlinecode","String"]],["para","The color of the major ticks."],["header",{"level":3},"scale.majorTicks.size ",["inlinecode","Number"]],["para","The major tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."],["header",{"level":3},"scale.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the major ticks.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.majorTicks.width ",["inlinecode","Number"],["em","(default: 0.5)"]],["para"," The width of the major ticks."],["header",{"level":3},"scale.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions."],["header",{"level":3},"scale.max ",["inlinecode","Number"],["em","(default: 100)"]],["para"," The maximum value of the scale."],["header",{"level":3},"scale.min ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The minimum value of the scale."],["header",{"level":3},"scale.minorTicks ",["inlinecode","Object"]],["para","Configures the scale minor ticks."],["header",{"level":3},"scale.minorTicks.color ",["inlinecode","String"]],["para","The color of the minor ticks.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.minorTicks.size ",["inlinecode","Number"]],["para","The minor tick size.\nThis is the length of the line in pixels that is drawn to indicate the tick on the scale."],["header",{"level":3},"scale.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," The visibility of the minor ticks."],["header",{"level":3},"scale.minorTicks.width ",["inlinecode","Number"],["em","(default: 0.5)"]],["para"," The width of the minor ticks."],["header",{"level":3},"scale.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions."],["header",{"level":3},"scale.ranges ",["inlinecode","Array"]],["para","The ranges of the scale."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").kendoRadialGauge({\n    scale: {\n        ranges: [{\n            from: 10,\n            to: 20,\n            color: \"green\"\n        }]\n    }\n });"],["header",{"level":3},"scale.ranges.from ",["inlinecode","Number"]],["para","The start position of the range in scale units."],["header",{"level":3},"scale.ranges.to ",["inlinecode","Number"]],["para","The end position of the range in scale units."],["header",{"level":3},"scale.ranges.opacity ",["inlinecode","Number"]],["para","The opacity of the range."],["header",{"level":3},"scale.ranges.color ",["inlinecode","String"]],["para","The color of the range.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"scale.rangePlaceholderColor ",["inlinecode","String"]],["para","The default color for the ranges."],["header",{"level":3},"scale.rangeSize ",["inlinecode","Number"]],["para","The width of the range indicators."],["header",{"level":3},"scale.rangeDistance ",["inlinecode","Number"]],["para","The distance from the range indicators to the ticks."],["header",{"level":3},"scale.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the scale direction - values are increase anticlockwise."],["header",{"level":3},"scale.startAngle ",["inlinecode","Number"],["em","(default: -30)"]],["para"," The start angle of the gauge.\nThe gauge is rendered clockwise(0 degrees are the 180 degrees in the polar coordinat system)"],["header",{"level":3},"transitions ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if transition animations should be played."],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the Gauge for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","kendo.destroy($(\"#radial-gauge\"));\n$(\"#radial-gauge\").remove();"],["header",{"level":3},"redraw"],["para","Redraws the gauge."],["header",{"level":4},"Example"],["code_block","var gauge = $(\"#radial-gauge\").data(\"kendoRadialGauge\");\ngauge.redraw();"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the gauge.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Example"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar svg = gauge.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the gauge encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the gauge"],["code_block","<div id=\"gauge\"></div>\n<script>\n$(\"#gauge\").kendoRadialGauge({\n    pointer: {\n        value: 50\n    },\n    scale: {\n        min: 0,\n        max: 100\n    }\n});\nvar gauge = $(\"#gauge\").data(\"kendoRadialGauge\");\nvar image = gauge.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":3},"value"],["para","Change the value of the gauge."],["header",{"level":4},"Example"],["code_block","$(\"#radial-gauge\").data(\"kendoRadialGauge\").value(20);"]]},"kendo.dataviz.ui.Sparkline":{"file":"api/dataviz/sparkline.md","name":"kendo.dataviz.ui.Sparkline","config":[{"name":"axisDefaults","type":["Object"],"short_doc":[["para","Default options for all chart axes."]],"doc":[["para","Default options for all chart axes."]]},{"name":"categoryAxis","type":["Array"],"short_doc":[["para","The category axis configuration options."]],"doc":[["para","The category axis configuration options."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The category axis notes configuration."]],"doc":[["para","The category axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The line length of the note."]],"doc":[["para","The line length of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.width"}],"orig":"categoryAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.color"}],"orig":"categoryAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.background"}],"orig":"categoryAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.color"}],"orig":"categoryAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.background"}],"orig":"categoryAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"categoryAxis.notes.data.value"}],"orig":"categoryAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The line length of the notes."]],"doc":[["para","The line length of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.width"}],"orig":"categoryAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.color"}],"orig":"categoryAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.background"}],"orig":"categoryAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.color"}],"orig":"categoryAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.background"}],"orig":"categoryAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.position"}],"orig":"categoryAxis.notes"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."]],"doc":[["para","The crosshair configuration options."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip configuration options."]],"doc":[["para","The crosshar tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"categoryAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     type: \"area\",\n     data: [200, 450, 300, 125],\n     categoryAxis: {\n         crosshair: {\n             tooltip: {\n                 template: \"|#= value #|\"\n             }\n         }\n     }\n});"]],"orig":"categoryAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"categoryAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"categoryAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"categoryAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip."]],"doc":[["para","The text color of the tooltip."]],"orig":"categoryAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.crosshair.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"categoryAxis.crosshair.tooltip.border.color"}],"orig":"categoryAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip."]],"doc":[["para","The background color of the tooltip."]],"orig":"categoryAxis.crosshair.tooltip.background"}],"orig":"categoryAxis.crosshair.tooltip"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"categoryAxis.crosshair.visible"},{"name":"dashType","type":["Number"],"short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"categoryAxis.crosshair.dashType"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the crosshair."]],"doc":[["para","The opacity of the crosshair."]],"orig":"categoryAxis.crosshair.opacity"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the crosshair."]],"doc":[["para","The width of the crosshair."]],"orig":"categoryAxis.crosshair.width"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair."]],"doc":[["para","The color of the crosshair."]],"orig":"categoryAxis.crosshair.color"}],"orig":"categoryAxis.crosshair"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the axis."]],"doc":[["para","The visibility of the axis."]],"orig":"categoryAxis.visible"},{"name":"maxDateGroups","type":["Number"],"default":"10","short_doc":[["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."]],"doc":[["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."]],"orig":"categoryAxis.maxDateGroups"},{"name":"weekStartDay","type":["Number"],"default":"kendo.days.Sunday","short_doc":[["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]]],"doc":[["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]]],"orig":"categoryAxis.weekStartDay"},{"name":"roundToBaseUnit","type":["Boolean"],"default":"true","short_doc":[["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either bar or column series are plotted on the axis."]],"doc":[["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either bar or column series are plotted on the axis."]],"orig":"categoryAxis.roundToBaseUnit"},{"name":"min","type":["Object"],"short_doc":[["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"doc":[["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"orig":"categoryAxis.min"},{"name":"max","type":["Object"],"short_doc":[["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"doc":[["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"orig":"categoryAxis.max"},{"name":"baseUnitStep","type":["Object"],"default":"1","short_doc":[["para","Sets the step (interval) between categories in base units.\nSpecifiying \"auto\" will set the step to such value that the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","This option is ignored if ",["strong","baseUnit"]," is set to \"fit\"."]],"doc":[["para","Sets the step (interval) between categories in base units.\nSpecifiying \"auto\" will set the step to such value that the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","This option is ignored if ",["strong","baseUnit"]," is set to \"fit\"."]],"orig":"categoryAxis.baseUnitStep"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the axis.\nThe default baseUnit is determined automatically from the minimum difference\nbetween subsequent categories. Available options:"],["bulletlist",["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"],["listitem",["strong","fit"]]],["para","Setting ",["strong","baseUnit"]," to \"fit\" will set such base unit and ",["strong","baseUnitStep"],"\nthat the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit by using the\n",["strong","series.aggregate"]," function."]],"doc":[["para","The base time interval for the axis.\nThe default baseUnit is determined automatically from the minimum difference\nbetween subsequent categories. Available options:"],["bulletlist",["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"],["listitem",["strong","fit"]]],["para","Setting ",["strong","baseUnit"]," to \"fit\" will set such base unit and ",["strong","baseUnitStep"],"\nthat the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit by using the\n",["strong","series.aggregate"]," function."]],"orig":"categoryAxis.baseUnit"},{"name":"autoBaseUnitSteps","type":["Object"],"short_doc":[["para","Specifies the discrete ",["strong","baseUnitStep"]," values when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","The default configuration is as follows:"],["bulletlist",["listitem",["inlinecode","minutes: [1, 2, 5, 15, 30]"]],["listitem",["inlinecode","hours: [1, 2, 3, 6, 12]"]],["listitem",["inlinecode","days: [1, 2, 3]"]],["listitem",["inlinecode","weeks: [1, 2]"]],["listitem",["inlinecode","months: [1, 2, 3, 6]"]],["listitem",["inlinecode","years: [1, 2, 3, 5, 10, 25, 50]"]]],["para","Each setting can be overriden individually."]],"doc":[["para","Specifies the discrete ",["strong","baseUnitStep"]," values when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","The default configuration is as follows:"],["bulletlist",["listitem",["inlinecode","minutes: [1, 2, 5, 15, 30]"]],["listitem",["inlinecode","hours: [1, 2, 3, 6, 12]"]],["listitem",["inlinecode","days: [1, 2, 3]"]],["listitem",["inlinecode","weeks: [1, 2]"]],["listitem",["inlinecode","months: [1, 2, 3, 6]"]],["listitem",["inlinecode","years: [1, 2, 3, 5, 10, 25, 50]"]]],["para","Each setting can be overriden individually."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    },\n    ...\n});"]],"orig":"categoryAxis.autoBaseUnitSteps"},{"name":"type","type":["String"],"default":"\"category\"","short_doc":[["para","The axis type."]],"doc":[["para","The axis type."],["header",{"level":4},["em","\"category\""]],["para","Discrete category axis."],["header",{"level":4},["em","\"date\""]],["para","Specialized axis for displaying chronological data."]],"orig":"categoryAxis.type"},{"name":"title","type":["Object"],"short_doc":[["para","The title of the category axis."]],"doc":[["para","The title of the category axis."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the title."]],"doc":[["para","The visibility of the title."]],"orig":"categoryAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"categoryAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title."]],"doc":[["para","The rotation angle of the title."]],"orig":"categoryAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."]],"doc":[["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)"],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)"],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)"],["header",{"level":4},["em","\"right\""]],["para","The axis title is positioned on the right (applicable to horizontal axis)"],["header",{"level":4},["em","\"center\""]],["para","The axis title is positioned in the center"]],"orig":"categoryAxis.title.position"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title."]],"doc":[["para","The margin of the title."]],"orig":"categoryAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"categoryAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"categoryAxis.title.border.color"}],"orig":"categoryAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"categoryAxis.title.background"}],"orig":"categoryAxis.title"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."]],"doc":[["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."]],"orig":"categoryAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the category axis."]],"doc":[["para","The plot bands of the category axis."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."]],"orig":"categoryAxis.plotBands.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."]],"orig":"categoryAxis.plotBands.color"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."]],"orig":"categoryAxis.plotBands.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."]],"orig":"categoryAxis.plotBands.from"}],"orig":"categoryAxis.plotBands"},{"name":"name","type":["String"],"default":"\"primary\"","short_doc":[["para","The unique axis name."]],"doc":[["para","The unique axis name."]],"orig":"categoryAxis.name"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The minor ticks of the axis."]],"doc":[["para","The minor ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor ticks."]],"doc":[["para","The skip of the category axis minor ticks."]],"orig":"categoryAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor ticks."]],"doc":[["para","The step of the category axis minor ticks."]],"orig":"categoryAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."]],"orig":"categoryAxis.minorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"categoryAxis.minorTicks.color"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the minor ticks."]],"doc":[["para","The visibility of the minor ticks."]],"orig":"categoryAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"3","short_doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"orig":"categoryAxis.minorTicks.size"}],"orig":"categoryAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."]],"doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor grid lines."]],"doc":[["para","The skip of the category axis minor grid lines."]],"orig":"categoryAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor grid lines."]],"doc":[["para","The step of the category axis minor grid lines."]],"orig":"categoryAxis.minorGridLines.step"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"doc":[["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"orig":"categoryAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the grid lines."]],"doc":[["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"orig":"categoryAxis.minorGridLines.color"}],"orig":"categoryAxis.minorGridLines"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The major ticks of the axis."]],"doc":[["para","The major ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major ticks."]],"doc":[["para","The skip of the category axis major ticks."]],"orig":"categoryAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major ticks."]],"doc":[["para","The step of the category axis major ticks."]],"orig":"categoryAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."]],"orig":"categoryAxis.majorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"categoryAxis.majorTicks.color"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the major ticks."]],"doc":[["para","The visibility of the major ticks."]],"orig":"categoryAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"orig":"categoryAxis.majorTicks.size"}],"orig":"categoryAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","Configures the major grid lines.\nThese are the lines that are an extension of the major ticks through the body of the chart."]],"doc":[["para","Configures the major grid lines.\nThese are the lines that are an extension of the major ticks through the body of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major grid lines."]],"doc":[["para","The skip of the category axis major grid lines."]],"orig":"categoryAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major grid lines."]],"doc":[["para","The step of the category axis major grid lines."]],"orig":"categoryAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."]],"doc":[["para","The width of the lines."]],"orig":"categoryAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the grid lines."]],"doc":[["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.majorGridLines.color"}],"orig":"categoryAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."]],"doc":[["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"categoryAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."]],"doc":[["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."]],"orig":"categoryAxis.line.color"}],"orig":"categoryAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the axis labels."]],"doc":[["para","Configures the axis labels."]],"sub":[{"name":"dateFormats","type":["Object"],"short_doc":[["para","Date format strings"]],"doc":[["para","Date format strings"],["header",{"level":4},["em","\"hours\""]],["para","\"HH:mm\""],["header",{"level":4},["em","\"days\""]],["para","\"M/d\""],["header",{"level":4},["em","\"weeks\""]],["para","\"M/d\""],["header",{"level":4},["em","\"months\""]],["para","\"MMM 'yy\""],["header",{"level":4},["em","\"years\""]],["para","\"yyyy\""],["para","The Chart will choose the appropriate format for the current ",["inlinecode","baseUnit"],".\nSetting the labels ",["strong","format"]," option will override these defaults."]],"orig":"categoryAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt uses the global culture by default."]],"doc":[["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt uses the global culture by default."]],"orig":"categoryAxis.labels.culture"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the labels."]],"doc":[["para","The visibility of the labels."]],"orig":"categoryAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"orig":"categoryAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"orig":"categoryAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"orig":"categoryAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels."]],"doc":[["para","The rotation angle of the labels."]],"orig":"categoryAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels."]],"doc":[["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"categoryAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"orig":"categoryAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"categoryAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."]],"orig":"categoryAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"categoryAxis.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.border.color"}],"orig":"categoryAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.background"}],"orig":"categoryAxis.labels"},{"name":"justified","type":["Boolean"],"default":"false","short_doc":[["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either bar or column series are plotted on the axis."]],"doc":[["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either bar or column series are plotted on the axis."]],"orig":"categoryAxis.justified"},{"name":"field","type":["String"],"short_doc":[["para","The data field containing the category name."]],"doc":[["para","The data field containing the category name."]],"orig":"categoryAxis.field"},{"name":"color","type":["String"],"short_doc":[["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."]],"doc":[["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."]],"orig":"categoryAxis.color"},{"name":"categories","type":["Array"],"short_doc":[["para","Array of category names."]],"doc":[["para","Array of category names."]],"orig":"categoryAxis.categories"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."]],"doc":[["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."]],"orig":"categoryAxis.axisCrossingValue"}]},{"name":"chartArea","type":["Object"],"short_doc":[["para","The chart area configuration options.\nThis is the entire visible area of the chart."]],"doc":[["para","The chart area configuration options.\nThis is the entire visible area of the chart."]],"sub":[{"name":"width","type":["Number"],"default":"600","short_doc":[["para"," The width of the chart area."]],"doc":[["para"," The width of the chart area."]],"orig":"chartArea.width"},{"name":"margin","type":["Number","Object"],"default":"2","short_doc":[["para","The margin of the chart area."]],"doc":[["para","The margin of the chart area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"chartArea.margin"},{"name":"height","type":["Number"],"default":"400","short_doc":[["para","The height of the chart area."]],"doc":[["para","The height of the chart area."]],"orig":"chartArea.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart area."]],"doc":[["para","The border of the chart area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"chartArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"chartArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"chartArea.border.color"}],"orig":"chartArea.border"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The background opacity of the chart area."]],"doc":[["para","The background opacity of the chart area."]],"orig":"chartArea.opacity"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the chart area."]],"doc":[["para","The background color of the chart area."]],"orig":"chartArea.background"}]},{"name":"data","type":["Array"],"short_doc":[["para","The data for the default sparkline series."],["para","Will be discareded if series are supplied."]],"doc":[["para","The data for the default sparkline series."],["para","Will be discareded if series are supplied."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    data: [1, 2, 3, 5]\n});\n\n// Same as:\n$(\"#sparkline\").kendoSparkline([1, 2, 3, 5]);"]]},{"name":"dataSource","type":["Object"],"short_doc":[["para","DataSource configuration or instance."]],"doc":[["para","DataSource configuration or instance."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    dataSource: {\n        transport: {\n             read: \"spain-electricity.json\"\n        }\n    },\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});\n\n// Alternative configuration\nvar dataSource = new kendo.data.DataSource({\n    transport: {\n         read: \"spain-electricity.json\"\n    }\n});\n\n$(\"#sparkline\").kendoSparkline({\n    dataSource: dataSource,\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});"]]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the chart will call read on the data source initially."]],"doc":[["para","Indicates whether the chart will call read on the data source initially."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    dataSource: chartDataSource,\n    autoBind: false\n});\n\n// ...\nchartDataSource.read();"]]},{"name":"plotArea","type":["Object"],"short_doc":[["para","The plot area configuration options. This is the area containing the plotted series."]],"doc":[["para","The plot area configuration options. This is the area containing the plotted series."]],"sub":[{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the plot area."]],"doc":[["para"," The margin of the plot area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"plotArea.margin"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the plot area."]],"doc":[["para","The border of the plot area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"plotArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"plotArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"plotArea.border.color"}],"orig":"plotArea.border"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para"," The background opacity of the plot area."]],"doc":[["para"," The background opacity of the plot area."]],"orig":"plotArea.opacity"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para"," The background color of the plot area."]],"doc":[["para"," The background color of the plot area."]],"orig":"plotArea.background"}]},{"name":"pointWidth","type":["Number"],"default":"5","short_doc":[["para","The width to allocate for each data point."]],"doc":[["para","The width to allocate for each data point."]]},{"name":"renderAs","type":["String"],"short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Sparkline will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Sparkline will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"Example - Render as Canvas, if supported","type":[],"short_doc":[["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    renderAs: \"canvas\",\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\n</script>"]],"doc":[["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    renderAs: \"canvas\",\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\n</script>"]]},{"name":"series","type":["Array"],"short_doc":[["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]]],"doc":[["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The series notes configuration."]],"doc":[["para","The series notes configuration."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The line length of the notes."]],"doc":[["para","The line length of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.width"}],"orig":"series.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"series.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.color"}],"orig":"series.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.background"}],"orig":"series.notes.label"},{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"series.notes.position"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"]],"orig":"series.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.border.color"}],"orig":"series.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.background"}],"orig":"series.notes.icon"}],"orig":"series.notes"},{"name":"target","type":["Object"],"short_doc":[["para","The target of the bullet chart."]],"doc":[["para","The target of the bullet chart."]],"sub":[{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the target."]],"doc":[["para","The border of the target."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.target.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.target.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"series.target.border.color"}],"orig":"series.target.border"},{"name":"color","type":["String","Function"],"short_doc":[["para","The target color."]],"doc":[["para","The target color."]],"orig":"series.target.color"},{"name":"line","type":["Object"],"short_doc":[["para","The target line."]],"doc":[["para","The target line."]],"sub":[{"name":"width","type":["Object","Function"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."]],"orig":"series.target.line.width"}],"orig":"series.target.line"}],"orig":"series.target"},{"name":"width","type":["Number"],"default":"0.5","short_doc":[["para","The line width."],["para",["strong"," Available for line series "]]],"doc":[["para","The line width."],["para",["strong"," Available for line series "]]],"orig":"series.width"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para"," A value indicating if the tooltip should be displayed."]],"doc":[["para"," A value indicating if the tooltip should be displayed."]],"orig":"series.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"area\",\n         data: [200, 450, 300, 125],\n         tooltip: {\n             visible: true,\n             template: \"#= value #\"\n         }\n     }]\n});"]],"orig":"series.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"series.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, bar, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]]]],"doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, bar, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""]],"orig":"series.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"series.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"series.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"series.tooltip.border.color"}],"orig":"series.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"series.tooltip.background"}],"orig":"series.tooltip"},{"name":"stack","type":["Boolean","String"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\n",["strong"," Available for bar and column series. "]]],"doc":[["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\n",["strong"," Available for bar and column series. "]]],"orig":"series.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para","Space between points as proportion of the point width."],["para",["strong"," Available for bar and column series. "]]],"doc":[["para","Space between points as proportion of the point width."],["para",["strong"," Available for bar and column series. "]]],"orig":"series.spacing"},{"name":"startAngle","type":["Number"],"default":"90","short_doc":[["para","The start angle of the first segment."],["para",["strong","Available for pie series."]]],"doc":[["para","The start angle of the first segment."],["para",["strong","Available for pie series."]]],"orig":"series.startAngle"},{"name":"size","type":["Number"],"short_doc":[["para","The size (or radius) of the series in pixels.\nIf not specified, the available space is split evenly between the series."],["para",["strong","Available for only."]]],"doc":[["para","The size (or radius) of the series in pixels.\nIf not specified, the available space is split evenly between the series."],["para",["strong","Available for only."]]],"orig":"series.size"},{"name":"padding","type":["Number"],"short_doc":[["para","The padding around the chart (equal on all sides)."],["para",["strong"," Available for pie series. "]]],"doc":[["para","The padding around the chart (equal on all sides)."],["para",["strong"," Available for pie series. "]]],"orig":"series.padding"},{"name":"overlay","type":["Object"],"short_doc":[["para","The effects overlay."]],"doc":[["para","The effects overlay."]],"sub":[{"name":"gradient","type":["String"],"short_doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (bar and column series)"],["listitem",["strong","roundedBevel"]," (pie series)"],["listitem",["strong","sharpBevel"]," (pie series)"],["listitem",["strong","none"]]]],"doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (bar and column series)"],["listitem",["strong","roundedBevel"]," (pie series)"],["listitem",["strong","sharpBevel"]," (pie series)"],["listitem",["strong","none"]]]],"orig":"series.overlay.gradient"}],"orig":"series.overlay"},{"name":"opacity","type":["Number"],"short_doc":[["para","The series opacity."]],"doc":[["para","The series opacity."]],"orig":"series.opacity"},{"name":"negativeColor","type":["String"],"short_doc":[["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to bar and column series. "]]],"doc":[["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to bar and column series. "]]],"orig":"series.negativeColor"},{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]]],"orig":"series.style"},{"name":"missingValues","type":["String"],"short_doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]]],"doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]],["header",{"level":4},"Example - set the missing values behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"line\",\n    missingValues: \"gap\",\n    data: [1, 3, null, 4, 5]\n  }]\n});\n</script>"]],"orig":"series.missingValues"},{"name":"markers","type":["Object"],"short_doc":[["para","Marker options."],["para",["strong"," Applicable to area and line series "]]],"doc":[["para","Marker options."],["para",["strong"," Applicable to area and line series "]]],"sub":[{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the markers."]],"doc":[["para","The rotation angle of the markers."]],"orig":"series.markers.rotation"},{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para","The markers visibility."]],"doc":[["para","The markers visibility."]],"orig":"series.markers.visible"},{"name":"type","type":["String","Function"],"default":"\"circle\"","short_doc":[["para","Configures the markers shape type."]],"doc":[["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."]],"orig":"series.markers.type"},{"name":"size","type":["Number","Function"],"default":"6","short_doc":[["para"," The marker size."]],"doc":[["para"," The marker size."]],"orig":"series.markers.size"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the markers."]],"doc":[["para","The border of the markers."]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"series.markers.border.width"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"series.markers.border.color"}],"orig":"series.markers.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the current series markers."]],"doc":[["para","The background color of the current series markers."]],"orig":"series.markers.background"}],"orig":"series.markers"},{"name":"line","type":["String","Object"],"short_doc":[["para","Line options."],["para",["strong"," Applicable to area series. "]]],"doc":[["para","Line options."],["para",["strong"," Applicable to area series. "]]],"sub":[{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]]],"orig":"series.line.style"},{"name":"width","type":["String"],"default":"0.5","short_doc":[["para","The line width."]],"doc":[["para","The line width."]],"orig":"series.line.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The line opacity."]],"doc":[["para","The line opacity."]],"orig":"series.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color."]],"doc":[["para","The line color."]],"orig":"series.line.color"}],"orig":"series.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the series data labels."]],"doc":[["para","Configures the series data labels."]],"sub":[{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"series.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","percentage"]," - the point value represented as a percentage value.\nAvailable for pie series."],["listitem",["strong","category"]," - the category name\nAvailable for area, bar, column, line and pie series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]]],"doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","percentage"]," - the point value represented as a percentage value.\nAvailable for pie series."],["listitem",["strong","category"]," - the category name\nAvailable for area, bar, column, line and pie series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]]],"orig":"series.labels.template"},{"name":"position","type":["String","Function"],"default":"\"above\"","short_doc":[["para","Defines the position of the labels."]],"doc":[["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for bar, column, pie series. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for bar, column, pie series. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for bar and column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for bar, column, pie series.\nNot applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]]],"orig":"series.labels.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"series.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"{ left: 5, right: 5}","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"]],"orig":"series.labels.margin"},{"name":"format","type":["String","Function"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""]],"orig":"series.labels.format"},{"name":"font","type":["String","Function"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"series.labels.font"},{"name":"distance","type":["Number"],"default":"35","short_doc":[["para","The distance of the labels."],["para",["strong"," Available for pie series. "]]],"doc":[["para","The distance of the labels."],["para",["strong"," Available for pie series. "]]],"orig":"series.labels.distance"},{"name":"color","type":["String","Function"],"short_doc":[["para","The text color of the labels."]],"doc":[["para","The text color of the labels."]],"orig":"series.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"series.labels.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.labels.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"series.labels.border.color"}],"orig":"series.labels.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the labels."]],"doc":[["para","The background color of the labels."]],"orig":"series.labels.background"},{"name":"align","type":["String"],"default":"\"circle\"","short_doc":[["para","Defines the alignment of the labels."],["para",["strong"," Available for pie series. "]]],"doc":[["para","Defines the alignment of the labels."],["para",["strong"," Available for pie series. "]],["header",{"level":4},["em","\"circle\""]],["para","The labels are positioned in circle around the chart."],["header",{"level":4},["em","\"column\""]],["para","The labels are positioned in columns to the left and right of the chart."]],"orig":"series.labels.align"}],"orig":"series.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for bar and column series. "]]],"doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for bar and column series. "]]],"orig":"series.gap"},{"name":"connectors","type":["Object"],"short_doc":[["para","The label connectors options."],["para",["strong"," Applicable to pie series. "]]],"doc":[["para","The label connectors options."],["para",["strong"," Applicable to pie series. "]]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the connector line."]],"doc":[["para","The width of the connector line."]],"orig":"series.connectors.width"},{"name":"padding","type":["Number"],"default":"4","short_doc":[["para","The padding between the connector line and the label, and connector line and pie chart."]],"doc":[["para","The padding between the connector line and the label, and connector line and pie chart."]],"orig":"series.connectors.padding"},{"name":"color","type":["String"],"short_doc":[["para","The color of the connector line."]],"doc":[["para","The color of the connector line."]],"orig":"series.connectors.color"}],"orig":"series.connectors"},{"name":"colorField","type":["String"],"short_doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for bar, column and pie series. "]]],"doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for bar, column and pie series. "]]],"orig":"series.colorField"},{"name":"color","type":["String","Function"],"short_doc":[["para","The series base color."]],"doc":[["para","The series base color."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"column\",\n         data: [200, 450, 300, 125],\n         color: \"#ff0000\"\n     }]\n});"],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"column\",\n         data: [200, 450, 300, 125],\n         color: function(point) {\n            if (point.value > 300) {\n                // Colorize matching points\n                return \"#f00\";\n            }\n\n            // Use default theme color\n         }\n     }]\n});"]],"orig":"series.color"},{"name":"categoryField","type":["String"],"short_doc":[["para","The data field containing the point category name."],["para",["strong"," Applicable to pie series. "]]],"doc":[["para","The data field containing the point category name."],["para",["strong"," Applicable to pie series. "]]],"orig":"series.categoryField"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the points."],["para",["strong"," Applicable to bar, column and pie series "]]],"doc":[["para","The border of the points."],["para",["strong"," Applicable to bar, column and pie series "]]],"sub":[{"name":"width","type":["Number","Function"],"default":"1","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.border.width"},{"name":"opacity","type":["Number","Function"],"short_doc":[["para","The border opacity."]],"doc":[["para","The border opacity."]],"orig":"series.border.opacity"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.border.dashType"},{"name":"color","type":["String","Function"],"short_doc":[["para","The color of the border.  It defaults to the color of the current series."]],"doc":[["para","The color of the border.  It defaults to the color of the current series."]],"orig":"series.border.color"}],"orig":"series.border"},{"name":"axis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, bar, column and line series "]]],"doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, bar, column and line series "]]],"orig":"series.axis"},{"name":"aggregate","type":["String"],"default":"\"max\"","short_doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]]],"doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]]],"orig":"series.aggregate"},{"name":"highlight","type":["Object"],"short_doc":[["para","Configures the appearance of highlighted points."]],"doc":[["para","Configures the appearance of highlighted points."]],"sub":[{"name":"visible","type":["Boolean"],"short_doc":[["para","A value indicating if the series points should be highlighted."]],"doc":[["para","A value indicating if the series points should be highlighted."]],"orig":"series.highlight.visible"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the highlighted points."],["para",["strong"," Applicable to pie series. "]]],"doc":[["para","The opacity of the highlighted points."],["para",["strong"," Applicable to pie series. "]]],"orig":"series.highlight.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"orig":"series.highlight.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to pie series. "]]],"doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to pie series. "]]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The border opacity."]],"doc":[["para","The border opacity."]],"orig":"series.highlight.border.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The border color."]],"doc":[["para","The border color."]],"orig":"series.highlight.border.color"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.highlight.border.width"}],"orig":"series.highlight.border"}],"orig":"series.highlight"},{"name":"name","type":["String"],"short_doc":[["para","The series name."],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]]],"doc":[["para","The series name."],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]]],"orig":"series.name"},{"name":"field","type":["String"],"short_doc":[["para","The data field containing the series value."]],"doc":[["para","The data field containing the series value."]],"orig":"series.field"},{"name":"targetField","type":["String"],"short_doc":[["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["para",["strong"," Available for pie series "]]],"doc":[["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["para",["strong"," Available for pie series "]]],"orig":"series.targetField"},{"name":"currentField","type":["String"],"short_doc":[["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"doc":[["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"orig":"series.currentField"},{"name":"explodeField","type":["String"],"short_doc":[["para","The data field containing a boolean value that indicates if the sector is exploded."],["para",["strong"," Available for pie series "]]],"doc":[["para","The data field containing a boolean value that indicates if the sector is exploded."],["para",["strong"," Available for pie series "]]],"orig":"series.explodeField"},{"name":"data","type":["Array"],"short_doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, bar, column, pie and line series."]]],"doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, bar, column, pie and line series."]]],"orig":"series.data"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The series line dash type."],["para",["strong"," Applicable only to line series "]]],"doc":[["para","The series line dash type."],["para",["strong"," Applicable only to line series "]],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.dashType"},{"name":"type","type":["String"],"default":"\"line\"","short_doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column (synonym: bar)"],["listitem","line"],["listitem","pie"],["listitem","bullet"]]],"doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column (synonym: bar)"],["listitem","line"],["listitem","pie"],["listitem","bullet"]]],"orig":"series.type"}]},{"name":"seriesColors","type":["Array"],"short_doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."]],"doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."]]},{"name":"seriesDefaults","type":["Object"],"short_doc":[["para","Default values for each series."]],"doc":[["para","Default values for each series."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," A value indicating if the tooltip should be displayed."]],"doc":[["para"," A value indicating if the tooltip should be displayed."]],"orig":"seriesDefaults.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    data: [200, 450, 300, 125],\n     seriesDefaults: {\n         tooltip: {\n             visible: true,\n             template: \"#= value #\"\n         }\n     }\n});"]],"orig":"seriesDefaults.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"seriesDefaults.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"seriesDefaults.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para"," The tooltip font."]],"doc":[["para"," The tooltip font."]],"orig":"seriesDefaults.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"seriesDefaults.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"seriesDefaults.tooltip.border.color"}],"orig":"seriesDefaults.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"seriesDefaults.tooltip.background"}],"orig":"seriesDefaults.tooltip"},{"name":"stack","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked."]],"doc":[["para","A value indicating if the series should be stacked."]],"orig":"seriesDefaults.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para"," Space between bars."]],"doc":[["para"," Space between bars."]],"orig":"seriesDefaults.spacing"},{"name":"pie","type":["Object"],"short_doc":[["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."]],"doc":[["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."]],"orig":"seriesDefaults.pie"},{"name":"overlay","type":["Object"],"short_doc":[["para","The effects overlay."]],"doc":[["para","The effects overlay."]],"orig":"seriesDefaults.overlay"},{"name":"line","type":["Object"],"short_doc":[["para","The line configuration options.\nThe default options for all line series. For more details see the series options."]],"doc":[["para","The line configuration options.\nThe default options for all line series. For more details see the series options."]],"orig":"seriesDefaults.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the series data labels."]],"doc":[["para","Configures the series data labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"seriesDefaults.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"orig":"seriesDefaults.labels.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"seriesDefaults.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para"," The margin of the labels."]],"doc":[["para"," The margin of the labels."]],"orig":"seriesDefaults.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""]],"orig":"seriesDefaults.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels.\nlabels"]],"doc":[["para","The font style of the labels.\nlabels"]],"orig":"seriesDefaults.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."]],"orig":"seriesDefaults.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"seriesDefaults.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"seriesDefaults.labels.border.color"}],"orig":"seriesDefaults.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."]],"orig":"seriesDefaults.labels.background"}],"orig":"seriesDefaults.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para"," The distance between category clusters."]],"doc":[["para"," The distance between category clusters."]],"orig":"seriesDefaults.gap"},{"name":"column","type":["Object"],"short_doc":[["para","The column configuration options.\nThe default options for all column series. For more details see the series options."]],"doc":[["para","The column configuration options.\nThe default options for all column series. For more details see the series options."]],"orig":"seriesDefaults.column"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the series."]],"doc":[["para","The border of the series."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"seriesDefaults.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"seriesDefaults.border.color"}],"orig":"seriesDefaults.border"},{"name":"bar","type":["Object"],"short_doc":[["para","The default options for all bar series. For more details see the series options."]],"doc":[["para","The default options for all bar series. For more details see the series options."]],"orig":"seriesDefaults.bar"},{"name":"area","type":["Object"],"short_doc":[["para","The area configuration options.\nThe default options for all area series. For more details see the series options."]],"doc":[["para","The area configuration options.\nThe default options for all area series. For more details see the series options."]],"orig":"seriesDefaults.area"}]},{"name":"theme","type":["String"],"short_doc":[["para","Sets Chart theme. Available themes: default, blueOpal, black."]],"doc":[["para","Sets Chart theme. Available themes: default, blueOpal, black."]]},{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"sharedTemplate","type":["String"],"short_doc":[["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]]],"doc":[["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"Internet Users\"\n     },\n     series: [{\n         name: \"United States\",\n         data: [67.96, 68.93, 75, 74, 78]\n     }, {\n         name: \"World\",\n         data: [15.7, 16.7, 20, 23.5, 26.6]\n     }],\n     categoryAxis: {\n         categories: [2005, 2006, 2007, 2008, 2009]\n     },\n     tooltip: {\n         visible: true,\n         shared: true,\n         sharedTemplate:\n            \"#= category # </br>\" +\n            \"# for (var i = 0; i < points.length; i++) { #\" +\n                \"#= points[i].series.name #: #= points[i].value # </br>\" +\n            \"# } #\"\n     }\n});"]],"orig":"tooltip.sharedTemplate"},{"name":"shared","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be shared."]],"doc":[["para","A value indicating if the tooltip should be shared."]],"orig":"tooltip.shared"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     data: [200, 450, 300, 125],\n     tooltip: {\n         template: \"#= value #\"\n     }\n});"]],"orig":"tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para"," The tooltip font."]],"doc":[["para"," The tooltip font."]],"orig":"tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"tooltip.border.color"}],"orig":"tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"tooltip.background"}]},{"name":"transitions","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if transition animations should be played."]],"doc":[["para","A value indicating if transition animations should be played."]]},{"name":"type","type":["String"],"default":"\"line\"","short_doc":[["para","The default series type."]],"doc":[["para","The default series type."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    type: \"bar\",\n    data: [1, 2, 3, 5]\n});"]]},{"name":"valueAxis","type":["Array"],"short_doc":[["para","The value axis configuration options."]],"doc":[["para","The value axis configuration options."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The value axis notes configuration."]],"doc":[["para","The value axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The line length of the note."]],"doc":[["para","The line length of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.width"}],"orig":"valueAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.color"}],"orig":"valueAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.background"}],"orig":"valueAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.color"}],"orig":"valueAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.background"}],"orig":"valueAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"valueAxis.notes.data.value"}],"orig":"valueAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The line length of the notes."]],"doc":[["para","The line length of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.width"}],"orig":"valueAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.color"}],"orig":"valueAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.background"}],"orig":"valueAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.color"}],"orig":"valueAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.background"}],"orig":"valueAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.position"}],"orig":"valueAxis.notes"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."]],"doc":[["para","The crosshair configuration options."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip configuration options."]],"doc":[["para","The crosshar tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"valueAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#sparkline\").kendoSparkline({\n     data: [200, 450, 300, 125],\n     valueAxis: {\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"value: #= value #\"\n             }\n         }\n     }\n});"]],"orig":"valueAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"valueAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"valueAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip."]],"doc":[["para","The text color of the tooltip."]],"orig":"valueAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.crosshair.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"valueAxis.crosshair.tooltip.border.color"}],"orig":"valueAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip."]],"doc":[["para","The background color of the tooltip."]],"orig":"valueAxis.crosshair.tooltip.background"}],"orig":"valueAxis.crosshair.tooltip"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"valueAxis.crosshair.visible"},{"name":"dashType","type":["Number"],"short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"valueAxis.crosshair.dashType"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the crosshair."]],"doc":[["para","The opacity of the crosshair."]],"orig":"valueAxis.crosshair.opacity"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the crosshair."]],"doc":[["para","The width of the crosshair."]],"orig":"valueAxis.crosshair.width"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair."]],"doc":[["para","The color of the crosshair."]],"orig":"valueAxis.crosshair.color"}],"orig":"valueAxis.crosshair"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the axis."]],"doc":[["para","The visibility of the axis."]],"orig":"valueAxis.visible"},{"name":"title","type":["Object"],"short_doc":[["para","The title of the value axis."]],"doc":[["para","The title of the value axis."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the title."]],"doc":[["para","The visibility of the title."]],"orig":"valueAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"valueAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title."]],"doc":[["para","The rotation angle of the title."]],"orig":"valueAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."]],"doc":[["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)."],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)."],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)."],["header",{"level":4},["em","\"right\""]],["para","\"The axis title is positioned on the right (applicable to horizontal axis)."],["header",{"level":4},["em","\"center\""]],["para","\"The axis title is positioned in the center."]],"orig":"valueAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title."]],"doc":[["para","The padding of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title."]],"doc":[["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"valueAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"valueAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"valueAxis.title.border.color"}],"orig":"valueAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"valueAxis.title.background"}],"orig":"valueAxis.title"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."]],"doc":[["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."]],"orig":"valueAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the value axis."]],"doc":[["para","The plot bands of the value axis."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."]],"orig":"valueAxis.plotBands.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."]],"orig":"valueAxis.plotBands.color"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."]],"orig":"valueAxis.plotBands.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."]],"orig":"valueAxis.plotBands.from"}],"orig":"valueAxis.plotBands"},{"name":"narrowRange","type":["Boolean"],"default":"true","short_doc":[["para","Prevents the automatic axis range from snapping to 0."]],"doc":[["para","Prevents the automatic axis range from snapping to 0."]],"orig":"valueAxis.narrowRange"},{"name":"name","type":["Object"],"default":"\"primary\"","short_doc":[["para","The unique axis name."]],"doc":[["para","The unique axis name."]],"orig":"valueAxis.name"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."]],"doc":[["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."]],"orig":"valueAxis.minorUnit"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The minor ticks of the axis."]],"doc":[["para","The minor ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor ticks."]],"doc":[["para","The skip of the value axis minor ticks."]],"orig":"valueAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor ticks."]],"doc":[["para","The step of the value axis minor ticks."]],"orig":"valueAxis.minorTicks.step"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the minor ticks."]],"doc":[["para","The visibility of the minor ticks."]],"orig":"valueAxis.minorTicks.visible"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."]],"orig":"valueAxis.minorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"valueAxis.minorTicks.color"},{"name":"size","type":["Number"],"default":"3","short_doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"orig":"valueAxis.minorTicks.size"}],"orig":"valueAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"]],"doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor grid lines."]],"doc":[["para","The skip of the value axis minor grid lines."]],"orig":"valueAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor grid lines."]],"doc":[["para","The step of the value axis minor grid lines."]],"orig":"valueAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"doc":[["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"valueAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."]],"doc":[["para","The dash type of the minor grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot.\nbody of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect without the minor grid lines visibility being set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"doc":[["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.color"}],"orig":"valueAxis.minorGridLines"},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."]],"doc":[["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."]],"orig":"valueAxis.min"},{"name":"max","type":["Number"],"default":"1","short_doc":[["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."]],"doc":[["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."]],"orig":"valueAxis.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions."]],"doc":[["para","The interval between major divisions."]],"orig":"valueAxis.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The major ticks of the axis."]],"doc":[["para","The major ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major ticks."]],"doc":[["para","The skip of the value axis major ticks."]],"orig":"valueAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major ticks."]],"doc":[["para","The step of the value axis major ticks."]],"orig":"valueAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."]],"orig":"valueAxis.majorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"valueAxis.majorTicks.color"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the major ticks."]],"doc":[["para","The visibility of the major ticks."]],"orig":"valueAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"orig":"valueAxis.majorTicks.size"}],"orig":"valueAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major grid lines."]],"doc":[["para","The skip of the value axis major grid lines."]],"orig":"valueAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major grid lines."]],"doc":[["para","The step of the value axis major grid lines."]],"orig":"valueAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."]],"doc":[["para","The width of the lines."]],"orig":"valueAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"valueAxis.majorGridLines.visible"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines."]],"doc":[["para","The color of the lines."]],"orig":"valueAxis.majorGridLines.color"}],"orig":"valueAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."]],"doc":[["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"valueAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the line."]],"doc":[["para","The visibility of the line."]],"orig":"valueAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."]],"doc":[["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"valueAxis.line.color"}],"orig":"valueAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the axis labels."]],"doc":[["para","Configures the axis labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the labels."]],"doc":[["para","The visibility of the labels."]],"orig":"valueAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"orig":"valueAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"orig":"valueAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"orig":"valueAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels."]],"doc":[["para","The rotation angle of the labels."]],"orig":"valueAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels."]],"doc":[["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"orig":"valueAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"valueAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."]],"orig":"valueAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"valueAxis.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"valueAxis.labels.border.color"}],"orig":"valueAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"]],"orig":"valueAxis.labels.background"}],"orig":"valueAxis.labels"},{"name":"color","type":["String"],"short_doc":[["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.color"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"]],"doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"]],"orig":"valueAxis.axisCrossingValue"}]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the Sparkline for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the Sparkline for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"examples":[]},{"name":"refresh","args":[],"short_doc":[["para","Reloads the data and repaints the chart."]],"doc":[["para","Reloads the data and repaints the chart."]],"examples":[]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the dataSource of an existing Chart and rebinds it."]],"doc":[["para","Sets the dataSource of an existing Chart and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]]],"examples":[]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The chart settings to update."]],"doc":[["para","The chart settings to update."]]}],"short_doc":[["para","Sets the widget options. Changes are cumulative."]],"doc":[["para","Sets the widget options. Changes are cumulative."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The chart settings to update."],["header",{"level":4},"Example - change the chart theme"],["code_block","<span id=\"sparkline\"></span>\n<script>\n$(\"#sparkline\").kendoSparkline({\n  theme: \"black\",\n  data: [1, 2, 3]\n});\n\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nsparkline.setOptions({ theme: \"uniform\" });\n</script>"]],"examples":[[["header",{"level":4},"Example - change the chart theme"],["code_block","<span id=\"sparkline\"></span>\n<script>\n$(\"#sparkline\").kendoSparkline({\n  theme: \"black\",\n  data: [1, 2, 3]\n});\n\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nsparkline.setOptions({ theme: \"uniform\" });\n</script>"]]]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the sparkline."],["header",{"level":4},"Example"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar svg = sparkline.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar svg = sparkline.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the sparkline encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the sparkline encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Sparkline"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar image = sparkline.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the Sparkline"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar image = sparkline.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]}],"events":[{"name":"axisLabelClick","args":[{"name":"e.axis","type":["Object"],"short_doc":[["para","The axis that the label belongs to."]],"doc":[["para","The axis that the label belongs to."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The label value or category name."]],"doc":[["para","The label value or category name."]]},{"name":"e.text","type":["Object"],"short_doc":[["para","The label text."]],"doc":[["para","The label text."]]},{"name":"e.index","type":["Object"],"short_doc":[["para","The label sequential index or category index."]],"doc":[["para","The label sequential index or category index."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]]],"doc":[["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the label."]],"doc":[["para","The DOM element of the label."]]}],"short_doc":[["para","Fires when an axis label is clicked."]],"doc":[["para","Fires when an axis label is clicked."],["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":5},"e.text ",["inlinecode","Object"]],["para","The label text."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"dataBound","args":[],"short_doc":[["para","Fires when the sparkline has received data from the data source\nand is about to render it."]],"doc":[["para","Fires when the sparkline has received data from the data source\nand is about to render it."],["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"]],"examples":[[["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"]]],"type":["Function"]},{"name":"dragStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]}],"short_doc":[["para","Fires when the user has used the mouse or a swipe gesture to drag the sparkline."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."]],"doc":[["para","Fires when the user has used the mouse or a swipe gesture to drag the sparkline."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[],"type":["Function"]},{"name":"drag","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]],"doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]]}],"short_doc":[["para","Fires as long as the user is dragging the sparkline using the mouse or swipe gestures."]],"doc":[["para","Fires as long as the user is dragging the sparkline using the mouse or swipe gestures."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]]],"type":["Function"]},{"name":"dragEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]}],"short_doc":[["para","Fires when the user stops dragging the sparkline."]],"doc":[["para","Fires when the user stops dragging the sparkline."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[],"type":["Function"]},{"name":"plotAreaClick","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.x","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]},{"name":"e.y","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]}],"short_doc":[["para","Fires when plot area is clicked."]],"doc":[["para","Fires when plot area is clicked."],["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"]]],"type":["Function"]},{"name":"seriesClick","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]}],"short_doc":[["para","Fires when chart series are clicked."]],"doc":[["para","Fires when chart series are clicked."],["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"seriesHover","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]}],"short_doc":[["para","Fires when chart series are hovered."]],"doc":[["para","Fires when chart series are hovered."],["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"zoomStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the zoom action."]],"doc":[["para","The original user event that triggered the zoom action."]]}],"short_doc":[["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."]],"doc":[["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."]],"examples":[],"type":["Function"]},{"name":"zoom","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]],"doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]]}],"short_doc":[["para","Fires as long as the user is zooming the chart using the mousewheel."]],"doc":[["para","Fires as long as the user is zooming the chart using the mousewheel."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."],["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."]],[["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"]]],"type":["Function"]},{"name":"zoomEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the zoom action."]],"doc":[["para","The original user event that triggered the zoom action."]]}],"short_doc":[["para","Fires when the user stops zooming the chart."]],"doc":[["para","Fires when the user stops zooming the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"axisDefaults ",["inlinecode","Object"]],["para","Default options for all chart axes."],["header",{"level":3},"categoryAxis ",["inlinecode","Array"]],["para","The category axis configuration options."],["header",{"level":3},"categoryAxis.axisCrossingValue ",["inlinecode","Object | Date | Array"]],["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."],["header",{"level":3},"categoryAxis.categories ",["inlinecode","Array"]],["para","Array of category names."],["header",{"level":3},"categoryAxis.color ",["inlinecode","String"]],["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."],["header",{"level":3},"categoryAxis.field ",["inlinecode","String"]],["para","The data field containing the category name."],["header",{"level":3},"categoryAxis.justified ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either bar or column series are plotted on the axis."],["header",{"level":3},"categoryAxis.labels ",["inlinecode","Object"]],["para","Configures the axis labels."],["header",{"level":3},"categoryAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"categoryAxis.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"categoryAxis.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":3},"categoryAxis.labels.margin ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.labels.mirror ",["inlinecode","Boolean"]],["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."],["header",{"level":3},"categoryAxis.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.labels.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the labels."],["header",{"level":3},"categoryAxis.labels.skip ",["inlinecode","Number"],["em","(default: 1)"]],["para","Number of labels to skip.\nSkips rendering the first n labels."],["header",{"level":3},"categoryAxis.labels.step ",["inlinecode","Number"],["em","(default: 1)"]],["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":3},"categoryAxis.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":3},"categoryAxis.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the labels."],["header",{"level":3},"categoryAxis.line ",["inlinecode","Object"]],["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."],["header",{"level":3},"categoryAxis.line.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."],["header",{"level":3},"categoryAxis.line.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.line.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.line.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"categoryAxis.majorGridLines ",["inlinecode","Object"]],["para","Configures the major grid lines.\nThese are the lines that are an extension of the major ticks through the body of the chart."],["header",{"level":3},"categoryAxis.majorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.majorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.majorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.majorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["header",{"level":3},"categoryAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major grid lines."],["header",{"level":3},"categoryAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major grid lines."],["header",{"level":3},"categoryAxis.majorTicks ",["inlinecode","Object"]],["para","The major ticks of the axis."],["header",{"level":3},"categoryAxis.majorTicks.size ",["inlinecode","Number"],["em","(default: 4)"]],["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."],["header",{"level":3},"categoryAxis.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the major ticks."],["header",{"level":3},"categoryAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"categoryAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":3},"categoryAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major ticks."],["header",{"level":3},"categoryAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major ticks."],["header",{"level":3},"categoryAxis.minorGridLines ",["inlinecode","Object"]],["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.minorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.minorGridLines.width ",["inlinecode","Number"]],["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor grid lines."],["header",{"level":3},"categoryAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor grid lines."],["header",{"level":3},"categoryAxis.minorTicks ",["inlinecode","Object"]],["para","The minor ticks of the axis."],["header",{"level":3},"categoryAxis.minorTicks.size ",["inlinecode","Number"],["em","(default: 3)"]],["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."],["header",{"level":3},"categoryAxis.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the minor ticks."],["header",{"level":3},"categoryAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"categoryAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":3},"categoryAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor ticks."],["header",{"level":3},"categoryAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor ticks."],["header",{"level":3},"categoryAxis.name ",["inlinecode","String"],["em","(default: \"primary\")"]],["para","The unique axis name."],["header",{"level":3},"categoryAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the category axis."],["header",{"level":3},"categoryAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":3},"categoryAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":3},"categoryAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":3},"categoryAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":3},"categoryAxis.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."],["header",{"level":3},"categoryAxis.title ",["inlinecode","Object"]],["para","The title of the category axis."],["header",{"level":3},"categoryAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"categoryAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"categoryAxis.title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"categoryAxis.title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"categoryAxis.title.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para","The margin of the title."],["header",{"level":3},"categoryAxis.title.position ",["inlinecode","String"],["em","(default: \"center\")"]],["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)"],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)"],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)"],["header",{"level":4},["em","\"right\""]],["para","The axis title is positioned on the right (applicable to horizontal axis)"],["header",{"level":4},["em","\"center\""]],["para","The axis title is positioned in the center"],["header",{"level":3},"categoryAxis.title.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the title."],["header",{"level":3},"categoryAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"categoryAxis.title.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the title."],["header",{"level":3},"categoryAxis.type ",["inlinecode","String"],["em","(default: \"category\")"]],["para","The axis type."],["header",{"level":4},["em","\"category\""]],["para","Discrete category axis."],["header",{"level":4},["em","\"date\""]],["para","Specialized axis for displaying chronological data."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps ",["inlinecode","Object"]],["para","Specifies the discrete ",["strong","baseUnitStep"]," values when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","The default configuration is as follows:"],["bulletlist",["listitem",["inlinecode","minutes: [1, 2, 5, 15, 30]"]],["listitem",["inlinecode","hours: [1, 2, 3, 6, 12]"]],["listitem",["inlinecode","days: [1, 2, 3]"]],["listitem",["inlinecode","weeks: [1, 2]"]],["listitem",["inlinecode","months: [1, 2, 3, 6]"]],["listitem",["inlinecode","years: [1, 2, 3, 5, 10, 25, 50]"]]],["para","Each setting can be overriden individually."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    },\n    ...\n});"],["header",{"level":3},"categoryAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the axis.\nThe default baseUnit is determined automatically from the minimum difference\nbetween subsequent categories. Available options:"],["bulletlist",["listitem","minutes"],["listitem","hours"],["listitem","days"],["listitem","weeks"],["listitem","months"],["listitem","years"],["listitem",["strong","fit"]]],["para","Setting ",["strong","baseUnit"]," to \"fit\" will set such base unit and ",["strong","baseUnitStep"],"\nthat the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit by using the\n",["strong","series.aggregate"]," function."],["header",{"level":3},"categoryAxis.baseUnitStep ",["inlinecode","Object"],["em","(default: 1)"]],["para","Sets the step (interval) between categories in base units.\nSpecifiying \"auto\" will set the step to such value that the total number of categories does not exceed ",["strong","maxDateGroups"],"."],["para","This option is ignored if ",["strong","baseUnit"]," is set to \"fit\"."],["header",{"level":3},"categoryAxis.labels.culture ",["inlinecode","String"]],["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt uses the global culture by default."],["header",{"level":3},"categoryAxis.labels.dateFormats ",["inlinecode","Object"]],["para","Date format strings"],["header",{"level":4},["em","\"hours\""]],["para","\"HH:mm\""],["header",{"level":4},["em","\"days\""]],["para","\"M/d\""],["header",{"level":4},["em","\"weeks\""]],["para","\"M/d\""],["header",{"level":4},["em","\"months\""]],["para","\"MMM 'yy\""],["header",{"level":4},["em","\"years\""]],["para","\"yyyy\""],["para","The Chart will choose the appropriate format for the current ",["inlinecode","baseUnit"],".\nSetting the labels ",["strong","format"]," option will override these defaults."],["header",{"level":3},"categoryAxis.max ",["inlinecode","Object"]],["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.min ",["inlinecode","Object"]],["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.roundToBaseUnit ",["inlinecode","Boolean"],["em","(default: true)"]],["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either bar or column series are plotted on the axis."],["header",{"level":3},"categoryAxis.weekStartDay ",["inlinecode","Number"],["em","(default: kendo.days.Sunday)"]],["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]],["header",{"level":3},"categoryAxis.maxDateGroups ",["inlinecode","Number"],["em","(default: 10)"]],["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."],["header",{"level":3},"categoryAxis.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the axis."],["header",{"level":3},"categoryAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["header",{"level":3},"categoryAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.width ",["inlinecode","Number"]],["para","The width of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.opacity ",["inlinecode","Number"]],["para","The opacity of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.dashType ",["inlinecode","Number"]],["para","The dash type of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The dash type of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip configuration options."],["header",{"level":3},"categoryAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip."],["header",{"level":3},"categoryAxis.crosshair.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"categoryAxis.crosshair.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     type: \"area\",\n     data: [200, 450, 300, 125],\n     categoryAxis: {\n         crosshair: {\n             tooltip: {\n                 template: \"|#= value #|\"\n             }\n         }\n     }\n});"],["header",{"level":3},"categoryAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"categoryAxis.notes ",["inlinecode","Object"]],["para","The category axis notes configuration."],["header",{"level":3},"categoryAxis.notes.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"categoryAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"categoryAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"categoryAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.length ",["inlinecode","Number"]],["para","The line length of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"categoryAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"categoryAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"categoryAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"categoryAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"categoryAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The line length of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"chartArea ",["inlinecode","Object"]],["para","The chart area configuration options.\nThis is the entire visible area of the chart."],["header",{"level":3},"chartArea.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para","The background color of the chart area."],["header",{"level":3},"chartArea.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para","The background opacity of the chart area."],["header",{"level":3},"chartArea.border ",["inlinecode","Object"]],["para","The border of the chart area."],["header",{"level":3},"chartArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"chartArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"chartArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"chartArea.height ",["inlinecode","Number"],["em","(default: 400)"]],["para","The height of the chart area."],["header",{"level":3},"chartArea.margin ",["inlinecode","Number|Object"],["em","(default: 2)"]],["para","The margin of the chart area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"chartArea.width ",["inlinecode","Number"],["em","(default: 600)"]],["para"," The width of the chart area."],["header",{"level":3},"data ",["inlinecode","Array"]],["para","The data for the default sparkline series."],["para","Will be discareded if series are supplied."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    data: [1, 2, 3, 5]\n});\n\n// Same as:\n$(\"#sparkline\").kendoSparkline([1, 2, 3, 5]);"],["header",{"level":3},"dataSource ",["inlinecode","Object"]],["para","DataSource configuration or instance."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    dataSource: {\n        transport: {\n             read: \"spain-electricity.json\"\n        }\n    },\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});\n\n// Alternative configuration\nvar dataSource = new kendo.data.DataSource({\n    transport: {\n         read: \"spain-electricity.json\"\n    }\n});\n\n$(\"#sparkline\").kendoSparkline({\n    dataSource: dataSource,\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether the chart will call read on the data source initially."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    dataSource: chartDataSource,\n    autoBind: false\n});\n\n// ...\nchartDataSource.read();"],["header",{"level":3},"plotArea ",["inlinecode","Object"]],["para","The plot area configuration options. This is the area containing the plotted series."],["header",{"level":3},"plotArea.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para"," The background color of the plot area."],["header",{"level":3},"plotArea.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para"," The background opacity of the plot area."],["header",{"level":3},"plotArea.border ",["inlinecode","Object"]],["para","The border of the plot area."],["header",{"level":3},"plotArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"plotArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"plotArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"plotArea.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para"," The margin of the plot area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"pointWidth ",["inlinecode","Number"],["em","(default: 5)"]],["para","The width to allocate for each data point."],["header",{"level":3},"renderAs ",["inlinecode","String"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Sparkline will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"Example - Render as Canvas, if supported"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    renderAs: \"canvas\",\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\n</script>"],["header",{"level":3},"series ",["inlinecode","Array"]],["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]],["header",{"level":3},"series.type ",["inlinecode","String"],["em","(default: \"line\")"]],["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column (synonym: bar)"],["listitem","line"],["listitem","pie"],["listitem","bullet"]],["header",{"level":3},"series.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The series line dash type."],["para",["strong"," Applicable only to line series "]],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.data ",["inlinecode","Array"]],["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, bar, column, pie and line series."]],["header",{"level":3},"series.explodeField ",["inlinecode","String"]],["para","The data field containing a boolean value that indicates if the sector is exploded."],["para",["strong"," Available for pie series "]],["header",{"level":3},"series.currentField ",["inlinecode","String"]],["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["header",{"level":3},"series.targetField ",["inlinecode","String"]],["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["para",["strong"," Available for pie series "]],["header",{"level":3},"series.field ",["inlinecode","String"]],["para","The data field containing the series value."],["header",{"level":3},"series.name ",["inlinecode","String"]],["para","The series name."],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":3},"series.highlight ",["inlinecode","Object"]],["para","Configures the appearance of highlighted points."],["header",{"level":3},"series.highlight.border ",["inlinecode","Object"]],["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to pie series. "]],["header",{"level":3},"series.highlight.border.width ",["inlinecode","Number"]],["para","The width of the border."],["header",{"level":3},"series.highlight.border.color ",["inlinecode","String"]],["para","The border color."],["header",{"level":3},"series.highlight.border.opacity ",["inlinecode","Number"]],["para","The border opacity."],["header",{"level":3},"series.highlight.color ",["inlinecode","String"]],["para","The highlight color."],["para",["strong"," Available only for pie series "]],["header",{"level":3},"series.highlight.opacity ",["inlinecode","Number"]],["para","The opacity of the highlighted points."],["para",["strong"," Applicable to pie series. "]],["header",{"level":3},"series.highlight.visible ",["inlinecode","Boolean"]],["para","A value indicating if the series points should be highlighted."],["header",{"level":3},"series.aggregate ",["inlinecode","String"],["em","(default: \"max\")"]],["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":3},"series.axis ",["inlinecode","String"],["em","(default: \"primary\")"]],["para","The name of the value axis to use."],["para",["strong"," Applicable to area, bar, column and line series "]],["header",{"level":3},"series.border ",["inlinecode","Object"]],["para","The border of the points."],["para",["strong"," Applicable to bar, column and pie series "]],["header",{"level":3},"series.border.color ",["inlinecode","String|Function"]],["para","The color of the border.  It defaults to the color of the current series."],["header",{"level":3},"series.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.border.opacity ",["inlinecode","Number|Function"]],["para","The border opacity."],["header",{"level":3},"series.border.width ",["inlinecode","Number|Function"],["em","(default: 1)"]],["para","The width of the border."],["header",{"level":3},"series.categoryField ",["inlinecode","String"]],["para","The data field containing the point category name."],["para",["strong"," Applicable to pie series. "]],["header",{"level":3},"series.color ",["inlinecode","String|Function"]],["para","The series base color."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"column\",\n         data: [200, 450, 300, 125],\n         color: \"#ff0000\"\n     }]\n});"],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"column\",\n         data: [200, 450, 300, 125],\n         color: function(point) {\n            if (point.value > 300) {\n                // Colorize matching points\n                return \"#f00\";\n            }\n\n            // Use default theme color\n         }\n     }]\n});"],["header",{"level":3},"series.colorField ",["inlinecode","String"]],["para","The data field containing the point color."],["para",["strong"," Applicable for bar, column and pie series. "]],["header",{"level":3},"series.connectors ",["inlinecode","Object"]],["para","The label connectors options."],["para",["strong"," Applicable to pie series. "]],["header",{"level":3},"series.connectors.color ",["inlinecode","String"]],["para","The color of the connector line."],["header",{"level":3},"series.connectors.padding ",["inlinecode","Number"],["em","(default: 4)"]],["para","The padding between the connector line and the label, and connector line and pie chart."],["header",{"level":3},"series.connectors.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the connector line."],["header",{"level":3},"series.gap ",["inlinecode","Number"],["em","(default: 1.5)"]],["para","The distance between category clusters."],["para",["strong"," Applicable for bar and column series. "]],["header",{"level":3},"series.labels ",["inlinecode","Object"]],["para","Configures the series data labels."],["header",{"level":3},"series.labels.align ",["inlinecode","String"],["em","(default: \"circle\")"]],["para","Defines the alignment of the labels."],["para",["strong"," Available for pie series. "]],["header",{"level":4},["em","\"circle\""]],["para","The labels are positioned in circle around the chart."],["header",{"level":4},["em","\"column\""]],["para","The labels are positioned in columns to the left and right of the chart."],["header",{"level":3},"series.labels.background ",["inlinecode","String|Function"]],["para","The background color of the labels."],["header",{"level":3},"series.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"series.labels.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"series.labels.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.labels.border.width ",["inlinecode","Number|Function"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"series.labels.color ",["inlinecode","String|Function"]],["para","The text color of the labels."],["header",{"level":3},"series.labels.distance ",["inlinecode","Number"],["em","(default: 35)"]],["para","The distance of the labels."],["para",["strong"," Available for pie series. "]],["header",{"level":3},"series.labels.font ",["inlinecode","String|Function"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"series.labels.format ",["inlinecode","String|Function"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""],["header",{"level":3},"series.labels.margin ",["inlinecode","Number|Object"],["em","(default: { left: 5, right: 5})"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"],["header",{"level":3},"series.labels.padding ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"series.labels.position ",["inlinecode","String|Function"],["em","(default: \"above\")"]],["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for bar, column, pie series. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for bar, column, pie series. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for bar and column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for bar, column, pie series.\nNot applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"series.labels.template ",["inlinecode","String | Function"]],["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","percentage"]," - the point value represented as a percentage value.\nAvailable for pie series."],["listitem",["strong","category"]," - the category name\nAvailable for area, bar, column, line and pie series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]],["header",{"level":3},"series.labels.visible ",["inlinecode","Boolean|Function"],["em","(default: false)"]],["para"," The visibility of the labels."],["header",{"level":3},"series.line ",["inlinecode","String | Object"]],["para","Line options."],["para",["strong"," Applicable to area series. "]],["header",{"level":3},"series.line.color ",["inlinecode","String"]],["para","The line color."],["header",{"level":3},"series.line.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para","The line opacity."],["header",{"level":3},"series.line.width ",["inlinecode","String"],["em","(default: 0.5)"]],["para","The line width."],["header",{"level":3},"series.line.style ",["inlinecode","String"],["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]],["header",{"level":3},"series.markers ",["inlinecode","Object"]],["para","Marker options."],["para",["strong"," Applicable to area and line series "]],["header",{"level":3},"series.markers.background ",["inlinecode","String|Function"]],["para","The background color of the current series markers."],["header",{"level":3},"series.markers.border ",["inlinecode","Object|Function"]],["para","The border of the markers."],["header",{"level":3},"series.markers.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"series.markers.border.width ",["inlinecode","Number|Function"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"series.markers.size ",["inlinecode","Number|Function"],["em","(default: 6)"]],["para"," The marker size."],["header",{"level":3},"series.markers.type ",["inlinecode","String|Function"],["em","(default: \"circle\")"]],["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."],["header",{"level":3},"series.markers.visible ",["inlinecode","Boolean|Function"],["em","(default: false)"]],["para","The markers visibility."],["header",{"level":3},"series.markers.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the markers."],["header",{"level":3},"series.missingValues ",["inlinecode","String"]],["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\", \"scatterLine\", \"radarLine\", \"radarArea\", \"polarLine\" or \"polarArea\"."]],["header",{"level":4},"Example - set the missing values behavior"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [ {\n    type: \"line\",\n    missingValues: \"gap\",\n    data: [1, 3, null, 4, 5]\n  }]\n});\n</script>"],["header",{"level":3},"series.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]],["header",{"level":3},"series.negativeColor ",["inlinecode","String"]],["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to bar and column series. "]],["header",{"level":3},"series.opacity ",["inlinecode","Number"]],["para","The series opacity."],["header",{"level":3},"series.overlay ",["inlinecode","Object"]],["para","The effects overlay."],["header",{"level":3},"series.overlay.gradient ",["inlinecode","String"]],["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (bar and column series)"],["listitem",["strong","roundedBevel"]," (pie series)"],["listitem",["strong","sharpBevel"]," (pie series)"],["listitem",["strong","none"]]],["header",{"level":3},"series.padding ",["inlinecode","Number"]],["para","The padding around the chart (equal on all sides)."],["para",["strong"," Available for pie series. "]],["header",{"level":3},"series.size ",["inlinecode","Number"]],["para","The size (or radius) of the series in pixels.\nIf not specified, the available space is split evenly between the series."],["para",["strong","Available for only."]],["header",{"level":3},"series.startAngle ",["inlinecode","Number"],["em","(default: 90)"]],["para","The start angle of the first segment."],["para",["strong","Available for pie series."]],["header",{"level":3},"series.spacing ",["inlinecode","Number"],["em","(default: 0.4)"]],["para","Space between points as proportion of the point width."],["para",["strong"," Available for bar and column series. "]],["header",{"level":3},"series.stack ",["inlinecode","Boolean|String"],["em","(default: false)"]],["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\n",["strong"," Available for bar and column series. "]],["header",{"level":3},"series.tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"series.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"series.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"series.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"series.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"series.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"series.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"series.tooltip.format ",["inlinecode","String"]],["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, bar, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""],["header",{"level":3},"series.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"series.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     series: [{\n         type: \"area\",\n         data: [200, 450, 300, 125],\n         tooltip: {\n             visible: true,\n             template: \"#= value #\"\n         }\n     }]\n});"],["header",{"level":3},"series.tooltip.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," A value indicating if the tooltip should be displayed."],["header",{"level":3},"series.width ",["inlinecode","Number"],["em","(default: 0.5)"]],["para","The line width."],["para",["strong"," Available for line series "]],["header",{"level":3},"series.target ",["inlinecode","Object"]],["para","The target of the bullet chart."],["header",{"level":3},"series.target.line ",["inlinecode","Object"]],["para","The target line."],["header",{"level":3},"series.target.line.width ",["inlinecode","Object|Function"]],["para","The width of the line."],["header",{"level":3},"series.target.color ",["inlinecode","String|Function"]],["para","The target color."],["header",{"level":3},"series.target.border ",["inlinecode","Object|Function"]],["para","The border of the target."],["header",{"level":3},"series.target.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"series.target.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.target.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"series.notes ",["inlinecode","Object"]],["para","The series notes configuration."],["header",{"level":3},"series.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"series.notes.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"series.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"],["header",{"level":3},"series.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"series.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"series.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"series.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.length ",["inlinecode","Number"]],["para","The line length of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"seriesColors ",["inlinecode","Array"]],["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."],["header",{"level":3},"seriesDefaults ",["inlinecode","Object"]],["para","Default values for each series."],["header",{"level":3},"seriesDefaults.area ",["inlinecode","Object"]],["para","The area configuration options.\nThe default options for all area series. For more details see the series options."],["header",{"level":3},"seriesDefaults.bar ",["inlinecode","Object"]],["para","The default options for all bar series. For more details see the series options."],["header",{"level":3},"seriesDefaults.border ",["inlinecode","Object"]],["para","The border of the series."],["header",{"level":3},"seriesDefaults.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"seriesDefaults.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"seriesDefaults.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.column ",["inlinecode","Object"]],["para","The column configuration options.\nThe default options for all column series. For more details see the series options."],["header",{"level":3},"seriesDefaults.gap ",["inlinecode","Number"],["em","(default: 1.5)"]],["para"," The distance between category clusters."],["header",{"level":3},"seriesDefaults.labels ",["inlinecode","Object"]],["para","Configures the series data labels."],["header",{"level":3},"seriesDefaults.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."],["header",{"level":3},"seriesDefaults.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"seriesDefaults.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"seriesDefaults.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"seriesDefaults.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."],["header",{"level":3},"seriesDefaults.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels.\nlabels"],["header",{"level":3},"seriesDefaults.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""],["header",{"level":3},"seriesDefaults.labels.margin ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The margin of the labels."],["header",{"level":3},"seriesDefaults.labels.padding ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"seriesDefaults.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":3},"seriesDefaults.labels.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the labels."],["header",{"level":3},"seriesDefaults.line ",["inlinecode","Object"]],["para","The line configuration options.\nThe default options for all line series. For more details see the series options."],["header",{"level":3},"seriesDefaults.overlay ",["inlinecode","Object"]],["para","The effects overlay."],["header",{"level":3},"seriesDefaults.pie ",["inlinecode","Object"]],["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."],["header",{"level":3},"seriesDefaults.spacing ",["inlinecode","Number"],["em","(default: 0.4)"]],["para"," Space between bars."],["header",{"level":3},"seriesDefaults.stack ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the series should be stacked."],["header",{"level":3},"seriesDefaults.tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"seriesDefaults.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"seriesDefaults.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"seriesDefaults.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"seriesDefaults.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"seriesDefaults.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para"," The tooltip font."],["header",{"level":3},"seriesDefaults.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"seriesDefaults.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"seriesDefaults.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    data: [200, 450, 300, 125],\n     seriesDefaults: {\n         tooltip: {\n             visible: true,\n             template: \"#= value #\"\n         }\n     }\n});"],["header",{"level":3},"seriesDefaults.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," A value indicating if the tooltip should be displayed."],["header",{"level":3},"theme ",["inlinecode","String"]],["para","Sets Chart theme. Available themes: default, blueOpal, black."],["header",{"level":3},"tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para"," The tooltip font."],["header",{"level":3},"tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n     data: [200, 450, 300, 125],\n     tooltip: {\n         template: \"#= value #\"\n     }\n});"],["header",{"level":3},"tooltip.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"tooltip.shared ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be shared."],["header",{"level":3},"tooltip.sharedTemplate ",["inlinecode","String"]],["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"Internet Users\"\n     },\n     series: [{\n         name: \"United States\",\n         data: [67.96, 68.93, 75, 74, 78]\n     }, {\n         name: \"World\",\n         data: [15.7, 16.7, 20, 23.5, 26.6]\n     }],\n     categoryAxis: {\n         categories: [2005, 2006, 2007, 2008, 2009]\n     },\n     tooltip: {\n         visible: true,\n         shared: true,\n         sharedTemplate:\n            \"#= category # </br>\" +\n            \"# for (var i = 0; i < points.length; i++) { #\" +\n                \"#= points[i].series.name #: #= points[i].value # </br>\" +\n            \"# } #\"\n     }\n});"],["header",{"level":3},"transitions ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if transition animations should be played."],["header",{"level":3},"type ",["inlinecode","String"],["em","(default: \"line\")"]],["para","The default series type."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    type: \"bar\",\n    data: [1, 2, 3, 5]\n});"],["header",{"level":3},"valueAxis ",["inlinecode","Array"]],["para","The value axis configuration options."],["header",{"level":3},"valueAxis.axisCrossingValue ",["inlinecode","Object | Date | Array"]],["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"],["header",{"level":3},"valueAxis.color ",["inlinecode","String"]],["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.labels ",["inlinecode","Object"]],["para","Configures the axis labels."],["header",{"level":3},"valueAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"],["header",{"level":3},"valueAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"valueAxis.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"valueAxis.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"valueAxis.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":3},"valueAxis.labels.margin ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.labels.mirror ",["inlinecode","Boolean"]],["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."],["header",{"level":3},"valueAxis.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.labels.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the labels."],["header",{"level":3},"valueAxis.labels.skip ",["inlinecode","Number"],["em","(default: 1)"]],["para","Number of labels to skip.\nSkips rendering the first n labels."],["header",{"level":3},"valueAxis.labels.step ",["inlinecode","Number"],["em","(default: 1)"]],["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":3},"valueAxis.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":3},"valueAxis.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the labels."],["header",{"level":3},"valueAxis.line ",["inlinecode","Object"]],["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."],["header",{"level":3},"valueAxis.line.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"valueAxis.line.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.line.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the line."],["header",{"level":3},"valueAxis.line.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"valueAxis.majorGridLines ",["inlinecode","Object"]],["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":3},"valueAxis.majorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines."],["header",{"level":3},"valueAxis.majorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"valueAxis.majorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["header",{"level":3},"valueAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major grid lines."],["header",{"level":3},"valueAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major grid lines."],["header",{"level":3},"valueAxis.majorTicks ",["inlinecode","Object"]],["para","The major ticks of the axis."],["header",{"level":3},"valueAxis.majorTicks.size ",["inlinecode","Number"],["em","(default: 4)"]],["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."],["header",{"level":3},"valueAxis.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the major ticks."],["header",{"level":3},"valueAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"valueAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":3},"valueAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major ticks."],["header",{"level":3},"valueAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major ticks."],["header",{"level":3},"valueAxis.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions."],["header",{"level":3},"valueAxis.max ",["inlinecode","Number"],["em","(default: 1)"]],["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."],["header",{"level":3},"valueAxis.min ",["inlinecode","Number"],["em","(default: 0)"]],["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."],["header",{"level":3},"valueAxis.minorGridLines ",["inlinecode","Object"]],["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"],["header",{"level":3},"valueAxis.minorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot.\nbody of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect without the minor grid lines visibility being set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"valueAxis.minorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor grid lines."],["header",{"level":3},"valueAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor grid lines."],["header",{"level":3},"valueAxis.minorTicks ",["inlinecode","Object"]],["para","The minor ticks of the axis."],["header",{"level":3},"valueAxis.minorTicks.size ",["inlinecode","Number"],["em","(default: 3)"]],["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."],["header",{"level":3},"valueAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"valueAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":3},"valueAxis.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the minor ticks."],["header",{"level":3},"valueAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor ticks."],["header",{"level":3},"valueAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor ticks."],["header",{"level":3},"valueAxis.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."],["header",{"level":3},"valueAxis.name ",["inlinecode","Object"],["em","(default: \"primary\")"]],["para","The unique axis name."],["header",{"level":3},"valueAxis.narrowRange ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Prevents the automatic axis range from snapping to 0."],["header",{"level":3},"valueAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the value axis."],["header",{"level":3},"valueAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":3},"valueAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":3},"valueAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":3},"valueAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":3},"valueAxis.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."],["header",{"level":3},"valueAxis.title ",["inlinecode","Object"]],["para","The title of the value axis."],["header",{"level":3},"valueAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"valueAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"valueAxis.title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"valueAxis.title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"valueAxis.title.margin ",["inlinecode","Number | Object"],["em","(default: 5)"]],["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.title.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.title.position ",["inlinecode","String"],["em","(default: \"center\")"]],["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)."],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)."],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)."],["header",{"level":4},["em","\"right\""]],["para","\"The axis title is positioned on the right (applicable to horizontal axis)."],["header",{"level":4},["em","\"center\""]],["para","\"The axis title is positioned in the center."],["header",{"level":3},"valueAxis.title.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the title."],["header",{"level":3},"valueAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"valueAxis.title.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the title."],["header",{"level":3},"valueAxis.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the axis."],["header",{"level":3},"valueAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["header",{"level":3},"valueAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair."],["header",{"level":3},"valueAxis.crosshair.width ",["inlinecode","Number"]],["para","The width of the crosshair."],["header",{"level":3},"valueAxis.crosshair.opacity ",["inlinecode","Number"]],["para","The opacity of the crosshair."],["header",{"level":3},"valueAxis.crosshair.dashType ",["inlinecode","Number"]],["para","The dash type of the crosshair."],["header",{"level":3},"valueAxis.crosshair.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The dash type of the crosshair."],["header",{"level":3},"valueAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip configuration options."],["header",{"level":3},"valueAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip."],["header",{"level":3},"valueAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"valueAxis.crosshair.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"valueAxis.crosshair.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip."],["header",{"level":3},"valueAxis.crosshair.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"valueAxis.crosshair.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"valueAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#sparkline\").kendoSparkline({\n     data: [200, 450, 300, 125],\n     valueAxis: {\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"value: #= value #\"\n             }\n         }\n     }\n});"],["header",{"level":3},"valueAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"valueAxis.notes ",["inlinecode","Object"]],["para","The value axis notes configuration."],["header",{"level":3},"valueAxis.notes.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"valueAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"valueAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"valueAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.length ",["inlinecode","Number"]],["para","The line length of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"valueAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"valueAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"valueAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n* \"triangle\" - the marker shape is triangle."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"valueAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"valueAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The line length of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the Sparkline for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":3},"refresh"],["para","Reloads the data and repaints the chart."],["header",{"level":3},"setDataSource"],["para","Sets the dataSource of an existing Chart and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":3},"setOptions"],["para","Sets the widget options. Changes are cumulative."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The chart settings to update."],["header",{"level":4},"Example - change the chart theme"],["code_block","<span id=\"sparkline\"></span>\n<script>\n$(\"#sparkline\").kendoSparkline({\n  theme: \"black\",\n  data: [1, 2, 3]\n});\n\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nsparkline.setOptions({ theme: \"uniform\" });\n</script>"],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the sparkline."],["header",{"level":4},"Example"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar svg = sparkline.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the sparkline encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Sparkline"],["code_block","<span id=\"sparkline\"></div>\n<script>\n$(\"#sparkline\").kendoSparkline({\n    type: \"column\",\n    data: [1, 2, 3, 4]\n});\nvar sparkline = $(\"#sparkline\").data(\"kendoSparkline\");\nvar image = sparkline.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"axisLabelClick"],["para","Fires when an axis label is clicked."],["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":5},"e.text ",["inlinecode","Object"]],["para","The label text."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."],["header",{"level":3},"dataBound"],["para","Fires when the sparkline has received data from the data source\nand is about to render it."],["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"],["header",{"level":3},"dragStart"],["para","Fires when the user has used the mouse or a swipe gesture to drag the sparkline."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"drag"],["para","Fires as long as the user is dragging the sparkline using the mouse or swipe gestures."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"dragEnd"],["para","Fires when the user stops dragging the sparkline."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"plotAreaClick"],["para","Fires when plot area is clicked."],["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":3},"seriesClick"],["para","Fires when chart series are clicked."],["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":3},"seriesHover"],["para","Fires when chart series are hovered."],["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":3},"zoomStart"],["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["header",{"level":3},"zoom"],["para","Fires as long as the user is zooming the chart using the mousewheel."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#sparkline\").kendoSparkline({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."],["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"],["header",{"level":3},"zoomEnd"],["para","Fires when the user stops zooming the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."]]},"kendo.dataviz.ui.StockChart":{"file":"api/dataviz/stock-chart.md","name":"kendo.dataviz.ui.StockChart","config":[{"name":"dateField","type":["String"],"default":"\"date\"","short_doc":[["para","The field containing the point date.\nIt is used as a default ",["inlinecode","categoryField"]," for all series."],["para","The data item field value must be either:"]],"doc":[["para","The field containing the point date.\nIt is used as a default ",["inlinecode","categoryField"]," for all series."],["para","The data item field value must be either:"],["header",{"level":4},"* Date instance"],["header",{"level":4},"* String parsable by ",["inlinecode","new Date([field value])"]],["header",{"level":4},"* String in ASP.NET JSON format, i.e. \"\\/Date(1320825600000-0800)\\/\""]]},{"name":"navigator","type":["Object"],"short_doc":[["para","The data navigator configuration options."]],"doc":[["para","The data navigator configuration options."]],"sub":[{"name":"hint","type":["Object"],"short_doc":[["para","Default options for the navigator hint."]],"doc":[["para","Default options for the navigator hint."]],"sub":[{"name":"format","type":["String"],"short_doc":[["para","The format of the hint."]],"doc":[["para","The format of the hint."],["header",{"level":4},"Example"],["code_block","//sets format of the hint\nformat: \"From: {0:d} To: {1:d}\""]],"orig":"navigator.hint.format"},{"name":"template","type":["String","Function"],"short_doc":[["para","The hint template.\nTemplate variables:"],["bulletlist",["listitem",["strong","from"]," - The lower boundary of the selected range"],["listitem",["strong","to"]," - Theupper boundary of the selected range"]]],"doc":[["para","The hint template.\nTemplate variables:"],["bulletlist",["listitem",["strong","from"]," - The lower boundary of the selected range"],["listitem",["strong","to"]," - Theupper boundary of the selected range"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        hint: {\n            // hint template\n            template: \"From: #= from # To: #= to #\"\n        }\n     },\n     ...\n});"]],"orig":"navigator.hint.template"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the hint."]],"doc":[["para","The visibility of the hint."]],"orig":"navigator.hint.visible"}],"orig":"navigator.hint"},{"name":"select","type":["Object"],"short_doc":[["para","Specifies the initially selected range."],["para","The full range of values is shown if no range is specified."]],"doc":[["para","Specifies the initially selected range."],["para","The full range of values is shown if no range is specified."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        series: {\n            type: \"line\",\n            field: \"volume\"\n        },\n        select: {\n            from: \"2012/01/01\",\n            to: \"2012/03/01\"\n        }\n     },\n     ...\n})\n</p>"]],"sub":[{"name":"to","type":["Date","String"],"short_doc":[["para","The upper boundary of the selected range."]],"doc":[["para","The upper boundary of the selected range."]],"orig":"navigator.select.to"},{"name":"from","type":["Date","String"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]],"orig":"navigator.select.from"}],"orig":"navigator.select"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the navigator."]],"doc":[["para","The visibility of the navigator."]],"orig":"navigator.visible"},{"name":"series","type":["Array"],"short_doc":[["para","Array of series definitions."],["para","Accepts the same options as the root ",["inlinecode","series"]," collection."],["para","Omitting the array and specifying a single series is also acceptable."]],"doc":[["para","Array of series definitions."],["para","Accepts the same options as the root ",["inlinecode","series"]," collection."],["para","Omitting the array and specifying a single series is also acceptable."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        series: {\n            type: \"line\",\n            field: \"volume\"\n        }\n     },\n     ...\n});\n</p>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The line width."],["para",["strong"," Applicable for line series. "]]],"doc":[["para","The line width."],["para",["strong"," Applicable for line series. "]]],"orig":"navigator.series.width"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"navigator.series.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             tooltip: {\n                 visible: true,\n                 template: \"#= category # - #= value #\"\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"navigator.series.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"navigator.series.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]]],"doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""]],"orig":"navigator.series.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"navigator.series.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"navigator.series.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"navigator.series.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"navigator.series.tooltip.border.color"}],"orig":"navigator.series.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"navigator.series.tooltip.background"}],"orig":"navigator.series.tooltip"},{"name":"stack","type":["Boolean","Boolean"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked.  String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."]],"doc":[["para","A value indicating if the series should be stacked.  String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."]],"orig":"navigator.series.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."]],"doc":[["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."]],"orig":"navigator.series.spacing"},{"name":"overlay","type":["Object"],"short_doc":[["para","The effects overlay."]],"doc":[["para","The effects overlay."]],"sub":[{"name":"gradient","type":["String"],"short_doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]]],"doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]]],"orig":"navigator.series.overlay.gradient"}],"orig":"navigator.series.overlay"},{"name":"openField","type":["String"],"short_doc":[["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]]],"doc":[["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]]],"orig":"navigator.series.openField"},{"name":"opacity","type":["Number"],"short_doc":[["para","The series opacity."]],"doc":[["para","The series opacity."]],"orig":"navigator.series.opacity"},{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\"."]]],"orig":"navigator.series.style"},{"name":"missingValues","type":["String"],"short_doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]]],"doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]]],"orig":"navigator.series.missingValues"},{"name":"markers","type":["Object"],"short_doc":[["para","Marker options."],["para",["strong"," Applicable for area and line series. "]]],"doc":[["para","Marker options."],["para",["strong"," Applicable for area and line series. "]]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The markers visibility."]],"doc":[["para","The markers visibility."]],"orig":"navigator.series.markers.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","Configures the markers shape type."]],"doc":[["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."],["header",{"level":4},["em","\"cross\""]],["para","The marker shape is cross."]],"orig":"navigator.series.markers.type"},{"name":"size","type":["Number"],"default":"6","short_doc":[["para"," The marker size."]],"doc":[["para"," The marker size."]],"orig":"navigator.series.markers.size"},{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the markers."]],"doc":[["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    navigator: {\n      series: [{\n        type: \"line\",\n        field: \"value\",\n        categoryField: \"date\",\n        markers: {\n          type: \"square\",\n          rotation: 45\n        },\n        data: [\n          { value: 1, date: new Date(2012, 1, 1) },\n          { value: 2, date: new Date(2012, 1, 2) }\n        ]\n      }]\n    }\n});\n</script>"]],"orig":"navigator.series.markers.rotation"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the markers."]],"doc":[["para","The border of the markers."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"navigator.series.markers.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"navigator.series.markers.border.color"}],"orig":"navigator.series.markers.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the current series markers."]],"doc":[["para","The background color of the current series markers."]],"orig":"navigator.series.markers.background"}],"orig":"navigator.series.markers"},{"name":"lowField","type":["String"],"short_doc":[["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]]],"doc":[["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]]],"orig":"navigator.series.lowField"},{"name":"line","type":["String","Object"],"short_doc":[["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]]],"doc":[["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]]],"sub":[{"name":"width","type":["String"],"default":"4","short_doc":[["para","The line width."]],"doc":[["para","The line width."]],"orig":"navigator.series.line.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The line opacity."]],"doc":[["para","The line opacity."]],"orig":"navigator.series.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color."]],"doc":[["para","The line color."]],"orig":"navigator.series.line.color"}],"orig":"navigator.series.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the series data labels."]],"doc":[["para","Configures the series data labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"navigator.series.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]]],"doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             labels: {\n                 // label template\n                 template: \"#= value #%\",\n                 visible: true\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"navigator.series.labels.template"},{"name":"position","type":["String"],"default":"\"above\"","short_doc":[["para","Defines the position of the labels."]],"doc":[["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for column series only.  Not applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]]],"orig":"navigator.series.labels.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"navigator.series.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"{ left: 5, right: 5}","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"]],"orig":"navigator.series.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""]],"orig":"navigator.series.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"navigator.series.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels."]],"doc":[["para","The text color of the labels."]],"orig":"navigator.series.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"navigator.series.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"navigator.series.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"navigator.series.labels.border.color"}],"orig":"navigator.series.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels."]],"doc":[["para","The background color of the labels."]],"orig":"navigator.series.labels.background"}],"orig":"navigator.series.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"orig":"navigator.series.gap"},{"name":"downColorField","type":["String"],"short_doc":[["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]]],"doc":[["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]]],"orig":"navigator.series.downColorField"},{"name":"downColor","type":["String"],"short_doc":[["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]]],"doc":[["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]]],"orig":"navigator.series.downColor"},{"name":"colorField","type":["String"],"short_doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"orig":"navigator.series.colorField"},{"name":"color","type":["String"],"short_doc":[["para","The series base color."]],"doc":[["para","The series base color."]],"orig":"navigator.series.color"},{"name":"closeField","type":["String"],"short_doc":[["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"doc":[["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"orig":"navigator.series.closeField"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]]],"doc":[["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"navigator.series.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"navigator.series.border.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the border.  It defaults to the color of the current series."]],"doc":[["para","The color of the border.  It defaults to the color of the current series."]],"orig":"navigator.series.border.color"}],"orig":"navigator.series.border"},{"name":"axis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]]],"doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]]],"orig":"navigator.series.axis"},{"name":"aggregate","type":["String"],"default":"\"max\"","short_doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]]],"doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example"],["code_block","aggregate: {\n    open: \"max\",\n    high: \"max\",\n    close: \"min\",\n    low: \"max\"\n}"]],"orig":"navigator.series.aggregate"},{"name":"highlight","type":["Object"],"short_doc":[["para","Configures the appearance of highlighted points."],["para",["strong"," Applicable to candlestick and ohlc series. "]]],"doc":[["para","Configures the appearance of highlighted points."],["para",["strong"," Applicable to candlestick and ohlc series. "]]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if the series points should be highlighted."]],"doc":[["para","A value indicating if the series points should be highlighted."]],"orig":"navigator.series.highlight.visible"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the highlighted points."]],"doc":[["para","The opacity of the highlighted points."]],"orig":"navigator.series.highlight.opacity"},{"name":"line","type":["Object"],"short_doc":[["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]]],"doc":[["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the line."]],"doc":[["para","The opacity of the line."]],"orig":"navigator.series.highlight.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color."]],"doc":[["para","The line color."]],"orig":"navigator.series.highlight.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."]],"orig":"navigator.series.highlight.line.width"}],"orig":"navigator.series.highlight.line"},{"name":"color","type":["String"],"short_doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"orig":"navigator.series.highlight.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."]],"doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The border opacity."]],"doc":[["para","The border opacity."]],"orig":"navigator.series.highlight.border.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The border color."]],"doc":[["para","The border color."]],"orig":"navigator.series.highlight.border.color"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"navigator.series.highlight.border.width"}],"orig":"navigator.series.highlight.border"}],"orig":"navigator.series.highlight"},{"name":"name","type":["String"],"short_doc":[["para","The navigator series name."]],"doc":[["para","The navigator series name."],["header",{"level":4},"Example - set the navigator series name"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ]\n  },\n  dateField: \"date\",\n  navigator: {\n      series: [\n        {\n          field: \"value\",\n          name: \"Value\",\n          visibleInLegend: true\n        }\n      ]\n  },\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ],\n    group: { field: \"category\" }\n  },\n  dateField: \"date\",\n  navigator: {\n      series: [\n        {\n          field: \"value\",\n          name: \"Value: #: group.value #\",\n          visibleInLegend: true\n        }\n      ]\n  },\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"]],"orig":"navigator.series.name"},{"name":"categoryField","type":["String"],"default":"\"category\"","short_doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]]],"doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"]],"orig":"navigator.series.categoryField"},{"name":"field","type":["String"],"short_doc":[["para","The data field containing the series value."]],"doc":[["para","The data field containing the series value."]],"orig":"navigator.series.field"},{"name":"highField","type":["String"],"short_doc":[["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"doc":[["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"orig":"navigator.series.highField"},{"name":"data","type":["Array"],"short_doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]]],"doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]],["header",{"level":4},"Example - set the chart series data as array of objects"],["para","  <div id=\"stock-chart\"></div>\n  <script>\n  $(\"#stock-chart\").kendoStockChart({\n    series: [\n      {\n        type: \"candlestick\",\n        data: [{\n          open: 2,\n          high: 4,\n          low: 1,\n          close: 3\n        }]\n      }\n    ],\n    categoryAxis: {\n      categories: [\n        new Date(2012, 1, 1)\n      ]\n    }\n  });\n  </script>"],["header",{"level":4},"Example - set the chart series data as array of arrays"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\nseries: [\n  {\n    type: \"candlestick\",\n    data: [2, 4, 1, 3]\n  }\n],\ncategoryAxis: {\n  categories: [\n    new Date(2012, 1, 1)\n  ]\n}\n});\n</script>"]],"orig":"navigator.series.data"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["para","  <div id=\"stock-chart\"></div>\n  <script>\n  $(\"#stock-chart\").kendoStockChart({\n    series: [\n      {\n        dashType: \"dashDot\",\n        type: \"line\",\n        data: ",["link_ref",{"ref":"1, 2, 3","original":"[1, 2, 3]"},"1, 2, 3"],"\n      }\n    ],\n    categoryAxis: {\n      baseUnit: \"days\",\n      categories: [\n        new Date(2012, 1, 1),\n        new Date(2012, 1, 2),\n        new Date(2012, 1, 3)\n      ]\n    }\n  });\n  </script>"]],"orig":"navigator.series.dashType"},{"name":"type","type":["String"],"short_doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","candlestick, ohlc"],["listitem","column"],["listitem","bullet"],["listitem","area"],["listitem","line"]]],"doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","candlestick, ohlc"],["listitem","column"],["listitem","bullet"],["listitem","area"],["listitem","line"]]],"orig":"navigator.series.type"}],"orig":"navigator.series"},{"name":"pane","type":["Object"],"short_doc":[["para","The navigator pane configuration."]],"doc":[["para","The navigator pane configuration."]],"sub":[{"name":"title","type":["String","Object"],"short_doc":[["para","The title configuration of the navigator pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the navigator pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."]],"orig":"navigator.pane.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"navigator.pane.title.text"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"orig":"navigator.pane.title.position"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."]],"orig":"navigator.pane.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."]],"orig":"navigator.pane.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."]],"orig":"navigator.pane.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."]],"orig":"navigator.pane.title.margin.bottom"}],"orig":"navigator.pane.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"navigator.pane.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.pane.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.pane.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.pane.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.pane.title.border.color"}],"orig":"navigator.pane.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.pane.title.background"}],"orig":"navigator.pane.title"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the pane. A numeric value will set all paddings."]],"doc":[["para","The padding of the pane. A numeric value will set all paddings."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the navigator pane."]],"doc":[["para","The top padding of the navigator pane."]],"orig":"navigator.pane.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the navigator pane."]],"doc":[["para","The right padding of the navigator pane."]],"orig":"navigator.pane.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the navigator pane."]],"doc":[["para","The left padding of the navigator pane."]],"orig":"navigator.pane.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the navigator pane."]],"doc":[["para","The bottom padding of the navigator pane."]],"orig":"navigator.pane.padding.bottom"}],"orig":"navigator.pane.padding"},{"name":"name","type":["String"],"short_doc":[["para","The unique name of the navigator pane."]],"doc":[["para","The unique name of the navigator pane."]],"orig":"navigator.pane.name"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the pane. A numeric value will set all margins."]],"doc":[["para","The margin of the pane. A numeric value will set all margins."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the navigator pane."]],"doc":[["para","The top margin of the navigator pane."]],"orig":"navigator.pane.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the navigator pane."]],"doc":[["para","The right margin of the navigator pane."]],"orig":"navigator.pane.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the navigator pane."]],"doc":[["para","The left margin of the navigator pane."]],"orig":"navigator.pane.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the navigator pane."]],"doc":[["para","The bottom margin of the navigator pane."]],"orig":"navigator.pane.margin.bottom"}],"orig":"navigator.pane.margin"},{"name":"height","type":["Number"],"short_doc":[["para","The navigator pane height in pixels."]],"doc":[["para","The navigator pane height in pixels."]],"orig":"navigator.pane.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the navigator pane."]],"doc":[["para","The border of the navigator pane."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.pane.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.pane.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.pane.border.color"}],"orig":"navigator.pane.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the pane. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the pane. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.pane.background"}],"orig":"navigator.pane"},{"name":"dateField","type":["String"],"short_doc":[["para","The field containing the point date.\nIt is used as a default ",["inlinecode","field"]," for the navigator axis."],["para","The data item field value must be either:"]],"doc":[["para","The field containing the point date.\nIt is used as a default ",["inlinecode","field"]," for the navigator axis."],["para","The data item field value must be either:"],["header",{"level":4},"* Date instance"],["header",{"level":4},"* String parsable by ",["inlinecode","new Date([field value])"]],["header",{"level":4},"* String in ASP.NET JSON format, i.e. \"\\/Date(1320825600000-0800)\\/\""]],"orig":"navigator.dateField"},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the navigator will call read on the data source initially.\nApplicable only when using a dedicated navigator data source."]],"doc":[["para","Indicates whether the navigator will call read on the data source initially.\nApplicable only when using a dedicated navigator data source."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    navigator: {\n        dataSource: naviDataSource,\n        autoBind: false\n    }\n});\n\n// ...\nnaviDataSource.read();"]],"orig":"navigator.autoBind"},{"name":"dataSource","type":["Object"],"short_doc":[["para","Navigator DataSource configuration or instance."],["para","When the navigator is bound via its own data source,\nit will automatically set \"from\" and \"to\" filters on the main data source."],["para","This, in conjunction with server filtering, allows you to visualize large data sets\nwithout loading them at once."]],"doc":[["para","Navigator DataSource configuration or instance."],["para","When the navigator is bound via its own data source,\nit will automatically set \"from\" and \"to\" filters on the main data source."],["para","This, in conjunction with server filtering, allows you to visualize large data sets\nwithout loading them at once."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        transport: {\n             read: \"/stock/detail\"\n        },\n        serverFiltering: true\n    },\n    navigator: {\n        dataSource: {\n            transport: {\n                read: \"/stock/volume\"\n            }\n        }\n    }\n});"]],"orig":"navigator.dataSource"},{"name":"categoryAxis","type":["Array","Object"],"short_doc":[["para","The category axis configuration options."]],"doc":[["para","The category axis configuration options."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The category axis notes configuration."]],"doc":[["para","The category axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."]],"orig":"navigator.categoryAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."]],"orig":"navigator.categoryAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."]],"orig":"navigator.categoryAxis.notes.data.line.width"}],"orig":"navigator.categoryAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"navigator.categoryAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."]],"orig":"navigator.categoryAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"orig":"navigator.categoryAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"orig":"navigator.categoryAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"orig":"navigator.categoryAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"orig":"navigator.categoryAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."]],"orig":"navigator.categoryAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.categoryAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.data.label.border.color"}],"orig":"navigator.categoryAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.data.label.background"}],"orig":"navigator.categoryAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."]],"orig":"navigator.categoryAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"orig":"navigator.categoryAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."]],"orig":"navigator.categoryAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."]],"orig":"navigator.categoryAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."]],"orig":"navigator.categoryAxis.notes.data.icon.border.color"}],"orig":"navigator.categoryAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."]],"orig":"navigator.categoryAxis.notes.data.icon.background"}],"orig":"navigator.categoryAxis.notes.data.icon"},{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"navigator.categoryAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"navigator.categoryAxis.notes.data.value"}],"orig":"navigator.categoryAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."]],"orig":"navigator.categoryAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."]],"orig":"navigator.categoryAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."]],"orig":"navigator.categoryAxis.notes.line.width"}],"orig":"navigator.categoryAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"navigator.categoryAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"orig":"navigator.categoryAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"orig":"navigator.categoryAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"orig":"navigator.categoryAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"orig":"navigator.categoryAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."]],"orig":"navigator.categoryAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.categoryAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.label.border.color"}],"orig":"navigator.categoryAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.notes.label.background"}],"orig":"navigator.categoryAxis.notes.label"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"navigator.categoryAxis.notes.position"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."]],"orig":"navigator.categoryAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"orig":"navigator.categoryAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."]],"orig":"navigator.categoryAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."]],"orig":"navigator.categoryAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."]],"orig":"navigator.categoryAxis.notes.icon.border.color"}],"orig":"navigator.categoryAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."]],"orig":"navigator.categoryAxis.notes.icon.background"}],"orig":"navigator.categoryAxis.notes.icon"}],"orig":"navigator.categoryAxis.notes"},{"name":"weekStartDay","type":["Number"],"default":"kendo.days.Sunday","short_doc":[["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]]],"doc":[["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]]],"orig":"navigator.categoryAxis.weekStartDay"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."]],"orig":"navigator.categoryAxis.visible"},{"name":"title","type":["Object"],"short_doc":[["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]]],"doc":[["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."]],"orig":"navigator.categoryAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"navigator.categoryAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"doc":[["para","The rotation angle of the title. By default the title is not rotated."]],"orig":"navigator.categoryAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"doc":[["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]]],"orig":"navigator.categoryAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title. A numeric value will set all paddings."]],"doc":[["para","The padding of the title. A numeric value will set all paddings."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the title."]],"doc":[["para","The top padding of the title."]],"orig":"navigator.categoryAxis.title.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the title."]],"doc":[["para","The right padding of the title."]],"orig":"navigator.categoryAxis.title.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the title."]],"doc":[["para","The left padding of the title."]],"orig":"navigator.categoryAxis.title.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the title."]],"doc":[["para","The bottom padding of the title."]],"orig":"navigator.categoryAxis.title.padding.bottom"}],"orig":"navigator.categoryAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title. A numeric value will set all margins."]],"doc":[["para","The margin of the title. A numeric value will set all margins."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the title."]],"doc":[["para","The top margin of the title."]],"orig":"navigator.categoryAxis.title.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the title."]],"doc":[["para","The right margin of the title."]],"orig":"navigator.categoryAxis.title.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the title."]],"doc":[["para","The left margin of the title."]],"orig":"navigator.categoryAxis.title.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the title."]],"doc":[["para","The bottom margin of the title."]],"orig":"navigator.categoryAxis.title.margin.bottom"}],"orig":"navigator.categoryAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"navigator.categoryAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.categoryAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.title.border.color"}],"orig":"navigator.categoryAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.title.background"}],"orig":"navigator.categoryAxis.title"},{"name":"roundToBaseUnit","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."]],"orig":"navigator.categoryAxis.roundToBaseUnit"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."]],"doc":[["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."]],"orig":"navigator.categoryAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the category axis."]],"doc":[["para","The plot bands of the category axis."]],"sub":[{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."]],"orig":"navigator.categoryAxis.plotBands.to"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."]],"orig":"navigator.categoryAxis.plotBands.opacity"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."]],"orig":"navigator.categoryAxis.plotBands.from"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."]],"orig":"navigator.categoryAxis.plotBands.color"}],"orig":"navigator.categoryAxis.plotBands"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The configuration of the category axis minor ticks."]],"doc":[["para","The configuration of the category axis minor ticks."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor ticks."]],"doc":[["para","The skip of the category axis minor ticks."]],"orig":"navigator.categoryAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor ticks."]],"doc":[["para","The step of the category axis minor ticks."]],"orig":"navigator.categoryAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."]],"orig":"navigator.categoryAxis.minorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."]],"orig":"navigator.categoryAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."]],"orig":"navigator.categoryAxis.minorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.minorTicks.color"}],"orig":"navigator.categoryAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor grid lines."]],"doc":[["para","The skip of the category axis minor grid lines."]],"orig":"navigator.categoryAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor grid lines."]],"doc":[["para","The step of the category axis minor grid lines."]],"orig":"navigator.categoryAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis minor grid lines in pixels."]],"doc":[["para","The width of the category axis minor grid lines in pixels."]],"orig":"navigator.categoryAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."]],"orig":"navigator.categoryAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.minorGridLines.color"}],"orig":"navigator.categoryAxis.minorGridLines"},{"name":"min","type":["Object"],"short_doc":[["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"doc":[["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"orig":"navigator.categoryAxis.min"},{"name":"maxDateGroups","type":["Number"],"default":"10","short_doc":[["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"doc":[["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"orig":"navigator.categoryAxis.maxDateGroups"},{"name":"max","type":["Object"],"short_doc":[["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"doc":[["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."]],"orig":"navigator.categoryAxis.max"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The configuration of the category axis major ticks."]],"doc":[["para","The configuration of the category axis major ticks."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major ticks."]],"doc":[["para","The skip of the category axis major ticks."]],"orig":"navigator.categoryAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major ticks."]],"doc":[["para","The step of the category axis major ticks."]],"orig":"navigator.categoryAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."]],"orig":"navigator.categoryAxis.majorTicks.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."]],"orig":"navigator.categoryAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The length of the tick line in pixels."]],"doc":[["para","The length of the tick line in pixels."]],"orig":"navigator.categoryAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.majorTicks.color"}],"orig":"navigator.categoryAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major grid lines."]],"doc":[["para","The skip of the category axis major grid lines."]],"orig":"navigator.categoryAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major grid lines."]],"doc":[["para","The step of the category axis major grid lines."]],"orig":"navigator.categoryAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the category axis major grid lines in pixels."]],"doc":[["para","The width of the category axis major grid lines in pixels."]],"orig":"navigator.categoryAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."]],"orig":"navigator.categoryAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.majorGridLines.color"}],"orig":"navigator.categoryAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."]],"doc":[["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."]],"orig":"navigator.categoryAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."]],"orig":"navigator.categoryAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"doc":[["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]]],"orig":"navigator.categoryAxis.line.color"}],"orig":"navigator.categoryAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","The axis labels configuration."]],"doc":[["para","The axis labels configuration."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."]],"orig":"navigator.categoryAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"orig":"navigator.categoryAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."]],"doc":[["para","The label rendering step - render every n-th label. By default every label is rendered."]],"orig":"navigator.categoryAxis.labels.step"},{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The number of labels to skip. By default no labels are skipped."]],"doc":[["para","The number of labels to skip. By default no labels are skipped."]],"orig":"navigator.categoryAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels. By default the labels are not rotated."]],"doc":[["para","The rotation angle of the labels. By default the labels are not rotated."]],"orig":"navigator.categoryAxis.labels.rotation"},{"name":"padding","type":["Object","Number"],"default":"0","short_doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"doc":[["para","The padding of the labels. A numeric value will set all paddings."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the labels."]],"doc":[["para","The top padding of the labels."]],"orig":"navigator.categoryAxis.labels.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the labels."]],"doc":[["para","The right padding of the labels."]],"orig":"navigator.categoryAxis.labels.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the labels."]],"doc":[["para","The left padding of the labels."]],"orig":"navigator.categoryAxis.labels.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the labels."]],"doc":[["para","The bottom padding of the labels."]],"orig":"navigator.categoryAxis.labels.padding.bottom"}],"orig":"navigator.categoryAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."]],"orig":"navigator.categoryAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels. A numeric value will set all margins."]],"doc":[["para","The margin of the labels. A numeric value will set all margins."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top margin of the labels."]],"doc":[["para","The top margin of the labels."]],"orig":"navigator.categoryAxis.labels.margin.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right margin of the labels."]],"doc":[["para","The right margin of the labels."]],"orig":"navigator.categoryAxis.labels.margin.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left margin of the labels."]],"doc":[["para","The left margin of the labels."]],"orig":"navigator.categoryAxis.labels.margin.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom margin of the labels."]],"doc":[["para","The bottom margin of the labels."]],"orig":"navigator.categoryAxis.labels.margin.bottom"}],"orig":"navigator.categoryAxis.labels.margin"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"orig":"navigator.categoryAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"navigator.categoryAxis.labels.font"},{"name":"dateFormats","type":["Object"],"short_doc":[["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]]],"doc":[["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]]],"sub":[{"name":"years","type":["String"],"default":"\"yyyy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."]],"orig":"navigator.categoryAxis.labels.dateFormats.years"},{"name":"weeks","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."]],"orig":"navigator.categoryAxis.labels.dateFormats.weeks"},{"name":"months","type":["String"],"default":"\"MMM 'yy\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."]],"orig":"navigator.categoryAxis.labels.dateFormats.months"},{"name":"hours","type":["String"],"default":"\"HH:mm\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."]],"orig":"navigator.categoryAxis.labels.dateFormats.hours"},{"name":"days","type":["String"],"default":"\"M/d\"","short_doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."]],"doc":[["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."]],"orig":"navigator.categoryAxis.labels.dateFormats.days"}],"orig":"navigator.categoryAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"doc":[["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."]],"orig":"navigator.categoryAxis.labels.culture"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.categoryAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.labels.border.color"}],"orig":"navigator.categoryAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.labels.background"}],"orig":"navigator.categoryAxis.labels"},{"name":"justified","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."]]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."]]],"orig":"navigator.categoryAxis.justified"},{"name":"field","type":["String"],"short_doc":[["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."]],"doc":[["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."]],"orig":"navigator.categoryAxis.field"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the crosshair in pixels."]],"doc":[["para","The width of the crosshair in pixels."]],"orig":"navigator.categoryAxis.crosshair.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."]],"orig":"navigator.categoryAxis.crosshair.visible"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."]],"orig":"navigator.categoryAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"orig":"navigator.categoryAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"doc":[["para","The padding of the crosshair tooltip. A numeric value will set all paddings."]],"sub":[{"name":"top","type":["Number"],"default":"0","short_doc":[["para","The top padding of the crosshair tooltip."]],"doc":[["para","The top padding of the crosshair tooltip."]],"orig":"navigator.categoryAxis.crosshair.tooltip.padding.top"},{"name":"right","type":["Number"],"default":"0","short_doc":[["para","The right padding of the crosshair tooltip."]],"doc":[["para","The right padding of the crosshair tooltip."]],"orig":"navigator.categoryAxis.crosshair.tooltip.padding.right"},{"name":"left","type":["Number"],"default":"0","short_doc":[["para","The left padding of the crosshair tooltip."]],"doc":[["para","The left padding of the crosshair tooltip."]],"orig":"navigator.categoryAxis.crosshair.tooltip.padding.left"},{"name":"bottom","type":["Number"],"default":"0","short_doc":[["para","The bottom padding of the crosshair tooltip."]],"doc":[["para","The bottom padding of the crosshair tooltip."]],"orig":"navigator.categoryAxis.crosshair.tooltip.padding.bottom"}],"orig":"navigator.categoryAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"orig":"navigator.categoryAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"navigator.categoryAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border options."]],"doc":[["para","The border options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"orig":"navigator.categoryAxis.crosshair.tooltip.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.crosshair.tooltip.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.crosshair.tooltip.border.color"}],"orig":"navigator.categoryAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.crosshair.tooltip.background"}],"orig":"navigator.categoryAxis.crosshair.tooltip"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"doc":[["para","The opacity of the crosshair. By default the crosshair is opaque."]],"orig":"navigator.categoryAxis.crosshair.opacity"},{"name":"dashType","type":["string"],"default":"\"solid\"","short_doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"orig":"navigator.categoryAxis.crosshair.dashType"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."]],"orig":"navigator.categoryAxis.crosshair.color"}],"orig":"navigator.categoryAxis.crosshair"},{"name":"color","type":["String"],"short_doc":[["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."]],"doc":[["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."]],"orig":"navigator.categoryAxis.color"},{"name":"categories","type":["Array"],"short_doc":[["para","The category names. The chart will create a category for every item of the array."]],"doc":[["para","The category names. The chart will create a category for every item of the array."]],"orig":"navigator.categoryAxis.categories"},{"name":"baseUnitStep","type":["Object"],"default":"1","short_doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"orig":"navigator.categoryAxis.baseUnitStep"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"orig":"navigator.categoryAxis.baseUnit"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."]],"orig":"navigator.categoryAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]]],"doc":[["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]]],"orig":"navigator.categoryAxis.axisCrossingValue"},{"name":"autoBaseUnitSteps","type":["Object"],"short_doc":[["para","The discrete ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnit"},"navigator.categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"doc":[["para","The discrete ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnit"},"navigator.categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"sub":[{"name":"years","type":["Array"],"default":"[1, 2, 3, 5, 10, 25, 50]","short_doc":[["para","The years unit steps."]],"doc":[["para","The years unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.years"},{"name":"months","type":["Array"],"default":"[1, 2, 3, 6]","short_doc":[["para","The months unit steps."]],"doc":[["para","The months unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.months"},{"name":"weeks","type":["Array"],"default":"[1, 2]","short_doc":[["para","The weeks unit steps."]],"doc":[["para","The weeks unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.weeks"},{"name":"days","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The days unit steps."]],"doc":[["para","The days unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.days"},{"name":"hours","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The hours unit steps."]],"doc":[["para","The hours unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.hours"},{"name":"minutes","type":["Array"],"default":"[1, 2, 5, 15, 30]","short_doc":[["para","The minutes unit steps."]],"doc":[["para","The minutes unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.minutes"},{"name":"seconds","type":["Array"],"default":"[1, 2, 5, 15, 30]","short_doc":[["para","The seconds unit steps."]],"doc":[["para","The seconds unit steps."]],"orig":"navigator.categoryAxis.autoBaseUnitSteps.seconds"}],"orig":"navigator.categoryAxis.autoBaseUnitSteps"}],"orig":"navigator.categoryAxis"}]},{"name":"axisDefaults","type":["Object"],"short_doc":[["para","Default options for all chart axes."]],"doc":[["para","Default options for all chart axes."]]},{"name":"categoryAxis","type":["Array"],"short_doc":[["para","The category axis configuration options."]],"doc":[["para","The category axis configuration options."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The category axis notes configuration."]],"doc":[["para","The category axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.line.width"}],"orig":"categoryAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.border.color"}],"orig":"categoryAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.label.background"}],"orig":"categoryAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.border.color"}],"orig":"categoryAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.data.icon.background"}],"orig":"categoryAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"categoryAxis.notes.data.value"}],"orig":"categoryAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.line.width"}],"orig":"categoryAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"categoryAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.border.color"}],"orig":"categoryAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.label.background"}],"orig":"categoryAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.border.color"}],"orig":"categoryAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"categoryAxis.notes.icon.background"}],"orig":"categoryAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"categoryAxis.notes.position"}],"orig":"categoryAxis.notes"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."]],"doc":[["para","The crosshair configuration options."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip configuration options."]],"doc":[["para","The crosshar tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"categoryAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         type: \"area\",\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003],\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"|#= value #|\"\n             }\n         }\n     }\n});"]],"orig":"categoryAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"categoryAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"categoryAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"categoryAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip."]],"doc":[["para","The text color of the tooltip."]],"orig":"categoryAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.crosshair.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"categoryAxis.crosshair.tooltip.border.color"}],"orig":"categoryAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip."]],"doc":[["para","The background color of the tooltip."]],"orig":"categoryAxis.crosshair.tooltip.background"}],"orig":"categoryAxis.crosshair.tooltip"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"categoryAxis.crosshair.visible"},{"name":"dashType","type":["Number"],"short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"categoryAxis.crosshair.dashType"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the crosshair."]],"doc":[["para","The opacity of the crosshair."]],"orig":"categoryAxis.crosshair.opacity"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the crosshair."]],"doc":[["para","The width of the crosshair."]],"orig":"categoryAxis.crosshair.width"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair."]],"doc":[["para","The color of the crosshair."]],"orig":"categoryAxis.crosshair.color"}],"orig":"categoryAxis.crosshair"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the axis."]],"doc":[["para","The visibility of the axis."]],"orig":"categoryAxis.visible"},{"name":"maxDateGroups","type":["Number"],"short_doc":[["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."],["para","The default value is approximately equal to ",["inlinecode","[widget width, px] / 30"]]],"doc":[["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."],["para","The default value is approximately equal to ",["inlinecode","[widget width, px] / 30"]]],"orig":"categoryAxis.maxDateGroups"},{"name":"weekStartDay","type":["Number"],"default":"kendo.days.Sunday","short_doc":[["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]]],"doc":[["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]]],"orig":"categoryAxis.weekStartDay"},{"name":"roundToBaseUnit","type":["Boolean"],"default":"true","short_doc":[["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either column, ohlc or candlestick series are plotted on the axis."]],"doc":[["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either column, ohlc or candlestick series are plotted on the axis."]],"orig":"categoryAxis.roundToBaseUnit"},{"name":"min","type":["Object"],"short_doc":[["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"doc":[["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"orig":"categoryAxis.min"},{"name":"max","type":["Object"],"short_doc":[["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"doc":[["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."]],"orig":"categoryAxis.max"},{"name":"baseUnitStep","type":["Object"],"default":"1","short_doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"doc":[["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."]],"orig":"categoryAxis.baseUnitStep"},{"name":"baseUnit","type":["String"],"short_doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"days\""],["listitem","\"fit\""],["listitem","\"hours\""],["listitem","\"minutes\""],["listitem","\"months\""],["listitem","\"weeks\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"doc":[["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"days\""],["listitem","\"fit\""],["listitem","\"hours\""],["listitem","\"minutes\""],["listitem","\"months\""],["listitem","\"weeks\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."]],"orig":"categoryAxis.baseUnit"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."]],"orig":"categoryAxis.background"},{"name":"autoBaseUnitSteps","type":["Object"],"short_doc":[["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."]],"doc":[["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":4},"Example - set category axis auto base unit steps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    }\n});\n</script>"]],"sub":[{"name":"years","type":["Array"],"default":"[1, 2, 3, 5, 10, 25, 50]","short_doc":[["para","The years unit steps."]],"doc":[["para","The years unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.years"},{"name":"weeks","type":["Array"],"default":"[1, 2]","short_doc":[["para","The weeks unit steps."]],"doc":[["para","The weeks unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.weeks"},{"name":"months","type":["Array"],"default":"[1, 2, 3, 6]","short_doc":[["para","The months unit steps."]],"doc":[["para","The months unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.months"},{"name":"minutes","type":["Array"],"default":"[1, 2, 5, 15, 30]","short_doc":[["para","The minutes unit steps."]],"doc":[["para","The minutes unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.minutes"},{"name":"hours","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The hours unit steps."]],"doc":[["para","The hours unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.hours"},{"name":"days","type":["Array"],"default":"[1, 2, 3]","short_doc":[["para","The days unit steps."]],"doc":[["para","The days unit steps."]],"orig":"categoryAxis.autoBaseUnitSteps.days"}],"orig":"categoryAxis.autoBaseUnitSteps"},{"name":"type","type":["String"],"default":"\"category\"","short_doc":[["para","The axis type."]],"doc":[["para","The axis type."],["header",{"level":4},["em","\"category\""]],["para","Discrete category axis."],["header",{"level":4},["em","\"date\""]],["para","Specialized axis for displaying chronological data."]],"orig":"categoryAxis.type"},{"name":"title","type":["Object"],"short_doc":[["para","The title of the category axis."]],"doc":[["para","The title of the category axis."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the title."]],"doc":[["para","The visibility of the title."]],"orig":"categoryAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"categoryAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title."]],"doc":[["para","The rotation angle of the title."]],"orig":"categoryAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."]],"doc":[["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)"],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)"],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)"],["header",{"level":4},["em","\"right\""]],["para","The axis title is positioned on the right (applicable to horizontal axis)"],["header",{"level":4},["em","\"center\""]],["para","The axis title is positioned in the center"]],"orig":"categoryAxis.title.position"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title."]],"doc":[["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    categoryAxis: {\n        title: {\n            // sets the top, right, bottom and left margin to 3px.\n            margin: 3\n        }\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        title: {\n            // sets the top and left margin to 1px\n            // margin right and bottom are with 0px (by default)\n            margin: { top: 1, left: 1 }\n        }\n    },\n    ...\n});"]],"orig":"categoryAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"categoryAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"categoryAxis.title.border.color"}],"orig":"categoryAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"categoryAxis.title.background"}],"orig":"categoryAxis.title"},{"name":"select","type":["Object"],"short_doc":[["para","The selected axis range. If configured, axis selection will be enabled."],["para",["strong"," Available only for vertical axes "]],["para","The range units are:"]],"doc":[["para","The selected axis range. If configured, axis selection will be enabled."],["para",["strong"," Available only for vertical axes "]],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance or date string (yyyy/MM/dd HH:mm:ss)"]],"sub":[{"name":"mousewheel","type":["Object"],"short_doc":[["para","Mousewheel zoom settings for the selection."]],"doc":[["para","Mousewheel zoom settings for the selection."]],"sub":[{"name":"zoom","type":["String"],"default":"\"both\"","short_doc":[["para","The zoom direction. Possible values:"]],"doc":[["para","The zoom direction. Possible values:"],["header",{"level":4},["em","\"both\""]],["para","Zooming expands and contracts the selection both sides."],["header",{"level":4},["em","\"left\""]],["para","Zooming expands and contracts the selection left side only."],["header",{"level":4},["em","\"right\""]],["para","Zooming expands and contracts the selection right side only."]],"orig":"categoryAxis.select.mousewheel.zoom"},{"name":"reverse","type":["Boolean"],"default":"true","short_doc":[["para","Reverses the mousewheel zoom direction.\nNormal direction is down for \"zoom out\", up for \"zoom in\"."]],"doc":[["para","Reverses the mousewheel zoom direction.\nNormal direction is down for \"zoom out\", up for \"zoom in\"."]],"orig":"categoryAxis.select.mousewheel.reverse"}],"orig":"categoryAxis.select.mousewheel"},{"name":"max","type":["Object"],"short_doc":[["para","The maximum value that is selectable by the user."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."]],"doc":[["para","The maximum value that is selectable by the user."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."]],"orig":"categoryAxis.select.max"},{"name":"min","type":["Object"],"short_doc":[["para","The minimum value that is selectable by the user."]],"doc":[["para","The minimum value that is selectable by the user."]],"orig":"categoryAxis.select.min"},{"name":"to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."]],"doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."]],"orig":"categoryAxis.select.to"},{"name":"from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]],"orig":"categoryAxis.select.from"}],"orig":"categoryAxis.select"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."]],"doc":[["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."]],"orig":"categoryAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the category axis."]],"doc":[["para","The plot bands of the category axis."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."]],"orig":"categoryAxis.plotBands.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."]],"orig":"categoryAxis.plotBands.color"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."]],"orig":"categoryAxis.plotBands.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."]],"orig":"categoryAxis.plotBands.from"}],"orig":"categoryAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"orig":"categoryAxis.pane"},{"name":"name","type":["String"],"default":"\"primary\"","short_doc":[["para","The unique axis name."]],"doc":[["para","The unique axis name."]],"orig":"categoryAxis.name"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The minor ticks of the axis."]],"doc":[["para","The minor ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor ticks."]],"doc":[["para","The skip of the category axis minor ticks."]],"orig":"categoryAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor ticks."]],"doc":[["para","The step of the category axis minor ticks."]],"orig":"categoryAxis.minorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."]],"orig":"categoryAxis.minorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"categoryAxis.minorTicks.color"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the minor ticks."]],"doc":[["para","The visibility of the minor ticks."]],"orig":"categoryAxis.minorTicks.visible"},{"name":"size","type":["Number"],"default":"3","short_doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"orig":"categoryAxis.minorTicks.size"}],"orig":"categoryAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."]],"doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis minor grid lines."]],"doc":[["para","The skip of the category axis minor grid lines."]],"orig":"categoryAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis minor grid lines."]],"doc":[["para","The step of the category axis minor grid lines."]],"orig":"categoryAxis.minorGridLines.step"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"doc":[["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"orig":"categoryAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the grid lines."]],"doc":[["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."]],"orig":"categoryAxis.minorGridLines.color"}],"orig":"categoryAxis.minorGridLines"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The major ticks of the axis."]],"doc":[["para","The major ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major ticks."]],"doc":[["para","The skip of the category axis major ticks."]],"orig":"categoryAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major ticks."]],"doc":[["para","The step of the category axis major ticks."]],"orig":"categoryAxis.majorTicks.step"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the major ticks."]],"doc":[["para","The visibility of the major ticks."]],"orig":"categoryAxis.majorTicks.visible"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."]],"orig":"categoryAxis.majorTicks.width"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."]],"orig":"categoryAxis.majorTicks.size"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"categoryAxis.majorTicks.color"}],"orig":"categoryAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the category axis major grid lines."]],"doc":[["para","The skip of the category axis major grid lines."]],"orig":"categoryAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the category axis major grid lines."]],"doc":[["para","The step of the category axis major grid lines."]],"orig":"categoryAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."]],"doc":[["para","The width of the lines."]],"orig":"categoryAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.majorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the grid lines."]],"doc":[["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.majorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.majorGridLines.color"}],"orig":"categoryAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."]],"doc":[["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"categoryAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"categoryAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."]],"doc":[["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."]],"doc":[["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."]],"orig":"categoryAxis.line.color"}],"orig":"categoryAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the axis labels."]],"doc":[["para","Configures the axis labels."]],"sub":[{"name":"dateFormats","type":["Object"],"short_doc":[["para","Date format strings"]],"doc":[["para","Date format strings"],["header",{"level":4},["em","\"hours\""]],["para","\"HH:mm\""],["header",{"level":4},["em","\"days\""]],["para","\"M/d\""],["header",{"level":4},["em","\"weeks\""]],["para","\"M/d\""],["header",{"level":4},["em","\"months\""]],["para","\"MMM 'yy\""],["header",{"level":4},["em","\"years\""]],["para","\"yyyy\""],["para","The Chart will choose the appropriate format for the current ",["inlinecode","baseUnit"],".\nSetting the labels ",["strong","format"]," option will override these defaults."]],"orig":"categoryAxis.labels.dateFormats"},{"name":"culture","type":["String"],"short_doc":[["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt defaults to the global culture."]],"doc":[["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt defaults to the global culture."]],"orig":"categoryAxis.labels.culture"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the labels."]],"doc":[["para","The visibility of the labels."]],"orig":"categoryAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003],\n         labels: {\n             // labels template\n             template: \"Year: #= value #\"\n         }\n     }\n});"]],"orig":"categoryAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"orig":"categoryAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"orig":"categoryAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels."]],"doc":[["para","The rotation angle of the labels."]],"orig":"categoryAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels."]],"doc":[["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"categoryAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"orig":"categoryAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"categoryAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."]],"orig":"categoryAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"categoryAxis.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"categoryAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"categoryAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.border.color"}],"orig":"categoryAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"categoryAxis.labels.background"}],"orig":"categoryAxis.labels"},{"name":"justified","type":["Boolean"],"default":"false","short_doc":[["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either column, ohlc or candlestick series are plotted on the axis."]],"doc":[["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either column, ohlc or candlestick series are plotted on the axis."]],"orig":"categoryAxis.justified"},{"name":"field","type":["String"],"short_doc":[["para","The data field containing the category name."]],"doc":[["para","The data field containing the category name."],["header",{"level":4},"Example"],["code_block","// assuming the following data...\nvar data = [ { sales: 200, year: 2005 }, { sales: 300, year: 2006 }, { sales: 400, year: 2007 }];\n// specify the \"year\" as the field for the category axis\n$(\"#chart\").kendoChart({\n    dataSource: {\n        data: data\n    },\n    categoryAxis: {\n        field: \"year\"\n    },\n    ...\n});"]],"orig":"categoryAxis.field"},{"name":"color","type":["String"],"short_doc":[["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."]],"doc":[["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."]],"orig":"categoryAxis.color"},{"name":"categories","type":["Array"],"short_doc":[["para","Array of category names."]],"doc":[["para","Array of category names."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [ 2005, 2006, 2007, 2008, 2009 ]\n    },\n    ...\n});"]],"orig":"categoryAxis.categories"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."]],"doc":[["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#chart\").kendoChart({\n     categoryAxis: {\n         categories: [\"A\", \"B\"],\n         axisCrossingValue: [0, 100]\n     },\n     valueAxis: [{ }, { name: \"secondary\" }]\n     ...\n})\n</p>"]],"orig":"categoryAxis.axisCrossingValue"}]},{"name":"chartArea","type":["Object"],"short_doc":[["para","The chart area configuration options.\nThis is the entire visible area of the chart."]],"doc":[["para","The chart area configuration options.\nThis is the entire visible area of the chart."]],"sub":[{"name":"width","type":["Number"],"default":"600","short_doc":[["para"," The width of the chart area."]],"doc":[["para"," The width of the chart area."]],"orig":"chartArea.width"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the chart area."]],"doc":[["para","The margin of the chart area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"chartArea.margin"},{"name":"height","type":["Number"],"default":"400","short_doc":[["para","The height of the chart area."]],"doc":[["para","The height of the chart area."]],"orig":"chartArea.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the chart area."]],"doc":[["para","The border of the chart area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"chartArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"chartArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"chartArea.border.color"}],"orig":"chartArea.border"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The background opacity of the chart area."]],"doc":[["para","The background opacity of the chart area."]],"orig":"chartArea.opacity"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para","The background color of the chart area."]],"doc":[["para","The background color of the chart area."]],"orig":"chartArea.background"}]},{"name":"dataSource","type":["Object"],"short_doc":[["para","DataSource configuration or instance."]],"doc":[["para","DataSource configuration or instance."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    dataSource: {\n        transport: {\n             read: \"spain-electricity.json\"\n        }\n    },\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});\n\n// Alternative configuration\nvar dataSource = new kendo.data.DataSource({\n    transport: {\n         read: \"spain-electricity.json\"\n    }\n});\n\n$(\"#chart\").kendoChart({\n    dataSource: dataSource,\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});"]]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the chart will call read on the data source initially."]],"doc":[["para","Indicates whether the chart will call read on the data source initially."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: chartDataSource,\n    chartBind: false\n});\n\n// ...\nnaviDataSource.read();"]]},{"name":"legend","type":["Object"],"short_doc":[["para","The chart legend configuration options."]],"doc":[["para","The chart legend configuration options."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // set the background color to a dark blue\n        background: \"#336699\",\n        labels: {\n            // set the font to a size of 14px\n            font: \"14px Arial,Helvetica,sans-serif\",\n            // set the color to red\n            color: \"red\"\n        },\n        // move the legend to the left\n        position: \"left\",\n        // move the legend a bit closer to the chart by setting the x offset to 20\n        offsetX: 20,\n        // move the legend up to the top by setting the y offset to -100\n        offsetY: -100,\n    }\n});"]],"sub":[{"name":"inactiveItems","type":["Object"],"short_doc":[["para","Configures the legend inactive items."]],"doc":[["para","Configures the legend inactive items."]],"sub":[{"name":"markers","type":["Object"],"short_doc":[["para","Configures the legend markers."]],"doc":[["para","Configures the legend markers."]],"sub":[{"name":"color","type":["String"],"short_doc":[["para","The color of the markers.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the markers.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"legend.inactiveItems.markers.color"}],"orig":"legend.inactiveItems.markers"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the legend labels."]],"doc":[["para","Configures the legend labels."]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","The template of the labels.\nTemplate variables:"],["bulletlist",["listitem",["strong","text"]," - the text the legend item."],["listitem",["strong","series"]," - the data series."],["listitem",["strong","value"]," - the point value. (only for donut and pie charts)"],["listitem",["strong","percentage"]," - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem",["strong","dataItem"]," - the original data item used to construct the point. (only for donut and pie charts)"]]],"doc":[["para","The template of the labels.\nTemplate variables:"],["bulletlist",["listitem",["strong","text"]," - the text the legend item."],["listitem",["strong","series"]," - the data series."],["listitem",["strong","value"]," - the point value. (only for donut and pie charts)"],["listitem",["strong","percentage"]," - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem",["strong","dataItem"]," - the original data item used to construct the point. (only for donut and pie charts)"]]],"orig":"legend.inactiveItems.labels.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"legend.inactiveItems.labels.font"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"legend.inactiveItems.labels.color"}],"orig":"legend.inactiveItems.labels"}],"orig":"legend.inactiveItems"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the legend."]],"doc":[["para"," The visibility of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // show the legend\n        visible: true\n    },\n    ...\n});"]],"orig":"legend.visible"},{"name":"position","type":["String"],"default":"\"right\"","short_doc":[["para"," The positions of the legend."]],"doc":[["para"," The positions of the legend."],["header",{"level":4},["em","\"top\""]],["para","The legend is positioned on the top."],["header",{"level":4},["em","\"bottom\""]],["para","The legend is positioned on the bottom."],["header",{"level":4},["em","\"left\""]],["para","The legend is positioned on the left."],["header",{"level":4},["em","\"right\""]],["para","The legend is positioned on the right."],["header",{"level":4},["em","\"custom\""]],["para","The legend is positioned using OffsetX and OffsetY."]],"orig":"legend.position"},{"name":"padding","type":["Number","Object"],"default":"5","short_doc":[["para"," The padding of the legend."]],"doc":[["para"," The padding of the legend."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\n$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top, right, bottom and left padding to 3px.\n        padding: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    legend: {\n       // sets the top and left padding to 1px\n       // padding right and bottom are with 5px (by default)\n       padding: { top: 1, left: 1 }\n    },\n    ...\n});"]],"orig":"legend.padding"},{"name":"offsetY","type":["Number"],"default":"0","short_doc":[["para"," The Y offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from it's initial position.  A negative value will move the legend\nupwards from the current position."]],"doc":[["para"," The Y offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from it's initial position.  A negative value will move the legend\nupwards from the current position."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // move the legend up 100 pixels\n        offsetY: -100\n    },\n    ...\n});"]],"orig":"legend.offsetY"},{"name":"offsetX","type":["Number"],"default":"0","short_doc":[["para"," The X offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of it's initial position.  A negative value will move the legend\nto the left of the current position."]],"doc":[["para"," The X offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of it's initial position.  A negative value will move the legend\nto the left of the current position."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // move the legend to the left side of the chart\n        offsetX: 20\n    },\n    ...\n});"]],"orig":"legend.offsetX"},{"name":"margin","type":["Number","Object"],"default":"10","short_doc":[["para"," The margin of the legend."]],"doc":[["para"," The margin of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top, right, bottom and left margin to 3px.\n        margin: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top and left margin to 1px\n        // margin right and bottom are with 10px (by default)\n        margin: { top: 1, left: 1 }\n    },\n    ...\n});"]],"orig":"legend.margin"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the legend labels."]],"doc":[["para","Configures the legend labels."]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","The template of the labels.\nTemplate variables:\n",["em","   ",["strong","text"]," - the text the legend item.\n"],"   ",["strong","series"]," - the data series."]],"doc":[["para","The template of the labels.\nTemplate variables:\n",["em","   ",["strong","text"]," - the text the legend item.\n"],"   ",["strong","series"]," - the data series."]],"orig":"legend.labels.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"legend.labels.font"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."]],"orig":"legend.labels.color"}],"orig":"legend.labels"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the legend."]],"doc":[["para","The border of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        border: {\n            // set the border width to 2 pixels\n            width: 2,\n            // set the color to grey\n            color: \"grey\",\n            // set the dash type to solid. this is the default so we could leave this line out.\n            dashType: \"solid\"\n        }\n    },\n    ...\n});"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"legend.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":4},"Example"]],"orig":"legend.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"legend.border.color"}],"orig":"legend.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para"," The background color of the legend. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para"," The background color of the legend. Any valid CSS color string will work here, including hex and rgb."]],"orig":"legend.background"}]},{"name":"panes","type":["Array"],"short_doc":[["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."]],"doc":[["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."]],"sub":[{"name":"title","type":["String","Object"],"short_doc":[["para","The pane title text or configuration."]],"doc":[["para","The pane title text or configuration."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the title."]],"doc":[["para","The visibility of the title."]],"orig":"panes.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"panes.title.text"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."]],"doc":[["para","The position of the title."],["header",{"level":4},["em","\"left\""]],["para","The pane title is positioned on the left"],["header",{"level":4},["em","\"right\""]],["para","The pane title is positioned on the right"],["header",{"level":4},["em","\"center\""]],["para","The pane title is positioned in the center"]],"orig":"panes.title.position"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title."]],"doc":[["para","The margin of the title."]],"orig":"panes.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"panes.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"orig":"panes.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"panes.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"panes.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"panes.title.border.color"}],"orig":"panes.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"panes.title.background"}],"orig":"panes.title"},{"name":"height","type":["Number"],"short_doc":[["para","The pane height in pixels."]],"doc":[["para","The pane height in pixels."]],"orig":"panes.height"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the pane."]],"doc":[["para","The border of the pane."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"panes.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"panes.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"panes.border.color"}],"orig":"panes.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the pane."]],"doc":[["para","The background color of the pane."]],"orig":"panes.background"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the pane."]],"doc":[["para","The padding of the pane."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\npadding: { top: 1, left: 1 }"]],"orig":"panes.padding"},{"name":"margin","type":["Number","Object"],"short_doc":[["para","The margin of the pane."]],"doc":[["para","The margin of the pane."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\nmargin: { top: 1, left: 1 }"]],"orig":"panes.margin"},{"name":"name","type":["String"],"short_doc":[["para","The unique pane name."]],"doc":[["para","The unique pane name."]],"orig":"panes.name"}]},{"name":"plotArea","type":["Object"],"short_doc":[["para","The plot area configuration options. This is the area containing the plotted series."]],"doc":[["para","The plot area configuration options. This is the area containing the plotted series."]],"sub":[{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the plot area."]],"doc":[["para"," The margin of the plot area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"plotArea.margin"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the plot area."]],"doc":[["para","The border of the plot area."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"plotArea.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"plotArea.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"plotArea.border.color"}],"orig":"plotArea.border"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para"," The background opacity of the plot area."]],"doc":[["para"," The background opacity of the plot area."]],"orig":"plotArea.opacity"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para"," The background color of the plot area."]],"doc":[["para"," The background color of the plot area."]],"orig":"plotArea.background"}]},{"name":"renderAs","type":["String"],"short_doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]],"doc":[["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]]]},{"name":"Example - Render as Canvas, if supported","type":[],"short_doc":[["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    renderAs: \"canvas\",\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"]],"doc":[["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    renderAs: \"canvas\",\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"]]},{"name":"series","type":["Array"],"short_doc":[["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]]],"doc":[["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The series notes configuration."]],"doc":[["para","The series notes configuration."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.line.width"}],"orig":"series.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"series.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.border.color"}],"orig":"series.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.label.background"}],"orig":"series.notes.label"},{"name":"position","type":["String"],"short_doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"series.notes.position"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"]],"orig":"series.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.border.color"}],"orig":"series.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"]],"orig":"series.notes.icon.background"}],"orig":"series.notes.icon"}],"orig":"series.notes"},{"name":"target","type":["Object"],"short_doc":[["para","The target of the bullet chart."]],"doc":[["para","The target of the bullet chart."]],"sub":[{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the target."]],"doc":[["para","The border of the target."]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.target.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.target.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"series.target.border.color"}],"orig":"series.target.border"},{"name":"color","type":["String","Function"],"short_doc":[["para","The target color."]],"doc":[["para","The target color."]],"orig":"series.target.color"},{"name":"line","type":["Object"],"short_doc":[["para","The target line."]],"doc":[["para","The target line."]],"sub":[{"name":"width","type":["Object","Function"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."]],"orig":"series.target.line.width"}],"orig":"series.target.line"}],"orig":"series.target"},{"name":"width","type":["Number"],"short_doc":[["para","The line width."],["para",["strong"," Applicable for area and line series. "]]],"doc":[["para","The line width."],["para",["strong"," Applicable for area and line series. "]]],"orig":"series.width"},{"name":"visibleInLegend","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating whether to show the series name in the legend."]],"doc":[["para","A value indicating whether to show the series name in the legend."]],"orig":"series.visibleInLegend"},{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"series.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             tooltip: {\n                 visible: true,\n                 template: \"#= category # - #= value #\"\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"series.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"series.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]]],"doc":[["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""]],"orig":"series.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"series.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"series.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"series.tooltip.border.color"}],"orig":"series.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"series.tooltip.background"}],"orig":"series.tooltip"},{"name":"stack","type":["Boolean","String"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."]],"doc":[["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."]],"orig":"series.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."]],"doc":[["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."]],"orig":"series.spacing"},{"name":"overlay","type":["Object"],"short_doc":[["para","The effects overlay."]],"doc":[["para","The effects overlay."]],"sub":[{"name":"gradient","type":["String"],"short_doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]]],"doc":[["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]]],"orig":"series.overlay.gradient"}],"orig":"series.overlay"},{"name":"openField","type":["String"],"short_doc":[["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]]],"doc":[["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]]],"orig":"series.openField"},{"name":"opacity","type":["Number"],"short_doc":[["para","The series opacity."]],"doc":[["para","The series opacity."]],"orig":"series.opacity"},{"name":"negativeColor","type":["String"],"short_doc":[["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to column series. "]],["para","The plot stops before the missing point and continues after it."]],"doc":[["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to column series. "]],["para","The plot stops before the missing point and continues after it."]],"orig":"series.negativeColor"},{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line at right."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line at right."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]]],"orig":"series.style"},{"name":"missingValues","type":["String"],"short_doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]]],"doc":[["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]]],"orig":"series.missingValues"},{"name":"markers","type":["Object"],"short_doc":[["para","Marker options."],["para",["strong"," Applicable for area and line series. "]]],"doc":[["para","Marker options."],["para",["strong"," Applicable for area and line series. "]]],"sub":[{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para","The markers visibility."]],"doc":[["para","The markers visibility."]],"orig":"series.markers.visible"},{"name":"type","type":["String","Function"],"default":"\"circle\"","short_doc":[["para","Configures the markers shape type."]],"doc":[["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."],["header",{"level":4},["em","\"cross\""]],["para","The marker shape is cross."]],"orig":"series.markers.type"},{"name":"rotation","type":["Number","Function"],"short_doc":[["para","The rotation angle of the markers."]],"doc":[["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      markers: {\n        type: \"square\",\n        rotation: 45\n      },\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"]],"orig":"series.markers.rotation"},{"name":"size","type":["Number","Function"],"default":"6","short_doc":[["para"," The marker size."]],"doc":[["para"," The marker size."]],"orig":"series.markers.size"},{"name":"border","type":["Object","Function"],"short_doc":[["para","The border of the markers."]],"doc":[["para","The border of the markers."]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"series.markers.border.width"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"series.markers.border.color"}],"orig":"series.markers.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the current series markers."]],"doc":[["para","The background color of the current series markers."]],"orig":"series.markers.background"}],"orig":"series.markers"},{"name":"lowField","type":["String"],"short_doc":[["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]]],"doc":[["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]]],"orig":"series.lowField"},{"name":"line","type":["String","Object"],"short_doc":[["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]]],"doc":[["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]]],"sub":[{"name":"style","type":["String"],"default":"\"normal\"","short_doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]]],"doc":[["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]]],"orig":"series.line.style"},{"name":"width","type":["String"],"default":"4","short_doc":[["para","The line width."]],"doc":[["para","The line width."]],"orig":"series.line.width"},{"name":"opacity","type":["Number"],"default":"1","short_doc":[["para","The line opacity."]],"doc":[["para","The line opacity."]],"orig":"series.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color."]],"doc":[["para","The line color."]],"orig":"series.line.color"}],"orig":"series.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the series data labels."]],"doc":[["para","Configures the series data labels."],["header",{"level":4},["em","\"circle\""]],["para","The labels are positioned in circle around the chart."],["header",{"level":4},["em","\"column\""]],["para","The labels are positioned in columns to the left and right of the chart."]],"sub":[{"name":"visible","type":["Boolean","Function"],"default":"false","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."]],"orig":"series.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]]],"doc":[["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             labels: {\n                 // label template\n                 template: \"#= value #%\",\n                 visible: true\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"series.labels.template"},{"name":"position","type":["String","Function"],"default":"\"above\"","short_doc":[["para","Defines the position of the labels."]],"doc":[["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for column series only. Not applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]]],"orig":"series.labels.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"series.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"{ left: 5, right: 5}","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"]],"orig":"series.labels.margin"},{"name":"format","type":["String","Function"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""]],"orig":"series.labels.format"},{"name":"font","type":["String","Function"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"series.labels.font"},{"name":"color","type":["String","Function"],"short_doc":[["para","The text color of the labels."]],"doc":[["para","The text color of the labels."]],"orig":"series.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number","Function"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"series.labels.border.width"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.labels.border.dashType"},{"name":"color","type":["String","Function"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"series.labels.border.color"}],"orig":"series.labels.border"},{"name":"background","type":["String","Function"],"short_doc":[["para","The background color of the labels."]],"doc":[["para","The background color of the labels."]],"orig":"series.labels.background"}],"orig":"series.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"doc":[["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"orig":"series.gap"},{"name":"downColorField","type":["String"],"short_doc":[["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]]],"doc":[["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]]],"orig":"series.downColorField"},{"name":"downColor","type":["String","Function"],"short_doc":[["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]]],"doc":[["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]]],"orig":"series.downColor"},{"name":"colorField","type":["String"],"short_doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"doc":[["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]]],"orig":"series.colorField"},{"name":"color","type":["String","Function"],"short_doc":[["para","The series base color."]],"doc":[["para","The series base color."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        data: [{\n            date: new Date(\"2012-03-01 00:00\"),\n            price: 111\n        }, {\n            date: new Date(\"2012-03-02 00:00\"),\n            price: 121\n        }, {\n            date: new Date(\"2012-03-05 00:00\"),\n            price: 105\n        }]\n    },\n    dateField: \"date\",\n    series: [{\n        type: \"column\",\n        field: \"price\",\n        color: \"#ff0000\"\n    }]\n});"],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        data: [{\n            date: new Date(\"2012-03-01 00:00\"),\n            price: 111\n        }, {\n            date: new Date(\"2012-03-02 00:00\"),\n            price: 121\n        }, {\n            date: new Date(\"2012-03-05 00:00\"),\n            price: 95\n        }]\n    },\n    dateField: \"date\",\n    series: [{\n        type: \"column\",\n        field: \"price\",\n        color: function(point) {\n            if (point.value < 100) {\n                // Colorize matching points\n                return \"#f00\";\n            }\n\n            // Use default theme color\n        }\n    }]\n});"]],"orig":"series.color"},{"name":"closeField","type":["String"],"short_doc":[["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"doc":[["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"orig":"series.closeField"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]]],"doc":[["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]]],"sub":[{"name":"width","type":["Number","Function"],"default":"1","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.border.width"},{"name":"opacity","type":["Number","Function"],"short_doc":[["para","The border opacity."]],"doc":[["para","The border opacity."]],"orig":"series.border.opacity"},{"name":"dashType","type":["String","Function"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.border.dashType"},{"name":"color","type":["String","Function"],"short_doc":[["para","The color of the border.  It defaults to the color of the current series."]],"doc":[["para","The color of the border.  It defaults to the color of the current series."]],"orig":"series.border.color"}],"orig":"series.border"},{"name":"axis","type":["String"],"default":"\"primary\"","short_doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]]],"doc":[["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]]],"orig":"series.axis"},{"name":"aggregate","type":["String"],"default":"\"max\"","short_doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]]],"doc":[["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example"],["code_block","aggregate: {\n    open: \"max\",\n    high: \"max\",\n    close: \"min\",\n    low: \"max\"\n}"]],"orig":"series.aggregate"},{"name":"highlight","type":["Object"],"short_doc":[["para","Configures the appearance of highlighted points."]],"doc":[["para","Configures the appearance of highlighted points."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the highlighted points."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]]],"doc":[["para","The opacity of the highlighted points."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]]],"orig":"series.highlight.opacity"},{"name":"line","type":["Object"],"short_doc":[["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]]],"doc":[["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the line."]],"doc":[["para","The opacity of the line."]],"orig":"series.highlight.line.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The line color."]],"doc":[["para","The line color."]],"orig":"series.highlight.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the line."]],"doc":[["para","The width of the line."]],"orig":"series.highlight.line.width"}],"orig":"series.highlight.line"},{"name":"color","type":["String"],"short_doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"doc":[["para","The highlight color."],["para",["strong"," Available only for pie series "]]],"orig":"series.highlight.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]]],"doc":[["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The border opacity."]],"doc":[["para","The border opacity."]],"orig":"series.highlight.border.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The border color."]],"doc":[["para","The border color."]],"orig":"series.highlight.border.color"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"series.highlight.border.width"}],"orig":"series.highlight.border"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if the series points should be highlighted."]],"doc":[["para","A value indicating if the series points should be highlighted."]],"orig":"series.highlight.visible"}],"orig":"series.highlight"},{"name":"name","type":["String"],"short_doc":[["para","The series name visible in the legend."]],"doc":[["para","The series name visible in the legend."],["header",{"level":4},"Example - set the series name"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ]\n  },\n  dateField: \"date\",\n  series: [\n    {\n      field: \"value\",\n      name: \"Value\"\n    }\n  ],\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ],\n    group: { field: \"category\" }\n  },\n  dateField: \"date\",\n  series: [\n    {\n      field: \"value\",\n      name: \"Category: #: group.value #\"\n    }\n  ],\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"]],"orig":"series.name"},{"name":"targetField","type":["String"],"short_doc":[["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"doc":[["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"orig":"series.targetField"},{"name":"currentField","type":["String"],"short_doc":[["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"doc":[["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]]],"orig":"series.currentField"},{"name":"categoryField","type":["String"],"default":"\"category\"","short_doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]]],"doc":[["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"]],"orig":"series.categoryField"},{"name":"field","type":["String"],"short_doc":[["para","The data field containing the series value."]],"doc":[["para","The data field containing the series value."]],"orig":"series.field"},{"name":"highField","type":["String"],"short_doc":[["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"doc":[["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]]],"orig":"series.highField"},{"name":"data","type":["Array"],"short_doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]]],"doc":[["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]]],"orig":"series.data"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The series line dash type."],["para",["strong"," Applicable only to line series "]]],"doc":[["para","The series line dash type."],["para",["strong"," Applicable only to line series "]],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"series.dashType"},{"name":"type","type":["String"],"short_doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column"],["listitem","line"],["listitem","candlestick, ohlc"],["listitem","bullet"]]],"doc":[["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column"],["listitem","line"],["listitem","candlestick, ohlc"],["listitem","bullet"]]],"orig":"series.type"}]},{"name":"seriesColors","type":["Array"],"short_doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."]],"doc":[["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."]]},{"name":"seriesDefaults","type":["Object"],"short_doc":[["para","Default values for each series."]],"doc":[["para","Default values for each series."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," A value indicating if the tooltip should be displayed."]],"doc":[["para"," A value indicating if the tooltip should be displayed."]],"orig":"seriesDefaults.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     seriesDefaults: {\n         tooltip: {\n             visible: true,\n             template: \"#= category # - #= value #\"\n         }\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"seriesDefaults.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"seriesDefaults.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"seriesDefaults.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para"," The tooltip font."]],"doc":[["para"," The tooltip font."]],"orig":"seriesDefaults.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"seriesDefaults.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"seriesDefaults.tooltip.border.color"}],"orig":"seriesDefaults.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"seriesDefaults.tooltip.background"}],"orig":"seriesDefaults.tooltip"},{"name":"stack","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the series should be stacked."]],"doc":[["para","A value indicating if the series should be stacked."]],"orig":"seriesDefaults.stack"},{"name":"spacing","type":["Number"],"default":"0.4","short_doc":[["para"," Space between bars."]],"doc":[["para"," Space between bars."]],"orig":"seriesDefaults.spacing"},{"name":"pie","type":["Object"],"short_doc":[["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."]],"doc":[["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."]],"orig":"seriesDefaults.pie"},{"name":"overlay","type":["Object"],"short_doc":[["para","The effects overlay."]],"doc":[["para","The effects overlay."]],"orig":"seriesDefaults.overlay"},{"name":"line","type":["Object"],"short_doc":[["para","The line configuration options.\nThe default options for all line series. For more details see the series options."]],"doc":[["para","The line configuration options.\nThe default options for all line series. For more details see the series options."]],"orig":"seriesDefaults.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the series data labels."]],"doc":[["para","Configures the series data labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        // adjust the default label appearence for all series\n        labels: {\n            // set the margin on all sides to 1\n            margin: 1,\n            // format the labels as currency\n            format: \"C\"\n        }\n    },\n    ...\n});"]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the labels."]],"doc":[["para"," The visibility of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        labels: {\n            // hide all the series labels by default\n            visible: true\n        },\n        ...\n    }\n});"]],"orig":"seriesDefaults.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     seriesDefault: {\n         labels: {\n             // label template\n             template: \"#= value  #%\",\n             visible: true\n         }\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"]],"orig":"seriesDefaults.labels.template"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para"," The padding of the labels."]],"doc":[["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"seriesDefaults.labels.padding"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para"," The margin of the labels."]],"doc":[["para"," The margin of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart).kendoChart({\n     labels: {\n         // sets the top, right, bottom and left margin to 3px.\n         margin: 3\n     },\n     ...\n});\n//\n$(\"#chart\").kendoChart({\n     labels: {\n         // sets the top and left margin to 1px\n         // margin right and bottom are with 0px (by default)\n         margin: { top: 1, left: 1 }\n     },\n     ...\n});"]],"orig":"seriesDefaults.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""]],"orig":"seriesDefaults.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels.\nlabels"]],"doc":[["para","The font style of the labels.\nlabels"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        // adjust the default label appearence for all series\n        labels: {\n            // set the font size to 14px\n            font: \"14px Arial,Helvetica,sans-serif\"\n        }\n    },\n    ...\n});"]],"orig":"seriesDefaults.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."]],"orig":"seriesDefaults.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"seriesDefaults.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"seriesDefaults.labels.border.color"}],"orig":"seriesDefaults.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."]],"orig":"seriesDefaults.labels.background"}],"orig":"seriesDefaults.labels"},{"name":"gap","type":["Number"],"default":"1.5","short_doc":[["para"," The distance between category clusters."]],"doc":[["para"," The distance between category clusters."]],"orig":"seriesDefaults.gap"},{"name":"column","type":["Object"],"short_doc":[["para","The column configuration options.\nThe default options for all column series. For more details see the series options."]],"doc":[["para","The column configuration options.\nThe default options for all column series. For more details see the series options."]],"orig":"seriesDefaults.column"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the series."]],"doc":[["para","The border of the series."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"seriesDefaults.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"seriesDefaults.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"seriesDefaults.border.color"}],"orig":"seriesDefaults.border"},{"name":"ohlc","type":["Object"],"short_doc":[["para","The ohlc configuration options.\nThe default options for all ohlc series. For more details see the series options."]],"doc":[["para","The ohlc configuration options.\nThe default options for all ohlc series. For more details see the series options."]],"orig":"seriesDefaults.ohlc"},{"name":"candlestick","type":["Object"],"short_doc":[["para","The candlestick configuration options.\nThe default options for all candlestick series. For more details see the series options."]],"doc":[["para","The candlestick configuration options.\nThe default options for all candlestick series. For more details see the series options."]],"orig":"seriesDefaults.candlestick"},{"name":"area","type":["Object"],"short_doc":[["para","The area configuration options.\nThe default options for all area series. For more details see the series options."]],"doc":[["para","The area configuration options.\nThe default options for all area series. For more details see the series options."]],"orig":"seriesDefaults.area"}]},{"name":"theme","type":["String"],"short_doc":[["para","Sets Chart theme. Available themes: default, blueOpal, black."]],"doc":[["para","Sets Chart theme. Available themes: default, blueOpal, black."]]},{"name":"title","type":["Object","String"],"short_doc":[["para","The chart title configuration options or text."]],"doc":[["para","The chart title configuration options or text."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para"," The visibility of the title."]],"doc":[["para"," The visibility of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart \").kendoChart({\n    title: {\n        // hides the title\n        visible: false\n    },\n    ...\n});"]],"orig":"title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The title of the chart. You can also set the text directly for a title with default options."]],"doc":[["para","The title of the chart. You can also set the text directly for a title with default options."],["header",{"level":4},"Example"],["code_block","$(\"#chart \").kendoChart({\n    title: {\n        text: \"Sales data\"\n    },\n    ...\n});\n\n$(\"#chart \").kendoChart({\n    title: \"Sales data\",\n    ...\n});"]],"orig":"title.text"},{"name":"position","type":["String"],"default":"\"top\"","short_doc":[["para"," The position of the title."]],"doc":[["para"," The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The title is positioned on the top."],["header",{"level":4},["em","\"bottom\""]],["para","The title is positioned on the bottom."]],"orig":"title.position"},{"name":"padding","type":["Number","Object"],"default":"5","short_doc":[["para"," The padding of the title."]],"doc":[["para"," The padding of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // sets the top, right, bottom and left padding to 3px.\n    title: {\n        padding: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    // sets the top and left padding to 1px\n    // padding right and bottom are with 5px (by default)\n    title: {\n        padding: { top: 1, left: 1 }\n    },\n    ...\n});"]],"orig":"title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para"," The margin of the title."]],"doc":[["para"," The margin of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // sets the top, right, bottom and left margin to 3px.\n    title: {\n        margin: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    // sets the top and left margin to 1px\n    // margin right and bottom are with 5px (by default)\n    title: {\n        margin: { top: 1, left: 1 }\n    },\n    ...\n});"]],"orig":"title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para"," The font of the title."]],"doc":[["para"," The font of the title."]],"orig":"title.font"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // set border options on the title\n    title: {\n        border: {\n            // set the border color to a dark blue\n            color: \"#336699\",\n            // set the width of the border to 2 pixels\n            width: 2,\n            // set the border style to long dashes\n            dashType: \"longDash\"\n        }\n    },\n    ...\n});"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para"," The dash type of the border."]],"doc":[["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"title.border.color"}],"orig":"title.border"},{"name":"background","type":["String"],"default":"\"white\"","short_doc":[["para"," The background color of the title."]],"doc":[["para"," The background color of the title."]],"orig":"title.background"},{"name":"align","type":["String"],"default":"\"center\"","short_doc":[["para"," The alignment of the title."]],"doc":[["para"," The alignment of the title."],["header",{"level":4},["em","\"left\""]],["para","The text is aligned to the left."],["header",{"level":4},["em","\"center\""]],["para","The text is aligned to the middle."],["header",{"level":4},["em","\"right\""]],["para","The text is aligned to the right."]],"orig":"title.align"}]},{"name":"tooltip","type":["Object"],"short_doc":[["para","The data point tooltip configuration options."]],"doc":[["para","The data point tooltip configuration options."]],"sub":[{"name":"sharedTemplate","type":["String"],"short_doc":[["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]]],"doc":[["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"Internet Users\"\n     },\n     series: [{\n         name: \"United States\",\n         data: [67.96, 68.93, 75, 74, 78]\n     }, {\n         name: \"World\",\n         data: [15.7, 16.7, 20, 23.5, 26.6]\n     }],\n     categoryAxis: {\n         categories: [2005, 2006, 2007, 2008, 2009]\n     },\n     tooltip: {\n         visible: true,\n         shared: true,\n         sharedTemplate:\n            \"#= category # </br>\" +\n            \"# for (var i = 0; i < points.length; i++) { #\" +\n                \"#= points[i].series.name #: #= points[i].value # </br>\" +\n            \"# } #\"\n     }\n});"]],"orig":"tooltip.sharedTemplate"},{"name":"shared","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be shared."]],"doc":[["para","A value indicating if the tooltip should be shared."]],"orig":"tooltip.shared"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     tooltip: {\n         visible: true,\n         template: \"#= category # - #= value #\"\n     }\n});"]],"orig":"tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para"," The tooltip font."]],"doc":[["para"," The tooltip font."]],"orig":"tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"doc":[["para","The text color of the tooltip. The default is the same as the series labels color."]],"orig":"tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para"," The width of the border."]],"doc":[["para"," The width of the border."]],"orig":"tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para"," The color of the border."]],"doc":[["para"," The color of the border."]],"orig":"tooltip.border.color"}],"orig":"tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"doc":[["para","The background color of the tooltip. The default is determined from the series color."]],"orig":"tooltip.background"}]},{"name":"transitions","type":["Boolean"],"default":"true","short_doc":[["para","A value indicating if transition animations should be played."]],"doc":[["para","A value indicating if transition animations should be played."]]},{"name":"valueAxis","type":["Array"],"short_doc":[["para","The value axis configuration options."]],"doc":[["para","The value axis configuration options."]],"sub":[{"name":"notes","type":["Object"],"short_doc":[["para","The value axis notes configuration."]],"doc":[["para","The value axis notes configuration."]],"sub":[{"name":"data","type":["Array"],"short_doc":[["para","The items of the notes."]],"doc":[["para","The items of the notes."]],"sub":[{"name":"line","type":["Object"],"short_doc":[["para","The line of the note."]],"doc":[["para","The line of the note."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the note."]],"doc":[["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the note."]],"doc":[["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.line.width"}],"orig":"valueAxis.notes.data.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the note."]],"doc":[["para","The label of the note."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.data.label.position"},{"name":"text","type":["String"],"short_doc":[["para","The label note text."]],"doc":[["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.text"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the note label."]],"doc":[["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.border.color"}],"orig":"valueAxis.notes.data.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.label.background"}],"orig":"valueAxis.notes.data.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the note."]],"doc":[["para","The icon of the note."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.border.color"}],"orig":"valueAxis.notes.data.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the note icon."]],"doc":[["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.data.icon.background"}],"orig":"valueAxis.notes.data.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.data.position"},{"name":"value","type":["Object"],"short_doc":[["para","The value of the note."]],"doc":[["para","The value of the note."]],"orig":"valueAxis.notes.data.value"}],"orig":"valueAxis.notes.data"},{"name":"line","type":["Object"],"short_doc":[["para","The line of the notes."]],"doc":[["para","The line of the notes."]],"sub":[{"name":"length","type":["Number"],"short_doc":[["para","The length of the connecting lines in pixels."]],"doc":[["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.length"},{"name":"color","type":["String"],"short_doc":[["para","The line color of the notes."]],"doc":[["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.color"},{"name":"width","type":["Number"],"short_doc":[["para","The line width of the notes."]],"doc":[["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.line.width"}],"orig":"valueAxis.notes.line"},{"name":"label","type":["Object"],"short_doc":[["para","The label of the notes."]],"doc":[["para","The label of the notes."]],"sub":[{"name":"position","type":["String"],"default":"\"inside\"","short_doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"doc":[["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]]],"orig":"valueAxis.notes.label.position"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."]],"doc":[["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.format"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the label. By default the label are not rotated."]],"doc":[["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.rotation"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."]],"doc":[["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.template"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the label."]],"doc":[["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the label."]],"doc":[["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."]],"doc":[["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]]],"doc":[["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.border.color"}],"orig":"valueAxis.notes.label.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.label.background"}],"orig":"valueAxis.notes.label"},{"name":"icon","type":["Object"],"short_doc":[["para","The icon of the notes."]],"doc":[["para","The icon of the notes."]],"sub":[{"name":"visible","type":["Boolean"],"default":"\"true\"","short_doc":[["para","The icon visibility."]],"doc":[["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.visible"},{"name":"type","type":["String"],"default":"\"circle\"","short_doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."]],"doc":[["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.type"},{"name":"size","type":["Number"],"short_doc":[["para","The size of the icon."]],"doc":[["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.size"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the icon."]],"doc":[["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"sub":[{"name":"width","type":["Number"],"short_doc":[["para","The border width of the icon."]],"doc":[["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.width"},{"name":"color","type":["String"],"short_doc":[["para","The border color of the icon."]],"doc":[["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.border.color"}],"orig":"valueAxis.notes.icon.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the notes icon."]],"doc":[["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"]],"orig":"valueAxis.notes.icon.background"}],"orig":"valueAxis.notes.icon"},{"name":"position","type":["String"],"short_doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"doc":[["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]]],"orig":"valueAxis.notes.position"}],"orig":"valueAxis.notes"},{"name":"crosshair","type":["Object"],"short_doc":[["para","The crosshair configuration options."]],"doc":[["para","The crosshair configuration options."]],"sub":[{"name":"tooltip","type":["Object"],"short_doc":[["para","The crosshar tooltip configuration options."]],"doc":[["para","The crosshar tooltip configuration options."]],"sub":[{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","A value indicating if the tooltip should be displayed."]],"doc":[["para","A value indicating if the tooltip should be displayed."]],"orig":"valueAxis.crosshair.tooltip.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]]],"doc":[["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     valueAxis: {\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"value: #= value #\"\n             }\n         }\n     }\n});"]],"orig":"valueAxis.crosshair.tooltip.template"},{"name":"padding","type":["Number","Object"],"short_doc":[["para","The padding of the tooltip."]],"doc":[["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.crosshair.tooltip.padding"},{"name":"format","type":["String"],"short_doc":[["para","The tooltip format."]],"doc":[["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""]],"orig":"valueAxis.crosshair.tooltip.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The tooltip font."]],"doc":[["para","The tooltip font."]],"orig":"valueAxis.crosshair.tooltip.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the tooltip."]],"doc":[["para","The text color of the tooltip."]],"orig":"valueAxis.crosshair.tooltip.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border configuration options."]],"doc":[["para","The border configuration options."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.crosshair.tooltip.border.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"valueAxis.crosshair.tooltip.border.color"}],"orig":"valueAxis.crosshair.tooltip.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the tooltip."]],"doc":[["para","The background color of the tooltip."]],"orig":"valueAxis.crosshair.tooltip.background"}],"orig":"valueAxis.crosshair.tooltip"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"valueAxis.crosshair.visible"},{"name":"dashType","type":["Number"],"short_doc":[["para","The dash type of the crosshair."]],"doc":[["para","The dash type of the crosshair."]],"orig":"valueAxis.crosshair.dashType"},{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the crosshair."]],"doc":[["para","The opacity of the crosshair."]],"orig":"valueAxis.crosshair.opacity"},{"name":"width","type":["Number"],"short_doc":[["para","The width of the crosshair."]],"doc":[["para","The width of the crosshair."]],"orig":"valueAxis.crosshair.width"},{"name":"color","type":["String"],"short_doc":[["para","The color of the crosshair."]],"doc":[["para","The color of the crosshair."]],"orig":"valueAxis.crosshair.color"}],"orig":"valueAxis.crosshair"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the axis."]],"doc":[["para","The visibility of the axis."]],"orig":"valueAxis.visible"},{"name":"title","type":["Object"],"short_doc":[["para","The title of the value axis."]],"doc":[["para","The title of the value axis."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the title."]],"doc":[["para","The visibility of the title."]],"orig":"valueAxis.title.visible"},{"name":"text","type":["String"],"short_doc":[["para","The text of the title."]],"doc":[["para","The text of the title."]],"orig":"valueAxis.title.text"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the title."]],"doc":[["para","The rotation angle of the title."]],"orig":"valueAxis.title.rotation"},{"name":"position","type":["String"],"default":"\"center\"","short_doc":[["para","The position of the title."]],"doc":[["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)."],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)."],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)."],["header",{"level":4},["em","\"right\""]],["para","\"The axis title is positioned on the right (applicable to horizontal axis)."],["header",{"level":4},["em","\"center\""]],["para","\"The axis title is positioned in the center."]],"orig":"valueAxis.title.position"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the title."]],"doc":[["para","The padding of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.title.padding"},{"name":"margin","type":["Number","Object"],"default":"5","short_doc":[["para","The margin of the title."]],"doc":[["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"valueAxis.title.margin"},{"name":"font","type":["String"],"default":"\"16px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the title."]],"doc":[["para","The font style of the title."]],"orig":"valueAxis.title.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.title.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the title."]],"doc":[["para","The border of the title."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.title.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.title.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border."]],"doc":[["para","The color of the border."]],"orig":"valueAxis.title.border.color"}],"orig":"valueAxis.title.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"valueAxis.title.background"}],"orig":"valueAxis.title"},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."]],"doc":[["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."]],"orig":"valueAxis.reverse"},{"name":"plotBands","type":["Array"],"short_doc":[["para","The plot bands of the value axis."]],"doc":[["para","The plot bands of the value axis."]],"sub":[{"name":"opacity","type":["Number"],"short_doc":[["para","The opacity of the plot band."]],"doc":[["para","The opacity of the plot band."]],"orig":"valueAxis.plotBands.opacity"},{"name":"color","type":["String"],"short_doc":[["para","The color of the plot band."]],"doc":[["para","The color of the plot band."]],"orig":"valueAxis.plotBands.color"},{"name":"to","type":["Number"],"short_doc":[["para","The end position of the plot band in axis units."]],"doc":[["para","The end position of the plot band in axis units."]],"orig":"valueAxis.plotBands.to"},{"name":"from","type":["Number"],"short_doc":[["para","The start position of the plot band in axis units."]],"doc":[["para","The start position of the plot band in axis units."]],"orig":"valueAxis.plotBands.from"}],"orig":"valueAxis.plotBands"},{"name":"pane","type":["String"],"short_doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"doc":[["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."]],"orig":"valueAxis.pane"},{"name":"narrowRange","type":["Boolean"],"default":"false","short_doc":[["para","Prevents the automatic axis range from snapping to 0."]],"doc":[["para","Prevents the automatic axis range from snapping to 0."]],"orig":"valueAxis.narrowRange"},{"name":"name","type":["Object"],"default":"\"primary\"","short_doc":[["para","The unique axis name."]],"doc":[["para","The unique axis name."]],"orig":"valueAxis.name"},{"name":"minorUnit","type":["Number"],"short_doc":[["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."]],"doc":[["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."]],"orig":"valueAxis.minorUnit"},{"name":"minorTicks","type":["Object"],"short_doc":[["para","The minor ticks of the axis."]],"doc":[["para","The minor ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor ticks."]],"doc":[["para","The skip of the value axis minor ticks."]],"orig":"valueAxis.minorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor ticks."]],"doc":[["para","The step of the value axis minor ticks."]],"orig":"valueAxis.minorTicks.step"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the minor ticks."]],"doc":[["para","The visibility of the minor ticks."]],"orig":"valueAxis.minorTicks.visible"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the minor ticks in pixels."]],"doc":[["para","The width of the minor ticks in pixels."]],"orig":"valueAxis.minorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"valueAxis.minorTicks.color"},{"name":"size","type":["Number"],"default":"3","short_doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"doc":[["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"orig":"valueAxis.minorTicks.size"}],"orig":"valueAxis.minorTicks"},{"name":"minorGridLines","type":["Object"],"short_doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"]],"doc":[["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis minor grid lines."]],"doc":[["para","The skip of the value axis minor grid lines."]],"orig":"valueAxis.minorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis minor grid lines."]],"doc":[["para","The step of the value axis minor grid lines."]],"orig":"valueAxis.minorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"doc":[["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"false","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"valueAxis.minorGridLines.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the minor grid lines."]],"doc":[["para","The dash type of the minor grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot.\nbody of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect without the minor grid lines visibility being set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"doc":[["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."]],"orig":"valueAxis.minorGridLines.color"}],"orig":"valueAxis.minorGridLines"},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."]],"doc":[["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."]],"orig":"valueAxis.min"},{"name":"max","type":["Number"],"default":"1","short_doc":[["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."]],"doc":[["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."]],"orig":"valueAxis.max"},{"name":"majorUnit","type":["Number"],"short_doc":[["para","The interval between major divisions."]],"doc":[["para","The interval between major divisions."]],"orig":"valueAxis.majorUnit"},{"name":"majorTicks","type":["Object"],"short_doc":[["para","The major ticks of the axis."]],"doc":[["para","The major ticks of the axis."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major ticks."]],"doc":[["para","The skip of the value axis major ticks."]],"orig":"valueAxis.majorTicks.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major ticks."]],"doc":[["para","The step of the value axis major ticks."]],"orig":"valueAxis.majorTicks.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the major ticks in pixels."]],"doc":[["para","The width of the major ticks in pixels."]],"orig":"valueAxis.majorTicks.width"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"doc":[["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."]],"orig":"valueAxis.majorTicks.color"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the major ticks."]],"doc":[["para","The visibility of the major ticks."]],"orig":"valueAxis.majorTicks.visible"},{"name":"size","type":["Number"],"default":"4","short_doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"doc":[["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."]],"orig":"valueAxis.majorTicks.size"}],"orig":"valueAxis.majorTicks"},{"name":"majorGridLines","type":["Object"],"short_doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"doc":[["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."]],"sub":[{"name":"skip","type":["Number"],"default":"0","short_doc":[["para","The skip of the value axis major grid lines."]],"doc":[["para","The skip of the value axis major grid lines."]],"orig":"valueAxis.majorGridLines.skip"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","The step of the value axis major grid lines."]],"doc":[["para","The step of the value axis major grid lines."]],"orig":"valueAxis.majorGridLines.step"},{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the lines."]],"doc":[["para","The width of the lines."]],"orig":"valueAxis.majorGridLines.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the lines."]],"doc":[["para","The visibility of the lines."]],"orig":"valueAxis.majorGridLines.visible"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the lines."]],"doc":[["para","The color of the lines."]],"orig":"valueAxis.majorGridLines.color"}],"orig":"valueAxis.majorGridLines"},{"name":"line","type":["Object"],"short_doc":[["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."]],"doc":[["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."]],"sub":[{"name":"width","type":["Number"],"default":"1","short_doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"valueAxis.line.width"},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the line."]],"doc":[["para","The visibility of the line."]],"orig":"valueAxis.line.visible"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the line."]],"doc":[["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.line.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"doc":[["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."]],"orig":"valueAxis.line.color"}],"orig":"valueAxis.line"},{"name":"labels","type":["Object"],"short_doc":[["para","Configures the axis labels."]],"doc":[["para","Configures the axis labels."]],"sub":[{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","The visibility of the labels."]],"doc":[["para","The visibility of the labels."]],"orig":"valueAxis.labels.visible"},{"name":"template","type":["String","Function"],"short_doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]]],"doc":[["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     valueAxis: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"]],"orig":"valueAxis.labels.template"},{"name":"step","type":["Number"],"default":"1","short_doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"doc":[["para","Label rendering step.\nEvery n-th label is rendered where n is the step"]],"orig":"valueAxis.labels.step"},{"name":"skip","type":["Number"],"default":"1","short_doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"doc":[["para","Number of labels to skip.\nSkips rendering the first n labels."]],"orig":"valueAxis.labels.skip"},{"name":"rotation","type":["Number"],"default":"0","short_doc":[["para","The rotation angle of the labels."]],"doc":[["para","The rotation angle of the labels."]],"orig":"valueAxis.labels.rotation"},{"name":"padding","type":["Number","Object"],"default":"0","short_doc":[["para","The padding of the labels."]],"doc":[["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"]],"orig":"valueAxis.labels.padding"},{"name":"mirror","type":["Boolean"],"short_doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"doc":[["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."]],"orig":"valueAxis.labels.mirror"},{"name":"margin","type":["Number","Object"],"default":"0","short_doc":[["para","The margin of the labels."]],"doc":[["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"]],"orig":"valueAxis.labels.margin"},{"name":"format","type":["String"],"short_doc":[["para","The format of the labels."]],"doc":[["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    },\n    ...\n});"]],"orig":"valueAxis.labels.format"},{"name":"font","type":["String"],"default":"\"12px Arial,Helvetica,sans-serif\"","short_doc":[["para","The font style of the labels."]],"doc":[["para","The font style of the labels."]],"orig":"valueAxis.labels.font"},{"name":"color","type":["String"],"short_doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.labels.color"},{"name":"border","type":["Object"],"short_doc":[["para","The border of the labels."]],"doc":[["para","The border of the labels."]],"sub":[{"name":"width","type":["Number"],"default":"0","short_doc":[["para","The width of the border."]],"doc":[["para","The width of the border."]],"orig":"valueAxis.labels.border.width"},{"name":"dashType","type":["String"],"default":"\"solid\"","short_doc":[["para","The dash type of the border."]],"doc":[["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."]],"orig":"valueAxis.labels.border.dashType"},{"name":"color","type":["String"],"default":"\"black\"","short_doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"doc":[["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."]],"orig":"valueAxis.labels.border.color"}],"orig":"valueAxis.labels.border"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"]],"doc":[["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"]],"orig":"valueAxis.labels.background"}],"orig":"valueAxis.labels"},{"name":"color","type":["String"],"short_doc":[["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."]],"doc":[["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."]],"orig":"valueAxis.color"},{"name":"background","type":["String"],"short_doc":[["para","The background color of the axis."]],"doc":[["para","The background color of the axis."]],"orig":"valueAxis.background"},{"name":"axisCrossingValue","type":["Object","Date","Array"],"short_doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"]],"doc":[["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"]],"orig":"valueAxis.axisCrossingValue"}]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"examples":[]},{"name":"redraw","args":[],"short_doc":[["para","Repaints the chart using the currently loaded data."]],"doc":[["para","Repaints the chart using the currently loaded data."]],"examples":[]},{"name":"refresh","args":[],"short_doc":[["para","Reloads the data and renders the chart."]],"doc":[["para","Reloads the data and renders the chart."]],"examples":[]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the data source of the widget."]],"doc":[["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."]],"examples":[]},{"name":"svg","args":[],"short_doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."]],"doc":[["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the chart."],["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]],"examples":[[["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"]]]},{"name":"imageDataURL","args":[],"short_doc":[["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."]],"doc":[["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"]]]}],"events":[{"name":"axisLabelClick","args":[{"name":"e.axis","type":["Object"],"short_doc":[["para","The axis that the label belongs to."]],"doc":[["para","The axis that the label belongs to."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The label value or category name."]],"doc":[["para","The label value or category name."]]},{"name":"e.text","type":["Object"],"short_doc":[["para","The label text."]],"doc":[["para","The label text."]]},{"name":"e.index","type":["Object"],"short_doc":[["para","The label sequential index or category index."]],"doc":[["para","The label sequential index or category index."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]]],"doc":[["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the label."]],"doc":[["para","The DOM element of the label."]]}],"short_doc":[["para","Fires when an axis label is clicked."]],"doc":[["para","Fires when an axis label is clicked."],["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":5},"e.text ",["inlinecode","Object"]],["para","The label text."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"legendItemClick","args":[{"name":"e.text","type":["String"],"short_doc":[["para","The name of the series."]],"doc":[["para","The name of the series."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series options."]],"doc":[["para","The series options."]]},{"name":"e.seriesIndex","type":["Number"],"short_doc":[["para","The series index."]],"doc":[["para","The series index."]]},{"name":"e.pointIndex","type":["Number"],"short_doc":[["para","The point index."]],"doc":[["para","The point index."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]}],"short_doc":[["para","Fires when an legend item is clicked."]],"doc":[["para","Fires when an legend item is clicked."],["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"]]],"type":["Function"]},{"name":"legendItemHover","args":[{"name":"e.text","type":["String"],"short_doc":[["para","The name of the series."]],"doc":[["para","The name of the series."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series options."]],"doc":[["para","The series options."]]},{"name":"e.seriesIndex","type":["Number"],"short_doc":[["para","The series index."]],"doc":[["para","The series index."]]},{"name":"e.pointIndex","type":["Number"],"short_doc":[["para","The point index."]],"doc":[["para","The point index."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]}],"short_doc":[["para","Fires when an legend item is hovered."]],"doc":[["para","Fires when an legend item is hovered."],["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"]]],"type":["Function"]},{"name":"dataBound","args":[],"short_doc":[["para","Fires when the chart has received data from the data source\nand is about to render it."]],"doc":[["para","Fires when the chart has received data from the data source\nand is about to render it."],["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"]],"examples":[[["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"]]],"type":["Function"]},{"name":"dragStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]}],"short_doc":[["para","Fires when the user has used the mouse or a swipe gesture to drag the chart."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."]],"doc":[["para","Fires when the user has used the mouse or a swipe gesture to drag the chart."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[],"type":["Function"]},{"name":"drag","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]],"doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]]}],"short_doc":[["para","Fires as long as the user is dragging the chart using the mouse or swipe gestures."]],"doc":[["para","Fires as long as the user is dragging the chart using the mouse or swipe gestures."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]]],"type":["Function"]},{"name":"dragEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the drag action."]],"doc":[["para","The original user event that triggered the drag action."]]}],"short_doc":[["para","Fires when the user stops dragging the chart."]],"doc":[["para","Fires when the user stops dragging the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."]],"examples":[],"type":["Function"]},{"name":"noteClick","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series of the note."]],"doc":[["para","The series of the note."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The data item of the point's note."]],"doc":[["para","The data item of the point's note."]]}],"short_doc":[["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."]],"examples":[],"type":["Function"]},{"name":"noteHover","args":[{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category. Available only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.sender","type":["kendo.ui.Chart"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The series of the note."]],"doc":[["para","The series of the note."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The data item of the point's note."]],"doc":[["para","The data item of the point's note."]]}],"short_doc":[["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."]],"examples":[],"type":["Function"]},{"name":"plotAreaClick","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."]],"doc":[["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the plot area."]],"doc":[["para","The DOM element of the plot area."]]},{"name":"e.x","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]},{"name":"e.y","type":["Object"],"short_doc":[["para","The X axis value or array of values for multi-axis charts."]],"doc":[["para","The X axis value or array of values for multi-axis charts."]]}],"short_doc":[["para","Fires when plot area is clicked."]],"doc":[["para","Fires when plot area is clicked."],["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"]]],"type":["Function"]},{"name":"seriesClick","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]}],"short_doc":[["para","Fires when chart series are clicked."]],"doc":[["para","Fires when chart series are clicked."],["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"seriesHover","args":[{"name":"e.value","type":["Object"],"short_doc":[["para","The data point value."]],"doc":[["para","The data point value."]]},{"name":"e.category","type":["Object"],"short_doc":[["para","The data point category"]],"doc":[["para","The data point category"]]},{"name":"e.series","type":["Object"],"short_doc":[["para","The clicked series."]],"doc":[["para","The clicked series."]]},{"name":"e.series.type","type":["String"],"short_doc":[["para","The series type"]],"doc":[["para","The series type"]]},{"name":"e.series.name","type":["String"],"short_doc":[["para","The series name"]],"doc":[["para","The series name"]]},{"name":"e.series.data","type":["Array"],"short_doc":[["para","The series data points"]],"doc":[["para","The series data points"]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The original data item (when binding to dataSource)."]],"doc":[["para","The original data item (when binding to dataSource)."]]},{"name":"e.element","type":["Object"],"short_doc":[["para","The DOM element of the data point."]],"doc":[["para","The DOM element of the data point."]]}],"short_doc":[["para","Fires when chart series are hovered."]],"doc":[["para","Fires when chart series are hovered."],["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."]],"examples":[[["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"]]],"type":["Function"]},{"name":"zoomStart","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the zoom action."]],"doc":[["para","The original user event that triggered the zoom action."]]}],"short_doc":[["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."]],"doc":[["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."]],"examples":[],"type":["Function"]},{"name":"zoom","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]],"doc":[["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."]]}],"short_doc":[["para","Fires as long as the user is zooming the chart using the mousewheel."]],"doc":[["para","Fires as long as the user is zooming the chart using the mousewheel."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."],["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."]],[["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"]]],"type":["Function"]},{"name":"zoomEnd","args":[{"name":"e.axisRanges","type":["Object"],"short_doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]],"doc":[["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."]]},{"name":"e.originalEvent","type":["Object"],"short_doc":[["para","The original user event that triggered the zoom action."]],"doc":[["para","The original user event that triggered the zoom action."]]}],"short_doc":[["para","Fires when the user stops zooming the chart."]],"doc":[["para","Fires when the user stops zooming the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."]],"examples":[],"type":["Function"]},{"name":"selectStart","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fires when the user starts modifying the axis selection."],["para","The range units are:"]],"doc":[["para","Fires when the user starts modifying the axis selection."],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"examples":[],"type":["Function"]},{"name":"select","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fires when the user modifies the selection."],["para","The range units are:"]],"doc":[["para","Fires when the user modifies the selection."],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"examples":[],"type":["Function"]},{"name":"selectEnd","args":[{"name":"e.from","type":["Object"],"short_doc":[["para","The lower boundary of the selected range."]],"doc":[["para","The lower boundary of the selected range."]]},{"name":"e.to","type":["Object"],"short_doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"doc":[["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]]}],"short_doc":[["para","Fires when the user completes modifying the selection."]],"doc":[["para","Fires when the user completes modifying the selection."],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"dateField ",["inlinecode","String"],["em","(default: \"date\")"]],["para","The field containing the point date.\nIt is used as a default ",["inlinecode","categoryField"]," for all series."],["para","The data item field value must be either:"],["header",{"level":4},"* Date instance"],["header",{"level":4},"* String parsable by ",["inlinecode","new Date([field value])"]],["header",{"level":4},"* String in ASP.NET JSON format, i.e. \"\\/Date(1320825600000-0800)\\/\""],["header",{"level":3},"navigator ",["inlinecode","Object"]],["para","The data navigator configuration options."],["header",{"level":3},"navigator.categoryAxis ",["inlinecode","Array|Object"]],["para","The category axis configuration options."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps ",["inlinecode","Object"]],["para","The discrete ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-navigator-categoryAxis.baseUnit"},"navigator.categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-navigator-categoryAxis.baseUnitStep"},"navigator.categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.seconds ",["inlinecode","Array"]," ",["em","(default: [1, 2, 5, 15, 30])"]],["para","The seconds unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.minutes ",["inlinecode","Array"]," ",["em","(default: [1, 2, 5, 15, 30])"]],["para","The minutes unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.hours ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The hours unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.days ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The days unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.weeks ",["inlinecode","Array"]," ",["em","(default: [1, 2])"]],["para","The weeks unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.months ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 6])"]],["para","The months unit steps."],["header",{"level":3},"navigator.categoryAxis.autoBaseUnitSteps.years ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 5, 10, 25, 50])"]],["para","The years unit steps."],["header",{"level":3},"navigator.categoryAxis.axisCrossingValue ",["inlinecode","Object|Date|Array"]],["para","Category index at which the first value axis crosses this axis (when set as an object)."],["para","Category indices at which the value axes cross the category axis (when set as an array)."],["blockquote",["para","set an index greater than or equal to the number of categories to denote the far end of the axis."]],["header",{"level":3},"navigator.categoryAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":3},"navigator.categoryAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"fit\""],["listitem","\"seconds\""],["listitem","\"minutes\""],["listitem","\"hours\""],["listitem","\"days\""],["listitem","\"weeks\""],["listitem","\"months\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."],["header",{"level":3},"navigator.categoryAxis.baseUnitStep ",["inlinecode","Object"]," ",["em","(default: 1)"]],["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."],["header",{"level":3},"navigator.categoryAxis.categories ",["inlinecode","Array"]],["para","The category names. The chart will create a category for every item of the array."],["header",{"level":3},"navigator.categoryAxis.color ",["inlinecode","String"]],["para","The color to apply to all axis elements. Accepts a valid CSS color string, including hex and rgb. Can be overridden by ",["link",{"href":"#configuration-categoryAxis.labels.color"},"categoryAxis.labels.color"]," and\n",["link",{"href":"#configuration-categoryAxis.line.color"},"categoryAxis.line.color"],"."],["header",{"level":3},"navigator.categoryAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["blockquote",["para","The crosshair is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.visible"},"categoryAxis.crosshair.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":3},"navigator.categoryAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.crosshair.dashType ",["inlinecode","string"]," ",["em","(default: \"solid\")"]],["para","The dash type of the crosshair."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.crosshair.opacity ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The opacity of the crosshair. By default the crosshair is opaque."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip options."],["blockquote",["para","The crosshair tooltip is displayed when the ",["link",{"href":"#configuration-categoryAxis.crosshair.tooltip.visible"},"categoryAxis.crosshair.tooltip.visible"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border options."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the tooltip. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the crosshair tooltip. A numeric value will set all paddings."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the crosshair tooltip."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the crosshair tooltip."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the crosshair tooltip."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the crosshair tooltip."],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the tooltip."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":3},"navigator.categoryAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair tooltip. By default the category axis crosshair tooltip is not visible."],["header",{"level":3},"navigator.categoryAxis.crosshair.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis crosshair. By default the category axis crosshair is not visible."],["header",{"level":3},"navigator.categoryAxis.crosshair.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the crosshair in pixels."],["header",{"level":3},"navigator.categoryAxis.field ",["inlinecode","String"]],["para","The data item field which contains the category name. Requires the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option to be set."],["header",{"level":3},"navigator.categoryAxis.justified ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the chart will position categories and series points on major ticks. This removes the empty space before and after the series."],["para","The default value is ",["inlinecode","false"]," except for \"area\" and \"verticalArea\"."],["blockquote",["para","This option is ignored if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."]],["header",{"level":3},"navigator.categoryAxis.labels ",["inlinecode","Object"]],["para","The axis labels configuration."],["header",{"level":3},"navigator.categoryAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.labels.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.labels.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.categoryAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.labels.culture ",["inlinecode","String"]],["para","The culture to use when formatting date values. See the ",["link",{"href":"/getting-started/framework/globalization/overview"},"globalization overview"]," for more information."],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats ",["inlinecode","Object"]],["para","The format used to display the labels when the categories are dates. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["blockquote",["para","The chart will choose the appropriate format for the current ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"],". Setting the ",["link",{"href":"#configuration-categoryAxis.labels.format"},"categoryAxis.labels.format"]," option will override the date formats."]],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats.days ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"days\"."],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats.hours ",["inlinecode","String"]," ",["em","(default: \"HH:mm\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"hours\"."],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats.months ",["inlinecode","String"]," ",["em","(default: \"MMM 'yy\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"months\"."],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats.weeks ",["inlinecode","String"]," ",["em","(default: \"M/d\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["header",{"level":3},"navigator.categoryAxis.labels.dateFormats.years ",["inlinecode","String"]," ",["em","(default: \"yyyy\")"]],["para","The format used when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"years\"."],["header",{"level":3},"navigator.categoryAxis.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the labels. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":3},"navigator.categoryAxis.labels.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the labels. A numeric value will set all margins."],["header",{"level":3},"navigator.categoryAxis.labels.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.mirror ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will mirror the axis labels and ticks. If the labels are normally on the left side of the axis, mirroring the axis will render them to the right."],["header",{"level":3},"navigator.categoryAxis.labels.padding ",["inlinecode","Object|Number"]," ",["em","(default: 0)"]],["para","The padding of the labels. A numeric value will set all paddings."],["header",{"level":3},"navigator.categoryAxis.labels.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the labels."],["header",{"level":3},"navigator.categoryAxis.labels.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the labels. By default the labels are not rotated."],["header",{"level":3},"navigator.categoryAxis.labels.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The number of labels to skip. By default no labels are skipped."],["header",{"level":3},"navigator.categoryAxis.labels.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The label rendering step - render every n-th label. By default every label is rendered."],["header",{"level":3},"navigator.categoryAxis.labels.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":3},"navigator.categoryAxis.labels.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis labels. By default the category axis labels are visible."],["header",{"level":3},"navigator.categoryAxis.line ",["inlinecode","Object"]],["para","The configuration of the axis lines. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":3},"navigator.categoryAxis.line.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the lines. Accepts a valid CSS color string, including hex and rgb."],["blockquote",["para","Setting the ",["inlinecode","color"]," option affects the major and minor ticks, but not the grid lines."]],["header",{"level":3},"navigator.categoryAxis.line.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the line."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.line.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis lines. By default the category axis lines are visible."],["header",{"level":3},"navigator.categoryAxis.line.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the line in pixels. Also affects the major and minor ticks, but not the grid lines."],["header",{"level":3},"navigator.categoryAxis.majorGridLines ",["inlinecode","Object"]],["para","The configuration of the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":3},"navigator.categoryAxis.majorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the major grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.majorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the major grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.majorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the major grid lines. By default the major grid lines are visible."],["header",{"level":3},"navigator.categoryAxis.majorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis major grid lines in pixels."],["header",{"level":3},"navigator.categoryAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major grid lines."],["header",{"level":3},"navigator.categoryAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major grid lines."],["header",{"level":3},"navigator.categoryAxis.majorTicks ",["inlinecode","Object"]],["para","The configuration of the category axis major ticks."],["header",{"level":3},"navigator.categoryAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.majorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":3},"navigator.categoryAxis.majorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis major ticks. By default the category axis major ticks are visible."],["header",{"level":3},"navigator.categoryAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":3},"navigator.categoryAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major ticks."],["header",{"level":3},"navigator.categoryAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major ticks."],["header",{"level":3},"navigator.categoryAxis.max ",["inlinecode","Object"]],["para","The last date displayed on the category date axis. By default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."],["header",{"level":3},"navigator.categoryAxis.maxDateGroups ",["inlinecode","Number"]," ",["em","(default: 10)"]],["para","The maximum number of groups (categories) to display when\n",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":3},"navigator.categoryAxis.min ",["inlinecode","Object"]],["para","The first date displayed on the category date axis. By default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["link",{"href":"#configuration-categoryAxis.min"},"categoryAxis.min"]," and ",["link",{"href":"#configuration-categoryAxis.roundToBaseUnit"},"categoryAxis.roundToBaseUnit"]," options to\nset up a fixed date range."],["header",{"level":3},"navigator.categoryAxis.minorGridLines ",["inlinecode","Object"]],["para","The configuration of the minor grid lines. These are the lines that are an extension of the minor ticks through the\nbody of the chart."],["header",{"level":3},"navigator.categoryAxis.minorGridLines.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the minor grid lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.minorGridLines.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.minorGridLines.visible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the chart will display the minor grid lines. By default the minor grid lines are visible."],["header",{"level":3},"navigator.categoryAxis.minorGridLines.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the category axis minor grid lines in pixels."],["header",{"level":3},"navigator.categoryAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor grid lines."],["header",{"level":3},"navigator.categoryAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor grid lines."],["header",{"level":3},"navigator.categoryAxis.minorTicks ",["inlinecode","Object"]],["para","The configuration of the category axis minor ticks."],["header",{"level":3},"navigator.categoryAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.minorTicks.size ",["inlinecode","Number"]," ",["em","(default: 4)"]],["para","The length of the tick line in pixels."],["header",{"level":3},"navigator.categoryAxis.minorTicks.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis minor ticks. By default the category axis minor ticks are visible."],["header",{"level":3},"navigator.categoryAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":3},"navigator.categoryAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor ticks."],["header",{"level":3},"navigator.categoryAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor ticks."],["header",{"level":3},"navigator.categoryAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the category axis."],["header",{"level":3},"navigator.categoryAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":3},"navigator.categoryAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":3},"navigator.categoryAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":3},"navigator.categoryAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":3},"navigator.categoryAxis.reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the category axis direction will be reversed. By default categories are listed from left to right and from bottom to top."],["header",{"level":3},"navigator.categoryAxis.roundToBaseUnit ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will round the first and last date to the nearest base unit."],["para","The ",["inlinecode","roundToBaseUnit"]," option will be ignored if ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"bar\", \"column\", \"ohlc\" or \"candlestick\"."],["header",{"level":3},"navigator.categoryAxis.title ",["inlinecode","Object"]],["para","The title configuration of the category axis."],["blockquote",["para","The ",["link",{"href":"#configuration-categoryAxis.title.text"},"categoryAxis.title.text"]," option must be set in order to display the title."]],["header",{"level":3},"navigator.categoryAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"navigator.categoryAxis.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.categoryAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"navigator.categoryAxis.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":3},"navigator.categoryAxis.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":3},"navigator.categoryAxis.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":3},"navigator.categoryAxis.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":3},"navigator.categoryAxis.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":3},"navigator.categoryAxis.title.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the title. A numeric value will set all paddings."],["header",{"level":3},"navigator.categoryAxis.title.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the title."],["header",{"level":3},"navigator.categoryAxis.title.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the title."],["header",{"level":3},"navigator.categoryAxis.title.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the title."],["header",{"level":3},"navigator.categoryAxis.title.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the title."],["header",{"level":3},"navigator.categoryAxis.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"top\" - the axis title is positioned on the top (applicable to vertical axis)"],["listitem","\"bottom\" - the axis title is positioned on the bottom (applicable to vertical axis)"],["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":3},"navigator.categoryAxis.title.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the title. By default the title is not rotated."],["header",{"level":3},"navigator.categoryAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"navigator.categoryAxis.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis title. By default the category axis title is visible."],["header",{"level":3},"navigator.categoryAxis.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category axis. By default the category axis is visible."],["header",{"level":3},"navigator.categoryAxis.weekStartDay ",["inlinecode","Number"]," ",["em","(default: kendo.days.Sunday)"]],["para","The week start day when ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"weeks\"."],["para","The supported values are:"],["bulletlist",["listitem","kendo.days.Sunday - equal to 0"],["listitem","kendo.days.Monday - equal to 1"],["listitem","kendo.days.Tuesday - equal to 2"],["listitem","kendo.days.Wednesday - equal to 3"],["listitem","kendo.days.Thursday - equal to 4"],["listitem","kendo.days.Friday - equal to 5"],["listitem","kendo.days.Saturday - equal to 6"]],["header",{"level":3},"navigator.categoryAxis.notes ",["inlinecode","Object"]],["para","The category axis notes configuration."],["header",{"level":3},"navigator.categoryAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"navigator.categoryAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":3},"navigator.categoryAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":3},"navigator.categoryAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":3},"navigator.categoryAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":3},"navigator.categoryAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.categoryAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":3},"navigator.categoryAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":3},"navigator.categoryAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":3},"navigator.categoryAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":3},"navigator.categoryAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":3},"navigator.categoryAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"navigator.categoryAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":3},"navigator.categoryAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"navigator.categoryAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"navigator.categoryAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":3},"navigator.categoryAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":3},"navigator.categoryAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.categoryAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":3},"navigator.categoryAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":3},"navigator.categoryAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"navigator.categoryAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":3},"navigator.categoryAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":3},"navigator.dataSource ",["inlinecode","Object"]],["para","Navigator DataSource configuration or instance."],["para","When the navigator is bound via its own data source,\nit will automatically set \"from\" and \"to\" filters on the main data source."],["para","This, in conjunction with server filtering, allows you to visualize large data sets\nwithout loading them at once."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        transport: {\n             read: \"/stock/detail\"\n        },\n        serverFiltering: true\n    },\n    navigator: {\n        dataSource: {\n            transport: {\n                read: \"/stock/volume\"\n            }\n        }\n    }\n});"],["header",{"level":3},"navigator.autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether the navigator will call read on the data source initially.\nApplicable only when using a dedicated navigator data source."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    navigator: {\n        dataSource: naviDataSource,\n        autoBind: false\n    }\n});\n\n// ...\nnaviDataSource.read();"],["header",{"level":3},"navigator.dateField ",["inlinecode","String"]],["para","The field containing the point date.\nIt is used as a default ",["inlinecode","field"]," for the navigator axis."],["para","The data item field value must be either:"],["header",{"level":4},"* Date instance"],["header",{"level":4},"* String parsable by ",["inlinecode","new Date([field value])"]],["header",{"level":4},"* String in ASP.NET JSON format, i.e. \"\\/Date(1320825600000-0800)\\/\""],["header",{"level":3},"navigator.pane ",["inlinecode","Object"]],["para","The navigator pane configuration."],["header",{"level":3},"navigator.pane.background ",["inlinecode","String"]],["para","The background color of the pane. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.pane.border ",["inlinecode","Object"]],["para","The border of the navigator pane."],["header",{"level":3},"navigator.pane.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.pane.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.pane.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.pane.height ",["inlinecode","Number"]],["para","The navigator pane height in pixels."],["header",{"level":3},"navigator.pane.margin ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The margin of the pane. A numeric value will set all margins."],["header",{"level":3},"navigator.pane.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the navigator pane."],["header",{"level":3},"navigator.pane.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the navigator pane."],["header",{"level":3},"navigator.pane.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the navigator pane."],["header",{"level":3},"navigator.pane.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the navigator pane."],["header",{"level":3},"navigator.pane.name ",["inlinecode","String"]],["para","The unique name of the navigator pane."],["header",{"level":3},"navigator.pane.padding ",["inlinecode","Number|Object"]," ",["em","(default: 0)"]],["para","The padding of the pane. A numeric value will set all paddings."],["header",{"level":3},"navigator.pane.padding.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom padding of the navigator pane."],["header",{"level":3},"navigator.pane.padding.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left padding of the navigator pane."],["header",{"level":3},"navigator.pane.padding.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right padding of the navigator pane."],["header",{"level":3},"navigator.pane.padding.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top padding of the navigator pane."],["header",{"level":3},"navigator.pane.title ",["inlinecode","String|Object"]],["para","The title configuration of the navigator pane."],["blockquote",["para","The ",["link",{"href":"#configuration-panes.title.text"},"panes.title.text"]," option must be set in order to display the title."]],["header",{"level":3},"navigator.pane.title.background ",["inlinecode","String"]],["para","The background color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.pane.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"navigator.pane.title.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.pane.title.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":3},"navigator.pane.title.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":3},"navigator.pane.title.color ",["inlinecode","String"]],["para","The text color of the title. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"navigator.pane.title.font ",["inlinecode","String"]," ",["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"navigator.pane.title.margin ",["inlinecode","Number|Object"]," ",["em","(default: 5)"]],["para","The margin of the title. A numeric value will set all margins."],["header",{"level":3},"navigator.pane.title.margin.bottom ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The bottom margin of the title."],["header",{"level":3},"navigator.pane.title.margin.left ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The left margin of the title."],["header",{"level":3},"navigator.pane.title.margin.right ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The right margin of the title."],["header",{"level":3},"navigator.pane.title.margin.top ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The top margin of the title."],["header",{"level":3},"navigator.pane.title.position ",["inlinecode","String"]," ",["em","(default: \"center\")"]],["para","The position of the title."],["para","The supported values are:"],["bulletlist",["listitem","\"left\" - the axis title is positioned on the left (applicable to horizontal axis)"],["listitem","\"right\" - the axis title is positioned on the right (applicable to horizontal axis)"],["listitem","\"center\" - the axis title is positioned in the center"]],["header",{"level":3},"navigator.pane.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"navigator.pane.title.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the pane title. By default the pane title is visible."],["header",{"level":3},"navigator.series ",["inlinecode","Array"]],["para","Array of series definitions."],["para","Accepts the same options as the root ",["inlinecode","series"]," collection."],["para","Omitting the array and specifying a single series is also acceptable."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        series: {\n            type: \"line\",\n            field: \"volume\"\n        }\n     },\n     ...\n});\n</p>"],["header",{"level":3},"navigator.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the navigator."],["header",{"level":3},"navigator.series.type ",["inlinecode","String"]],["para","The type of the series. Available types:"],["bulletlist",["listitem","candlestick, ohlc"],["listitem","column"],["listitem","bullet"],["listitem","area"],["listitem","line"]],["header",{"level":3},"navigator.series.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of line chart."],["blockquote",["para","The ",["inlinecode","dashType"]," option is taken into consideration only if the ",["link",{"href":"#configuration-series.type"},"series.type"]," option is set to \"line\"."]],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the chart legend border dash type"],["para","  <div id=\"stock-chart\"></div>\n  <script>\n  $(\"#stock-chart\").kendoStockChart({\n    series: [\n      {\n        dashType: \"dashDot\",\n        type: \"line\",\n        data: ",["link_ref",{"ref":"1, 2, 3","original":"[1, 2, 3]"},"1, 2, 3"],"\n      }\n    ],\n    categoryAxis: {\n      baseUnit: \"days\",\n      categories: [\n        new Date(2012, 1, 1),\n        new Date(2012, 1, 2),\n        new Date(2012, 1, 3)\n      ]\n    }\n  });\n  </script>"],["header",{"level":3},"navigator.series.data ",["inlinecode","Array"]],["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]],["header",{"level":4},"Example - set the chart series data as array of objects"],["para","  <div id=\"stock-chart\"></div>\n  <script>\n  $(\"#stock-chart\").kendoStockChart({\n    series: [\n      {\n        type: \"candlestick\",\n        data: [{\n          open: 2,\n          high: 4,\n          low: 1,\n          close: 3\n        }]\n      }\n    ],\n    categoryAxis: {\n      categories: [\n        new Date(2012, 1, 1)\n      ]\n    }\n  });\n  </script>"],["header",{"level":4},"Example - set the chart series data as array of arrays"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\nseries: [\n  {\n    type: \"candlestick\",\n    data: [2, 4, 1, 3]\n  }\n],\ncategoryAxis: {\n  categories: [\n    new Date(2012, 1, 1)\n  ]\n}\n});\n</script>"],["header",{"level":3},"navigator.series.highField ",["inlinecode","String"]],["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]],["header",{"level":3},"navigator.series.field ",["inlinecode","String"]],["para","The data field containing the series value."],["header",{"level":3},"navigator.series.categoryField ",["inlinecode","String"]," ",["em","(default: \"category\")"]],["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"],["header",{"level":3},"navigator.series.name ",["inlinecode","String"]],["para","The navigator series name."],["header",{"level":4},"Example - set the navigator series name"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ]\n  },\n  dateField: \"date\",\n  navigator: {\n      series: [\n        {\n          field: \"value\",\n          name: \"Value\",\n          visibleInLegend: true\n        }\n      ]\n  },\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ],\n    group: { field: \"category\" }\n  },\n  dateField: \"date\",\n  navigator: {\n      series: [\n        {\n          field: \"value\",\n          name: \"Value: #: group.value #\",\n          visibleInLegend: true\n        }\n      ]\n  },\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["header",{"level":3},"navigator.series.highlight ",["inlinecode","Object"]],["para","Configures the appearance of highlighted points."],["para",["strong"," Applicable to candlestick and ohlc series. "]],["header",{"level":3},"navigator.series.highlight.border ",["inlinecode","Object"]],["para","The border of highlighted points. The color is computed automatically from the base point color."],["header",{"level":3},"navigator.series.highlight.border.width ",["inlinecode","Number"]],["para","The width of the border."],["header",{"level":3},"navigator.series.highlight.border.color ",["inlinecode","String"]],["para","The border color."],["header",{"level":3},"navigator.series.highlight.border.opacity ",["inlinecode","Number"]],["para","The border opacity."],["header",{"level":3},"navigator.series.highlight.color ",["inlinecode","String"]],["para","The highlight color."],["para",["strong"," Available only for pie series "]],["header",{"level":3},"navigator.series.highlight.line ",["inlinecode","Object"]],["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]],["header",{"level":3},"navigator.series.highlight.line.width ",["inlinecode","Number"]],["para","The width of the line."],["header",{"level":3},"navigator.series.highlight.line.color ",["inlinecode","String"]],["para","The line color."],["header",{"level":3},"navigator.series.highlight.line.opacity ",["inlinecode","Number"]],["para","The opacity of the line."],["header",{"level":3},"navigator.series.highlight.opacity ",["inlinecode","Number"]],["para","The opacity of the highlighted points."],["header",{"level":3},"navigator.series.highlight.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if the series points should be highlighted."],["header",{"level":3},"navigator.series.aggregate ",["inlinecode","String"],["em","(default: \"max\")"]],["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example"],["code_block","aggregate: {\n    open: \"max\",\n    high: \"max\",\n    close: \"min\",\n    low: \"max\"\n}"],["header",{"level":3},"navigator.series.axis ",["inlinecode","String"],["em","(default: \"primary\")"]],["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]],["header",{"level":3},"navigator.series.border ",["inlinecode","Object"]],["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]],["header",{"level":3},"navigator.series.border.color ",["inlinecode","String"]],["para","The color of the border.  It defaults to the color of the current series."],["header",{"level":3},"navigator.series.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"navigator.series.border.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the border."],["header",{"level":3},"navigator.series.closeField ",["inlinecode","String"]],["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]],["header",{"level":3},"navigator.series.color ",["inlinecode","String"]],["para","The series base color."],["header",{"level":3},"navigator.series.colorField ",["inlinecode","String"]],["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]],["header",{"level":3},"navigator.series.downColor ",["inlinecode","String"]],["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]],["header",{"level":3},"navigator.series.downColorField ",["inlinecode","String"]],["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]],["header",{"level":3},"navigator.series.gap ",["inlinecode","Number"],["em","(default: 1.5)"]],["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]],["header",{"level":3},"navigator.series.labels ",["inlinecode","Object"]],["para","Configures the series data labels."],["header",{"level":3},"navigator.series.labels.background ",["inlinecode","String"]],["para","The background color of the labels."],["header",{"level":3},"navigator.series.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"navigator.series.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"navigator.series.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"navigator.series.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"navigator.series.labels.color ",["inlinecode","String"]],["para","The text color of the labels."],["header",{"level":3},"navigator.series.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"navigator.series.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""],["header",{"level":3},"navigator.series.labels.margin ",["inlinecode","Number|Object"],["em","(default: { left: 5, right: 5})"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"],["header",{"level":3},"navigator.series.labels.padding ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"navigator.series.labels.position ",["inlinecode","String"],["em","(default: \"above\")"]],["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for column series only.  Not applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"navigator.series.labels.template ",["inlinecode","String | Function"]],["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             labels: {\n                 // label template\n                 template: \"#= value #%\",\n                 visible: true\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"navigator.series.labels.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the labels."],["header",{"level":3},"navigator.series.line ",["inlinecode","String | Object"]],["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]],["header",{"level":3},"navigator.series.line.color ",["inlinecode","String"]],["para","The line color."],["header",{"level":3},"navigator.series.line.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para","The line opacity."],["header",{"level":3},"navigator.series.line.width ",["inlinecode","String"],["em","(default: 4)"]],["para","The line width."],["header",{"level":3},"navigator.series.lowField ",["inlinecode","String"]],["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]],["header",{"level":3},"navigator.series.markers ",["inlinecode","Object"]],["para","Marker options."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"navigator.series.markers.background ",["inlinecode","String"]],["para","The background color of the current series markers."],["header",{"level":3},"navigator.series.markers.border ",["inlinecode","Object"]],["para","The border of the markers."],["header",{"level":3},"navigator.series.markers.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"navigator.series.markers.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"navigator.series.markers.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    navigator: {\n      series: [{\n        type: \"line\",\n        field: \"value\",\n        categoryField: \"date\",\n        markers: {\n          type: \"square\",\n          rotation: 45\n        },\n        data: [\n          { value: 1, date: new Date(2012, 1, 1) },\n          { value: 2, date: new Date(2012, 1, 2) }\n        ]\n      }]\n    }\n});\n</script>"],["header",{"level":3},"navigator.series.markers.size ",["inlinecode","Number"],["em","(default: 6)"]],["para"," The marker size."],["header",{"level":3},"navigator.series.markers.type ",["inlinecode","String"],["em","(default: \"circle\")"]],["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."],["header",{"level":4},["em","\"cross\""]],["para","The marker shape is cross."],["header",{"level":3},"navigator.series.markers.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The markers visibility."],["header",{"level":3},"navigator.series.missingValues ",["inlinecode","String"]],["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]],["header",{"level":3},"navigator.series.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\", \"line\"."]],["header",{"level":3},"navigator.series.opacity ",["inlinecode","Number"]],["para","The series opacity."],["header",{"level":3},"navigator.series.openField ",["inlinecode","String"]],["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]],["header",{"level":3},"navigator.series.overlay ",["inlinecode","Object"]],["para","The effects overlay."],["header",{"level":3},"navigator.series.overlay.gradient ",["inlinecode","String"]],["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]],["header",{"level":3},"navigator.series.spacing ",["inlinecode","Number"],["em","(default: 0.4)"]],["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."],["header",{"level":3},"navigator.series.stack ",["inlinecode","Boolean|Boolean"],["em","(default: false)"]],["para","A value indicating if the series should be stacked.  String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."],["header",{"level":3},"navigator.series.tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"navigator.series.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"navigator.series.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"navigator.series.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"navigator.series.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"navigator.series.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"navigator.series.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"navigator.series.tooltip.format ",["inlinecode","String"]],["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""],["header",{"level":3},"navigator.series.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"navigator.series.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             tooltip: {\n                 visible: true,\n                 template: \"#= category # - #= value #\"\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"navigator.series.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"navigator.series.width ",["inlinecode","Number"]],["para","The line width."],["para",["strong"," Applicable for line series. "]],["header",{"level":3},"navigator.select ",["inlinecode","Object"]],["para","Specifies the initially selected range."],["para","The full range of values is shown if no range is specified."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        series: {\n            type: \"line\",\n            field: \"volume\"\n        },\n        select: {\n            from: \"2012/01/01\",\n            to: \"2012/03/01\"\n        }\n     },\n     ...\n})\n</p>"],["header",{"level":3},"navigator.select.from ",["inlinecode","Date"],"|",["inlinecode","String"]],["para","The lower boundary of the selected range."],["header",{"level":3},"navigator.select.to ",["inlinecode","Date"],"|",["inlinecode","String"]],["para","The upper boundary of the selected range."],["header",{"level":3},"navigator.hint ",["inlinecode","Object"]],["para","Default options for the navigator hint."],["header",{"level":3},"navigator.hint.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the hint."],["header",{"level":3},"navigator.hint.template ",["inlinecode","String | Function"]],["para","The hint template.\nTemplate variables:"],["bulletlist",["listitem",["strong","from"]," - The lower boundary of the selected range"],["listitem",["strong","to"]," - Theupper boundary of the selected range"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#stock-chart\").kendoStockChart({\n     navigator: {\n        hint: {\n            // hint template\n            template: \"From: #= from # To: #= to #\"\n        }\n     },\n     ...\n});"],["header",{"level":3},"navigator.hint.format ",["inlinecode","String"]],["para","The format of the hint."],["header",{"level":4},"Example"],["code_block","//sets format of the hint\nformat: \"From: {0:d} To: {1:d}\""],["header",{"level":3},"axisDefaults ",["inlinecode","Object"]],["para","Default options for all chart axes."],["header",{"level":3},"categoryAxis ",["inlinecode","Array"]],["para","The category axis configuration options."],["header",{"level":3},"categoryAxis.axisCrossingValue ",["inlinecode","Object | Date | Array"]],["para","Category index at which the first value axis crosses this axis. (Only for object)"],["para","Category indicies at which the value axes cross the category axis. (Only for array)"],["para",["strong","Note:"]," Specify an index greater than or equal to the number\nof categories to denote the far end of the axis."],["header",{"level":4},"Example"],["code_block","<p>\n$(\"#chart\").kendoChart({\n     categoryAxis: {\n         categories: [\"A\", \"B\"],\n         axisCrossingValue: [0, 100]\n     },\n     valueAxis: [{ }, { name: \"secondary\" }]\n     ...\n})\n</p>"],["header",{"level":3},"categoryAxis.categories ",["inlinecode","Array"]],["para","Array of category names."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [ 2005, 2006, 2007, 2008, 2009 ]\n    },\n    ...\n});"],["header",{"level":3},"categoryAxis.color ",["inlinecode","String"]],["para","Color to apply to all axis elements. Any valid CSS color string will work here, including hex and rgb.\nIndividual color settings for line and labels take priority."],["header",{"level":3},"categoryAxis.field ",["inlinecode","String"]],["para","The data field containing the category name."],["header",{"level":4},"Example"],["code_block","// assuming the following data...\nvar data = [ { sales: 200, year: 2005 }, { sales: 300, year: 2006 }, { sales: 400, year: 2007 }];\n// specify the \"year\" as the field for the category axis\n$(\"#chart\").kendoChart({\n    dataSource: {\n        data: data\n    },\n    categoryAxis: {\n        field: \"year\"\n    },\n    ...\n});"],["header",{"level":3},"categoryAxis.justified ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Positions categories and series points on major ticks. This removes the empty space before and after the series."],["para","This option is ignored if either column, ohlc or candlestick series are plotted on the axis."],["header",{"level":3},"categoryAxis.labels ",["inlinecode","Object"]],["para","Configures the axis labels."],["header",{"level":3},"categoryAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"categoryAxis.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"categoryAxis.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":3},"categoryAxis.labels.margin ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.labels.mirror ",["inlinecode","Boolean"]],["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."],["header",{"level":3},"categoryAxis.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.labels.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the labels."],["header",{"level":3},"categoryAxis.labels.skip ",["inlinecode","Number"],["em","(default: 1)"]],["para","Number of labels to skip.\nSkips rendering the first n labels."],["header",{"level":3},"categoryAxis.labels.step ",["inlinecode","Number"],["em","(default: 1)"]],["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":3},"categoryAxis.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003],\n         labels: {\n             // labels template\n             template: \"Year: #= value #\"\n         }\n     }\n});"],["header",{"level":3},"categoryAxis.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the labels."],["header",{"level":3},"categoryAxis.line ",["inlinecode","Object"]],["para","Configures the axis line. This will also effect major and minor ticks, but not gridlines."],["header",{"level":3},"categoryAxis.line.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["para",["strong","Note:"]," This will also effect the major and minor ticks, but not the grid lines."],["header",{"level":3},"categoryAxis.line.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.line.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.line.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"categoryAxis.majorGridLines ",["inlinecode","Object"]],["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":3},"categoryAxis.majorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.majorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.majorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.majorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["header",{"level":3},"categoryAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major grid lines."],["header",{"level":3},"categoryAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major grid lines."],["header",{"level":3},"categoryAxis.majorTicks ",["inlinecode","Object"]],["para","The major ticks of the axis."],["header",{"level":3},"categoryAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"categoryAxis.majorTicks.size ",["inlinecode","Number"],["em","(default: 4)"]],["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."],["header",{"level":3},"categoryAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":3},"categoryAxis.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the major ticks."],["header",{"level":3},"categoryAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis major ticks."],["header",{"level":3},"categoryAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis major ticks."],["header",{"level":3},"categoryAxis.minorGridLines ",["inlinecode","Object"]],["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through\nthe body of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect with the minor grid lines visibility being set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines. Any valid CSS color string will work here, including hex and\nrgb."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.minorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"categoryAxis.minorGridLines.width ",["inlinecode","Number"]],["para","The width of the lines."],["para","Note that this setting has no effect if the visibility of the minor\ngrid lines is not set to ",["strong","true"],"."],["header",{"level":3},"categoryAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor grid lines."],["header",{"level":3},"categoryAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor grid lines."],["header",{"level":3},"categoryAxis.minorTicks ",["inlinecode","Object"]],["para","The minor ticks of the axis."],["header",{"level":3},"categoryAxis.minorTicks.size ",["inlinecode","Number"],["em","(default: 3)"]],["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick\non the chart."],["header",{"level":3},"categoryAxis.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the minor ticks."],["header",{"level":3},"categoryAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the category axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"categoryAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":3},"categoryAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the category axis minor ticks."],["header",{"level":3},"categoryAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the category axis minor ticks."],["header",{"level":3},"categoryAxis.name ",["inlinecode","String"],["em","(default: \"primary\")"]],["para","The unique axis name."],["header",{"level":3},"categoryAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":3},"categoryAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the category axis."],["header",{"level":3},"categoryAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":3},"categoryAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":3},"categoryAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":3},"categoryAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":3},"categoryAxis.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the axis direction -\ncategories are listed from right to left and from top to bottom."],["header",{"level":3},"categoryAxis.select ",["inlinecode","Object"]],["para","The selected axis range. If configured, axis selection will be enabled."],["para",["strong"," Available only for vertical axes "]],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance or date string (yyyy/MM/dd HH:mm:ss)"],["header",{"level":3},"categoryAxis.select.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":3},"categoryAxis.select.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."],["header",{"level":3},"categoryAxis.select.min ",["inlinecode","Object"]],["para","The minimum value that is selectable by the user."],["header",{"level":3},"categoryAxis.select.max ",["inlinecode","Object"]],["para","The maximum value that is selectable by the user."],["para",["em","Note"],": The category with the specified index (date) is not included in the selected range\nunless the axis is justified. In order to select all categories specify\na value larger than the last category index (date)."],["header",{"level":3},"categoryAxis.select.mousewheel ",["inlinecode","Object"]],["para","Mousewheel zoom settings for the selection."],["header",{"level":3},"categoryAxis.select.mousewheel.reverse ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Reverses the mousewheel zoom direction.\nNormal direction is down for \"zoom out\", up for \"zoom in\"."],["header",{"level":3},"categoryAxis.select.mousewheel.zoom ",["inlinecode","String"],["em","(default: \"both\")"]],["para","The zoom direction. Possible values:"],["header",{"level":4},["em","\"both\""]],["para","Zooming expands and contracts the selection both sides."],["header",{"level":4},["em","\"left\""]],["para","Zooming expands and contracts the selection left side only."],["header",{"level":4},["em","\"right\""]],["para","Zooming expands and contracts the selection right side only."],["header",{"level":3},"categoryAxis.title ",["inlinecode","Object"]],["para","The title of the category axis."],["header",{"level":3},"categoryAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"categoryAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"categoryAxis.title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"categoryAxis.title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"categoryAxis.title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"categoryAxis.title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"categoryAxis.title.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    categoryAxis: {\n        title: {\n            // sets the top, right, bottom and left margin to 3px.\n            margin: 3\n        }\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        title: {\n            // sets the top and left margin to 1px\n            // margin right and bottom are with 0px (by default)\n            margin: { top: 1, left: 1 }\n        }\n    },\n    ...\n});"],["header",{"level":3},"categoryAxis.title.position ",["inlinecode","String"],["em","(default: \"center\")"]],["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)"],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)"],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)"],["header",{"level":4},["em","\"right\""]],["para","The axis title is positioned on the right (applicable to horizontal axis)"],["header",{"level":4},["em","\"center\""]],["para","The axis title is positioned in the center"],["header",{"level":3},"categoryAxis.title.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the title."],["header",{"level":3},"categoryAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"categoryAxis.title.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the title."],["header",{"level":3},"categoryAxis.type ",["inlinecode","String"],["em","(default: \"category\")"]],["para","The axis type."],["header",{"level":4},["em","\"category\""]],["para","Discrete category axis."],["header",{"level":4},["em","\"date\""]],["para","Specialized axis for displaying chronological data."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps ",["inlinecode","Object"]],["para","The discrete ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," values when\neither ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\" or\n",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"]," is set to \"auto\"."],["header",{"level":4},"Example - set category axis auto base unit steps"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n    categoryAxis: {\n        categories: [\n            new Date(\"2012/02/01 00:00:00\"),\n            new Date(\"2012/02/02 00:00:00\"),\n            new Date(\"2012/02/20 00:00:00\")\n        ],\n        baseUnitStep: \"auto\",\n        autoBaseUnitSteps: {\n            days: [3]\n        }\n    }\n});\n</script>"],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.days ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The days unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.hours ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3])"]],["para","The hours unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.minutes ",["inlinecode","Array"]," ",["em","(default: [1, 2, 5, 15, 30])"]],["para","The minutes unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.months ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 6])"]],["para","The months unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.weeks ",["inlinecode","Array"]," ",["em","(default: [1, 2])"]],["para","The weeks unit steps."],["header",{"level":3},"categoryAxis.autoBaseUnitSteps.years ",["inlinecode","Array"]," ",["em","(default: [1, 2, 3, 5, 10, 25, 50])"]],["para","The years unit steps."],["header",{"level":3},"categoryAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":3},"categoryAxis.baseUnit ",["inlinecode","String"]],["para","The base time interval for the date axis. The default base unit is determined automatically from the minimum difference\nbetween subsequent categories."],["para","The supported values are:"],["bulletlist",["listitem","\"days\""],["listitem","\"fit\""],["listitem","\"hours\""],["listitem","\"minutes\""],["listitem","\"months\""],["listitem","\"weeks\""],["listitem","\"years\""]],["para","Setting ",["inlinecode","baseUnit"]," to \"fit\" will set such base unit and ",["link",{"href":"#configuration-categoryAxis.baseUnitStep"},"categoryAxis.baseUnitStep"],"\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","Series data is aggregated for the specified base unit using the ",["link",{"href":"#configuration-series.aggregate"},"series.aggregate"]," function."],["header",{"level":3},"categoryAxis.baseUnitStep ",["inlinecode","Object"]," ",["em","(default: 1)"]],["para","The step (interval) between categories in base units. Setting it to \"auto\" will set the step to such value\nthat the total number of categories does not exceed ",["link",{"href":"#configuration-categoryAxis.maxDateGroups"},"categoryAxis.maxDateGroups"],"."],["para","This option is ignored if ",["link",{"href":"#configuration-categoryAxis.baseUnit"},"categoryAxis.baseUnit"]," is set to \"fit\"."],["header",{"level":3},"categoryAxis.labels.culture ",["inlinecode","String"]],["para","Culture to use for formatting the dates. See ",["link",{"href":"/getting-started/framework/globalization/overview"},"Globalization"]," for more information.\nIt defaults to the global culture."],["header",{"level":3},"categoryAxis.labels.dateFormats ",["inlinecode","Object"]],["para","Date format strings"],["header",{"level":4},["em","\"hours\""]],["para","\"HH:mm\""],["header",{"level":4},["em","\"days\""]],["para","\"M/d\""],["header",{"level":4},["em","\"weeks\""]],["para","\"M/d\""],["header",{"level":4},["em","\"months\""]],["para","\"MMM 'yy\""],["header",{"level":4},["em","\"years\""]],["para","\"yyyy\""],["para","The Chart will choose the appropriate format for the current ",["inlinecode","baseUnit"],".\nSetting the labels ",["strong","format"]," option will override these defaults."],["header",{"level":3},"categoryAxis.max ",["inlinecode","Object"]],["para","The last date displayed on the axis.\nBy default, the minimum date is the same as the last category.\nThis is often used in combination with the ",["strong","min"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.min ",["inlinecode","Object"]],["para","The first date displayed on the axis.\nBy default, the minimum date is the same as the first category.\nThis is often used in combination with the ",["strong","max"]," and ",["strong","roundToBaseUnit"]," configuration options to\nset up a fixed date range."],["header",{"level":3},"categoryAxis.roundToBaseUnit ",["inlinecode","Boolean"],["em","(default: true)"]],["para","By default, the first and last dates will be rounded off to the nearest base unit.\nSpecifying ",["strong","false"]," for this option will disable this behavior."],["para","This option is most useful in combination with explicit ",["strong","min"]," and ",["strong","max"]," dates."],["para","It will be ignored if either column, ohlc or candlestick series are plotted on the axis."],["header",{"level":3},"categoryAxis.weekStartDay ",["inlinecode","Number"],["em","(default: kendo.days.Sunday)"]],["para","Specifies the week start day when ",["strong","baseUnit"]," is set to \"weeks\".\nUse the ",["em","kendo.days"]," constants to specify the day by name."],["bulletlist",["listitem","kendo.days.Sunday (0)"],["listitem","kendo.days.Monday (1)"],["listitem","kendo.days.Tuesday (2)"],["listitem","kendo.days.Wednesday (3)"],["listitem","kendo.days.Thursday (4)"],["listitem","kendo.days.Friday (5)"],["listitem","kendo.days.Saturday (6)"]],["header",{"level":3},"categoryAxis.maxDateGroups ",["inlinecode","Number"]],["para","Specifies the maximum number of groups (categories) to produce when\neither ",["strong","baseUnit"]," is set to \"fit\" or ",["strong","baseUnitStep"]," is set to \"auto\"."],["para","This option is ignored in all other cases."],["para","The default value is approximately equal to ",["inlinecode","[widget width, px] / 30"]],["header",{"level":3},"categoryAxis.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the axis."],["header",{"level":3},"categoryAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["header",{"level":3},"categoryAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.width ",["inlinecode","Number"]],["para","The width of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.opacity ",["inlinecode","Number"]],["para","The opacity of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.dashType ",["inlinecode","Number"]],["para","The dash type of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The dash type of the crosshair."],["header",{"level":3},"categoryAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip configuration options."],["header",{"level":3},"categoryAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"categoryAxis.crosshair.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"categoryAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip."],["header",{"level":3},"categoryAxis.crosshair.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"categoryAxis.crosshair.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"categoryAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"categoryAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         type: \"area\",\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003],\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"|#= value #|\"\n             }\n         }\n     }\n});"],["header",{"level":3},"categoryAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"categoryAxis.notes ",["inlinecode","Object"]],["para","The category axis notes configuration."],["header",{"level":3},"categoryAxis.notes.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"categoryAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the category axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"categoryAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      label: {\n        format: \"Category slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"categoryAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the category axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"categoryAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"categoryAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the category axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"categoryAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"categoryAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the category axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the category axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the category axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the category axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the category axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the category axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the category axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"categoryAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the category axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the category axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the category axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the category axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the category axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the category value"]],["header",{"level":4},"Example - set the category axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the category notes label. By default the category notes label are visible."],["header",{"level":4},"Example - hide the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the category axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the category value."],["header",{"level":4},"Example - set the category axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"Category slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the category axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the category axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"categoryAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"categoryAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the category axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"categoryAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the category axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  categoryAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"chartArea ",["inlinecode","Object"]],["para","The chart area configuration options.\nThis is the entire visible area of the chart."],["header",{"level":3},"chartArea.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para","The background color of the chart area."],["header",{"level":3},"chartArea.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para","The background opacity of the chart area."],["header",{"level":3},"chartArea.border ",["inlinecode","Object"]],["para","The border of the chart area."],["header",{"level":3},"chartArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"chartArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"chartArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"chartArea.height ",["inlinecode","Number"],["em","(default: 400)"]],["para","The height of the chart area."],["header",{"level":3},"chartArea.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para","The margin of the chart area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"chartArea.width ",["inlinecode","Number"],["em","(default: 600)"]],["para"," The width of the chart area."],["header",{"level":3},"dataSource ",["inlinecode","Object"]],["para","DataSource configuration or instance."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    dataSource: {\n        transport: {\n             read: \"spain-electricity.json\"\n        }\n    },\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});\n\n// Alternative configuration\nvar dataSource = new kendo.data.DataSource({\n    transport: {\n         read: \"spain-electricity.json\"\n    }\n});\n\n$(\"#chart\").kendoChart({\n    dataSource: dataSource,\n    series: [{\n        field: \"value\"\n    }],\n    categoryAxis: {\n        field: \"year\"\n    }\n});"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether the chart will call read on the data source initially."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: chartDataSource,\n    chartBind: false\n});\n\n// ...\nnaviDataSource.read();"],["header",{"level":3},"legend ",["inlinecode","Object"]],["para","The chart legend configuration options."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // set the background color to a dark blue\n        background: \"#336699\",\n        labels: {\n            // set the font to a size of 14px\n            font: \"14px Arial,Helvetica,sans-serif\",\n            // set the color to red\n            color: \"red\"\n        },\n        // move the legend to the left\n        position: \"left\",\n        // move the legend a bit closer to the chart by setting the x offset to 20\n        offsetX: 20,\n        // move the legend up to the top by setting the y offset to -100\n        offsetY: -100,\n    }\n});"],["header",{"level":3},"legend.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para"," The background color of the legend. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"legend.border ",["inlinecode","Object"]],["para","The border of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        border: {\n            // set the border width to 2 pixels\n            width: 2,\n            // set the color to grey\n            color: \"grey\",\n            // set the dash type to solid. this is the default so we could leave this line out.\n            dashType: \"solid\"\n        }\n    },\n    ...\n});"],["header",{"level":3},"legend.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"legend.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":4},"Example"],["header",{"level":3},"legend.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"legend.labels ",["inlinecode","Object"]],["para","Configures the legend labels."],["header",{"level":3},"legend.labels.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"legend.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"legend.labels.template ",["inlinecode","String"]],["para","The template of the labels.\nTemplate variables:\n",["em","   ",["strong","text"]," - the text the legend item.\n"],"   ",["strong","series"]," - the data series."],["header",{"level":3},"legend.margin ",["inlinecode","Number | Object"],["em","(default: 10)"]],["para"," The margin of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top, right, bottom and left margin to 3px.\n        margin: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top and left margin to 1px\n        // margin right and bottom are with 10px (by default)\n        margin: { top: 1, left: 1 }\n    },\n    ...\n});"],["header",{"level":3},"legend.offsetX ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The X offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels to the right of it's initial position.  A negative value will move the legend\nto the left of the current position."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // move the legend to the left side of the chart\n        offsetX: 20\n    },\n    ...\n});"],["header",{"level":3},"legend.offsetY ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The Y offset from its position.  The offset is relative to the current position of the legend.\nFor instance, a value of 20 will move the legend 20 pixels down from it's initial position.  A negative value will move the legend\nupwards from the current position."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // move the legend up 100 pixels\n        offsetY: -100\n    },\n    ...\n});"],["header",{"level":3},"legend.padding ",["inlinecode","Number | Object"],["em","(default: 5)"]],["para"," The padding of the legend."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\n$(\"#chart\").kendoChart({\n    legend: {\n        // sets the top, right, bottom and left padding to 3px.\n        padding: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    legend: {\n       // sets the top and left padding to 1px\n       // padding right and bottom are with 5px (by default)\n       padding: { top: 1, left: 1 }\n    },\n    ...\n});"],["header",{"level":3},"legend.position ",["inlinecode","String"],["em","(default: \"right\")"]],["para"," The positions of the legend."],["header",{"level":4},["em","\"top\""]],["para","The legend is positioned on the top."],["header",{"level":4},["em","\"bottom\""]],["para","The legend is positioned on the bottom."],["header",{"level":4},["em","\"left\""]],["para","The legend is positioned on the left."],["header",{"level":4},["em","\"right\""]],["para","The legend is positioned on the right."],["header",{"level":4},["em","\"custom\""]],["para","The legend is positioned using OffsetX and OffsetY."],["header",{"level":3},"legend.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the legend."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    legend: {\n        // show the legend\n        visible: true\n    },\n    ...\n});"],["header",{"level":3},"legend.inactiveItems ",["inlinecode","Object"]],["para","Configures the legend inactive items."],["header",{"level":3},"legend.inactiveItems.labels ",["inlinecode","Object"]],["para","Configures the legend labels."],["header",{"level":3},"legend.inactiveItems.labels.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the labels.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"legend.inactiveItems.labels.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"legend.inactiveItems.labels.template ",["inlinecode","String"]],["para","The template of the labels.\nTemplate variables:"],["bulletlist",["listitem",["strong","text"]," - the text the legend item."],["listitem",["strong","series"]," - the data series."],["listitem",["strong","value"]," - the point value. (only for donut and pie charts)"],["listitem",["strong","percentage"]," - the point value represented as a percentage value. (only for donut and pie charts)"],["listitem",["strong","dataItem"]," - the original data item used to construct the point. (only for donut and pie charts)"]],["header",{"level":3},"legend.inactiveItems.markers ",["inlinecode","Object"]],["para","Configures the legend markers."],["header",{"level":3},"legend.inactiveItems.markers.color ",["inlinecode","String"]],["para","The color of the markers.\nAny valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"panes ",["inlinecode","Array"]],["para","The chart panes configuration."],["para","Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom."],["para","Each axis can be associated with a pane by setting its ",["inlinecode","pane"]," option to the name of the desired pane.\nAxis that don't have specified pane are placed in the top (default) pane."],["para","Series are moved to the desired pane by associating them with an axis."],["header",{"level":3},"panes.name ",["inlinecode","String"]],["para","The unique pane name."],["header",{"level":3},"panes.margin ",["inlinecode","Number|Object"]],["para","The margin of the pane."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"panes.padding ",["inlinecode","Number|Object"]],["para","The padding of the pane."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\npadding: { top: 1, left: 1 }"],["header",{"level":3},"panes.background ",["inlinecode","String"]],["para","The background color of the pane."],["header",{"level":3},"panes.border ",["inlinecode","Object"]],["para","The border of the pane."],["header",{"level":3},"panes.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"panes.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"panes.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"panes.height ",["inlinecode","Number"]],["para","The pane height in pixels."],["header",{"level":3},"panes.title ",["inlinecode","String|Object"]],["para","The pane title text or configuration."],["header",{"level":3},"panes.title.background ",["inlinecode","String"]],["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"panes.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"panes.title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"panes.title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"panes.title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"panes.title.color ",["inlinecode","String"]],["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"panes.title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"panes.title.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para","The margin of the title."],["header",{"level":3},"panes.title.position ",["inlinecode","String"],["em","(default: \"center\")"]],["para","The position of the title."],["header",{"level":4},["em","\"left\""]],["para","The pane title is positioned on the left"],["header",{"level":4},["em","\"right\""]],["para","The pane title is positioned on the right"],["header",{"level":4},["em","\"center\""]],["para","The pane title is positioned in the center"],["header",{"level":3},"panes.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"panes.title.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the title."],["header",{"level":3},"plotArea ",["inlinecode","Object"]],["para","The plot area configuration options. This is the area containing the plotted series."],["header",{"level":3},"plotArea.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para"," The background color of the plot area."],["header",{"level":3},"plotArea.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para"," The background opacity of the plot area."],["header",{"level":3},"plotArea.border ",["inlinecode","Object"]],["para","The border of the plot area."],["header",{"level":3},"plotArea.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"plotArea.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"plotArea.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"plotArea.margin ",["inlinecode","Number|Object"],["em","(default: 5)"]],["para"," The margin of the plot area."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 5px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"renderAs ",["inlinecode","String"]],["para","Sets the preferred rendering engine.\nIf it is not supported by the browser, the Chart will switch to the first available mode."],["para","The supported values are:"],["bulletlist",["listitem","\"svg\" - renders the widget as inline SVG document, if available"],["listitem","\"vml\" - renders the widget as VML, if available"],["listitem","\"canvas\" - renders the widget as a Canvas element, if available."]],["blockquote",["para","Using Canvas rendering disables most interactive features."]],["header",{"level":3},"Example - Render as Canvas, if supported"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    renderAs: \"canvas\",\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"],["header",{"level":3},"series ",["inlinecode","Array"]],["para","Array of series definitions."],["para","The series type is determined by the value of the type field.\nIf a type value is missing, the type is assumed to be the one specified in seriesDefaults."],["para","Each series type has a different set of options."],["blockquote",["para",["strong","Info:"]," Some options accept function as argument. They will be evaluated for each point (supplied as parameter). The theme/seriesDefaults value will be used if no value is returned."]],["header",{"level":3},"series.type ",["inlinecode","String"]],["para","The type of the series. Available types:"],["bulletlist",["listitem","area"],["listitem","column"],["listitem","line"],["listitem","candlestick, ohlc"],["listitem","bullet"]],["header",{"level":3},"series.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The series line dash type."],["para",["strong"," Applicable only to line series "]],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.data ",["inlinecode","Array"]],["para","Array of data items. The data item type can be either a:"],["bulletlist",["listitem","Array of objects. Each point is bound to the specified series fields."],["listitem","Array of numbers. Available for area, column and line series."],["listitem","Array of arrays of numbers. Available for:",["bulletlist",["listitem","OHLC and candlestick series (open, high, low, close)"]]]],["header",{"level":3},"series.highField ",["inlinecode","String"]],["para","The data field containing the high value."],["para",["strong"," Available for candlestick and ohlc series only "]],["header",{"level":3},"series.field ",["inlinecode","String"]],["para","The data field containing the series value."],["header",{"level":3},"series.categoryField ",["inlinecode","String"]," ",["em","(default: \"category\")"]],["para","The data item field which contains the category name or date."],["blockquote",["para","The points will be rendered in chronological order if the category is a date."],["para","If specified, the ",["link",{"href":"#configuration-dateField"},"dateField"]," option is used as a default."]],["header",{"level":4},"Example - set series date category field"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"],["header",{"level":3},"series.currentField ",["inlinecode","String"]],["para","The data field containing the current value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["header",{"level":3},"series.targetField ",["inlinecode","String"]],["para","The data field containing the target value."],["para",["strong"," Available for bullet and verticalBullet series. "]],["header",{"level":3},"series.name ",["inlinecode","String"]],["para","The series name visible in the legend."],["header",{"level":4},"Example - set the series name"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ]\n  },\n  dateField: \"date\",\n  series: [\n    {\n      field: \"value\",\n      name: \"Value\"\n    }\n  ],\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["para","The name can also be a ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which sets the name of the series when bound to grouped data source."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","series - the series options"],["listitem","group - the data group"],["listitem","group.field - the name of the field used for grouping"],["listitem","group.value - the field value for this group."]],["header",{"level":4},"Example - set the chart series group name template"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n  dataSource: {\n    data: [\n      { value: 1, category: \"One\", date: new Date(2012, 1, 1)},\n      { value: 2, category: \"Two\", date: new Date(2012, 1, 2)}\n    ],\n    group: { field: \"category\" }\n  },\n  dateField: \"date\",\n  series: [\n    {\n      field: \"value\",\n      name: \"Category: #: group.value #\"\n    }\n  ],\n  legend: {\n    visible: true,\n    position: \"bottom\"\n  }\n});\n</script>"],["header",{"level":3},"series.highlight ",["inlinecode","Object"]],["para","Configures the appearance of highlighted points."],["header",{"level":3},"series.highlight.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if the series points should be highlighted."],["header",{"level":3},"series.highlight.border ",["inlinecode","Object"]],["para","The border of highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]],["header",{"level":3},"series.highlight.border.width ",["inlinecode","Number"]],["para","The width of the border."],["header",{"level":3},"series.highlight.border.color ",["inlinecode","String"]],["para","The border color."],["header",{"level":3},"series.highlight.border.opacity ",["inlinecode","Number"]],["para","The border opacity."],["header",{"level":3},"series.highlight.color ",["inlinecode","String"]],["para","The highlight color."],["para",["strong"," Available only for pie series "]],["header",{"level":3},"series.highlight.line ",["inlinecode","Object"]],["para","Line options for highlighted points. The color is computed automatically from the base point color."],["para",["strong"," Available only for candlestick series "]],["header",{"level":3},"series.highlight.line.width ",["inlinecode","Number"]],["para","The width of the line."],["header",{"level":3},"series.highlight.line.color ",["inlinecode","String"]],["para","The line color."],["header",{"level":3},"series.highlight.line.opacity ",["inlinecode","Number"]],["para","The opacity of the line."],["header",{"level":3},"series.highlight.opacity ",["inlinecode","Number"]],["para","The opacity of the highlighted points."],["para",["strong"," Applicable to bubble, pie, candlestick and ohlc series. "]],["header",{"level":3},"series.aggregate ",["inlinecode","String"],["em","(default: \"max\")"]],["para","The aggregate function to apply for date series."],["para","This function is used when a category (an year, month, etc.) contains two or more points.\nThe function return value is displayed instead of the individual points."],["para","The supported values are:"],["bulletlist",["listitem","\"avg\" - the average of all values for the date period."],["listitem","\"count\" - the number of values for the date period."],["listitem","\"max\" - the highest value for the date period."],["listitem","\"min\" - the lowest value for the date period."],["listitem","\"sum\" - the sum of all values for the date period."],["listitem","\"first\" - the first value"],["listitem","function(values, series, dataItems, category) - user-defined aggregate function. Returns single value or data item."],["listitem","object  - (compound aggregate) ",["strong","Applicable to \"candlestick\" and ohlc \"series\""],". Specifies the aggregate for each data item field."]],["header",{"level":5},"Example"],["code_block","aggregate: {\n    open: \"max\",\n    high: \"max\",\n    close: \"min\",\n    low: \"max\"\n}"],["header",{"level":3},"series.axis ",["inlinecode","String"],["em","(default: \"primary\")"]],["para","The name of the value axis to use."],["para",["strong"," Applicable to area, column, line, ohlc and candlestick series "]],["header",{"level":3},"series.border ",["inlinecode","Object"]],["para","The border of the points."],["para",["strong"," Applicable to column, ohlc and candlestick series "]],["header",{"level":3},"series.border.color ",["inlinecode","String|Function"]],["para","The color of the border.  It defaults to the color of the current series."],["header",{"level":3},"series.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.border.opacity ",["inlinecode","Number|Function"]],["para","The border opacity."],["header",{"level":3},"series.border.width ",["inlinecode","Number|Function"],["em","(default: 1)"]],["para","The width of the border."],["header",{"level":3},"series.closeField ",["inlinecode","String"]],["para","The data field containing the close value."],["para",["strong"," Available for candlestick and ohlc series only "]],["header",{"level":3},"series.color ",["inlinecode","String|Function"]],["para","The series base color."],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        data: [{\n            date: new Date(\"2012-03-01 00:00\"),\n            price: 111\n        }, {\n            date: new Date(\"2012-03-02 00:00\"),\n            price: 121\n        }, {\n            date: new Date(\"2012-03-05 00:00\"),\n            price: 105\n        }]\n    },\n    dateField: \"date\",\n    series: [{\n        type: \"column\",\n        field: \"price\",\n        color: \"#ff0000\"\n    }]\n});"],["header",{"level":4},"Example"],["code_block","$(\"#stock-chart\").kendoStockChart({\n    dataSource: {\n        data: [{\n            date: new Date(\"2012-03-01 00:00\"),\n            price: 111\n        }, {\n            date: new Date(\"2012-03-02 00:00\"),\n            price: 121\n        }, {\n            date: new Date(\"2012-03-05 00:00\"),\n            price: 95\n        }]\n    },\n    dateField: \"date\",\n    series: [{\n        type: \"column\",\n        field: \"price\",\n        color: function(point) {\n            if (point.value < 100) {\n                // Colorize matching points\n                return \"#f00\";\n            }\n\n            // Use default theme color\n        }\n    }]\n});"],["header",{"level":3},"series.colorField ",["inlinecode","String"]],["para","The data field containing the point color."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]],["header",{"level":3},"series.downColor ",["inlinecode","String|Function"]],["para","The series color when open value is smoller then close value."],["para",["strong"," Available for candlestick series only "]],["header",{"level":3},"series.downColorField ",["inlinecode","String"]],["para","The data field containing the body color."],["para",["strong"," Available for candlestick series only "]],["header",{"level":3},"series.gap ",["inlinecode","Number"],["em","(default: 1.5)"]],["para","The distance between category clusters."],["para",["strong"," Applicable for column, candlestick and ohlc series. "]],["header",{"level":3},"series.labels ",["inlinecode","Object"]],["para","Configures the series data labels."],["header",{"level":4},["em","\"circle\""]],["para","The labels are positioned in circle around the chart."],["header",{"level":4},["em","\"column\""]],["para","The labels are positioned in columns to the left and right of the chart."],["header",{"level":3},"series.labels.background ",["inlinecode","String|Function"]],["para","The background color of the labels."],["header",{"level":3},"series.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"series.labels.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"series.labels.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.labels.border.width ",["inlinecode","Number|Function"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"series.labels.color ",["inlinecode","String|Function"]],["para","The text color of the labels."],["header",{"level":3},"series.labels.font ",["inlinecode","String|Function"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"series.labels.format ",["inlinecode","String|Function"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""],["header",{"level":3},"series.labels.margin ",["inlinecode","Number|Object"],["em","(default: { left: 5, right: 5})"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and bottom margin to 1px\n// margin left and right are with 5px (by default)\nmargin: { top: 1, bottom: 1 }"],["header",{"level":3},"series.labels.padding ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"series.labels.position ",["inlinecode","String|Function"],["em","(default: \"above\")"]],["para","Defines the position of the labels."],["header",{"level":4},["em","\"above\""]],["para","The label is positioned at the top of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"center\""]],["para","The label is positioned at the point center."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideEnd\""]],["para","The label is positioned inside, near the end of the point."],["para",["strong"," Applicable for column series only. "]],["header",{"level":4},["em","\"insideBase\""]],["para","The label is positioned inside, near the base of the bar."],["para",["strong"," Applicable for column series. "]],["header",{"level":4},["em","\"outsideEnd\""]],["para","The label is positioned outside, near the end of the bar."],["para",["strong"," Applicable for column series only. Not applicable for stacked series. "]],["header",{"level":4},["em","\"right\""]],["para","The label is positioned to the right of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"below\""]],["para","The label is positioned at the bottom of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":4},["em","\"left\""]],["para","The label is positioned to the left of the marker."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"series.labels.template ",["inlinecode","String | Function"]],["para","The label template. Template variables:"],["bulletlist",["listitem",["strong","value"]," - the point value. Can be a number or object containing each bindable field."],["listitem",["strong","category"]," - the category name\nAvailable for area, column and line series."],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\nWill be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             labels: {\n                 // label template\n                 template: \"#= value #%\",\n                 visible: true\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"series.labels.visible ",["inlinecode","Boolean|Function"],["em","(default: false)"]],["para"," The visibility of the labels."],["header",{"level":3},"series.line ",["inlinecode","String | Object"]],["para","Line options."],["para",["strong"," Applicable to area, candlestick and ohlc series. "]],["header",{"level":3},"series.line.color ",["inlinecode","String"]],["para","The line color."],["header",{"level":3},"series.line.opacity ",["inlinecode","Number"],["em","(default: 1)"]],["para","The line opacity."],["header",{"level":3},"series.line.width ",["inlinecode","String"],["em","(default: 4)"]],["para","The line width."],["header",{"level":3},"series.line.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line with right angle."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\"."]],["header",{"level":3},"series.lowField ",["inlinecode","String"]],["para","The data field containing the low value."],["para",["strong"," Available for candlestick and ohlc series "]],["header",{"level":3},"series.markers ",["inlinecode","Object"]],["para","Marker options."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"series.markers.background ",["inlinecode","String|Function"]],["para","The background color of the current series markers."],["header",{"level":3},"series.markers.border ",["inlinecode","Object|Function"]],["para","The border of the markers."],["header",{"level":3},"series.markers.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"series.markers.border.width ",["inlinecode","Number|Function"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"series.markers.size ",["inlinecode","Number|Function"],["em","(default: 6)"]],["para"," The marker size."],["header",{"level":3},"series.markers.rotation ",["inlinecode","Number|Function"]],["para","The rotation angle of the markers."],["header",{"level":4},"Example"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      markers: {\n        type: \"square\",\n        rotation: 45\n      },\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n</script>"],["header",{"level":3},"series.markers.type ",["inlinecode","String|Function"],["em","(default: \"circle\")"]],["para","Configures the markers shape type."],["header",{"level":4},["em","\"square\""]],["para","The marker shape is square."],["header",{"level":4},["em","\"triangle\""]],["para","The marker shape is triangle."],["header",{"level":4},["em","\"circle\""]],["para","The marker shape is circle."],["header",{"level":4},["em","\"cross\""]],["para","The marker shape is cross."],["header",{"level":3},"series.markers.visible ",["inlinecode","Boolean|Function"],["em","(default: false)"]],["para","The markers visibility."],["header",{"level":3},"series.missingValues ",["inlinecode","String"]],["para","The behavior for handling missing values. The supported values are:"],["bulletlist",["listitem","\"gap\" - the plot stops before the missing point and continues after it."],["listitem","\"interpolate\" - the value is interpolated from neighboring points."],["listitem","\"zero\" - the value is assumed to be zero."]],["blockquote",["para","The default value is \"interpolate\", except for \"area\" and stacked series which default to \"zero\"."],["para","The ",["inlinecode","missingValues"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"area\" and \"line\"."]],["header",{"level":3},"series.style ",["inlinecode","String"]," ",["em","(default: \"normal\")"]],["para","The supported values are:"],["bulletlist",["listitem","\"normal\" - The values will be connected with straight line."],["listitem","\"step\" - The values will be connected with a line at right."],["listitem","\"smooth\" - The values will be connected with a smooth line."]],["blockquote",["para","The default value is \"normal\"."],["para","The ",["inlinecode","style"]," option is supported when ",["link",{"href":"#configuration-series.type"},"series.type"]," is set to \"line\"."]],["header",{"level":3},"series.negativeColor ",["inlinecode","String"]],["para","Color to use for bars with negative values."],["para",["strong"," Applicable only to column series. "]],["para","The plot stops before the missing point and continues after it."],["header",{"level":3},"series.opacity ",["inlinecode","Number"]],["para","The series opacity."],["header",{"level":3},"series.openField ",["inlinecode","String"]],["para","The data field containing the open value."],["para",["strong"," Available for candlestick and ohlc series "]],["header",{"level":3},"series.overlay ",["inlinecode","Object"]],["para","The effects overlay."],["header",{"level":3},"series.overlay.gradient ",["inlinecode","String"]],["para","The gradient name."],["para","Available options:"],["bulletlist",["listitem",["strong","glass"]," (column and candlestick series)"],["listitem",["strong","none"]]],["header",{"level":3},"series.spacing ",["inlinecode","Number"],["em","(default: 0.4)"]],["para","Space between points as proportion of the point width."],["para","Available for column, candlestick and ohlc series."],["header",{"level":3},"series.stack ",["inlinecode","Boolean|String"],["em","(default: false)"]],["para","A value indicating if the series should be stacked. String value indicates that the series should be stacked in a group with the specified name.\nAvailable for column series."],["header",{"level":3},"series.tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"series.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"series.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"series.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"series.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"series.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"series.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"series.tooltip.format ",["inlinecode","String"]],["para","The tooltip format. Format variables depend on the series type:"],["bulletlist",["listitem","Area, column, line and pie",["bulletlist",["listitem",["strong","0"]," - value"]]],["listitem","Candlestick and OHLC",["bulletlist",["listitem",["strong","0"]," - open value"],["listitem",["strong","1"]," - high value"],["listitem",["strong","2"]," - low value"],["listitem",["strong","3"]," - close value"],["listitem",["strong","4"]," - category name"]]]],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"{0:C}--{1:C}\""],["header",{"level":3},"series.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"series.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             type: \"area\",\n             name: \"Series 1\",\n             data: [200, 450, 300, 125],\n             tooltip: {\n                 visible: true,\n                 template: \"#= category # - #= value #\"\n             }\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"series.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"series.visibleInLegend ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating whether to show the series name in the legend."],["header",{"level":3},"series.width ",["inlinecode","Number"]],["para","The line width."],["para",["strong"," Applicable for area and line series. "]],["header",{"level":3},"series.target ",["inlinecode","Object"]],["para","The target of the bullet chart."],["header",{"level":3},"series.target.line ",["inlinecode","Object"]],["para","The target line."],["header",{"level":3},"series.target.line.width ",["inlinecode","Object|Function"]],["para","The width of the line."],["header",{"level":3},"series.target.color ",["inlinecode","String|Function"]],["para","The target color."],["header",{"level":3},"series.target.border ",["inlinecode","Object|Function"]],["para","The border of the target."],["header",{"level":3},"series.target.border.color ",["inlinecode","String|Function"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"series.target.border.dashType ",["inlinecode","String|Function"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"series.target.border.width ",["inlinecode","Number|Function"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"series.notes ",["inlinecode","Object"]],["para","The series notes configuration."],["header",{"level":3},"series.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"series.notes.position ",["inlinecode","String"]],["para","The position of the series note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"series.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the series notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the series notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the series notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the series notes icon border width"],["para","   <div id=\"chart\"></div>\n    <script>\n    $(\"#chart\").kendoChart({\n      dataSource: {\n        data: [{\n          value: 1,\n          noteText: \"A\"\n        }]\n      },\n      series: [{\n        field: \"value\",\n        noteTextField: \"noteText\",\n        notes: {\n          icon: {\n            border: {\n              width: 2,\n              color: \"red\"\n            }\n          }\n        }\n      }]\n    });\n    </script>"],["header",{"level":3},"series.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the series notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        size: 30\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the series notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the series notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      icon: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"series.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        background: \"red\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the series label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the series label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the series label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the series label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series notes label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the point value"]],["header",{"level":4},"Example - set the series notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the series notes label. By default the series notes label are visible."],["header",{"level":4},"Example - hide the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        visible: false\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the series notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        rotation: 90\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the series notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"series.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"series.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        width: 4\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"series.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the series notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  dataSource: {\n    data: [{\n      value: 1,\n      noteText: \"A\"\n    }]\n  },\n  series: [{\n    field: \"value\",\n    noteTextField: \"noteText\",\n    notes: {\n      line: {\n        length: 20\n      }\n    }\n  }]\n});\n</script>"],["header",{"level":3},"seriesColors ",["inlinecode","Array"]],["para","The default colors for the chart's series. When all colors are used, new colors are pulled from the start again."],["header",{"level":3},"seriesDefaults ",["inlinecode","Object"]],["para","Default values for each series."],["header",{"level":3},"seriesDefaults.area ",["inlinecode","Object"]],["para","The area configuration options.\nThe default options for all area series. For more details see the series options."],["header",{"level":3},"seriesDefaults.candlestick ",["inlinecode","Object"]],["para","The candlestick configuration options.\nThe default options for all candlestick series. For more details see the series options."],["header",{"level":3},"seriesDefaults.ohlc ",["inlinecode","Object"]],["para","The ohlc configuration options.\nThe default options for all ohlc series. For more details see the series options."],["header",{"level":3},"seriesDefaults.border ",["inlinecode","Object"]],["para","The border of the series."],["header",{"level":3},"seriesDefaults.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"seriesDefaults.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"seriesDefaults.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.column ",["inlinecode","Object"]],["para","The column configuration options.\nThe default options for all column series. For more details see the series options."],["header",{"level":3},"seriesDefaults.gap ",["inlinecode","Number"],["em","(default: 1.5)"]],["para"," The distance between category clusters."],["header",{"level":3},"seriesDefaults.labels ",["inlinecode","Object"]],["para","Configures the series data labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        // adjust the default label appearence for all series\n        labels: {\n            // set the margin on all sides to 1\n            margin: 1,\n            // format the labels as currency\n            format: \"C\"\n        }\n    },\n    ...\n});"],["header",{"level":3},"seriesDefaults.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here,\nincluding hex and rgb."],["header",{"level":3},"seriesDefaults.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"seriesDefaults.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"seriesDefaults.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"seriesDefaults.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex\nand rgb."],["header",{"level":3},"seriesDefaults.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels.\nlabels"],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        // adjust the default label appearence for all series\n        labels: {\n            // set the font size to 14px\n            font: \"14px Arial,Helvetica,sans-serif\"\n        }\n    },\n    ...\n});"],["header",{"level":3},"seriesDefaults.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","//sets format of the labels\nformat: \"C\""],["header",{"level":3},"seriesDefaults.labels.margin ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The margin of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart).kendoChart({\n     labels: {\n         // sets the top, right, bottom and left margin to 3px.\n         margin: 3\n     },\n     ...\n});\n//\n$(\"#chart\").kendoChart({\n     labels: {\n         // sets the top and left margin to 1px\n         // margin right and bottom are with 0px (by default)\n         margin: { top: 1, left: 1 }\n     },\n     ...\n});"],["header",{"level":3},"seriesDefaults.labels.padding ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para"," The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"seriesDefaults.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     seriesDefault: {\n         labels: {\n             // label template\n             template: \"#= value  #%\",\n             visible: true\n         }\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"seriesDefaults.labels.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    seriesDefault: {\n        labels: {\n            // hide all the series labels by default\n            visible: true\n        },\n        ...\n    }\n});"],["header",{"level":3},"seriesDefaults.line ",["inlinecode","Object"]],["para","The line configuration options.\nThe default options for all line series. For more details see the series options."],["header",{"level":3},"seriesDefaults.overlay ",["inlinecode","Object"]],["para","The effects overlay."],["header",{"level":3},"seriesDefaults.pie ",["inlinecode","Object"]],["para","The pie configuration options.\nThe default options for all pie series. For more details see the series options."],["header",{"level":3},"seriesDefaults.spacing ",["inlinecode","Number"],["em","(default: 0.4)"]],["para"," Space between bars."],["header",{"level":3},"seriesDefaults.stack ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the series should be stacked."],["header",{"level":3},"seriesDefaults.tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"seriesDefaults.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"seriesDefaults.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"seriesDefaults.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"seriesDefaults.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"seriesDefaults.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"seriesDefaults.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para"," The tooltip font."],["header",{"level":3},"seriesDefaults.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"seriesDefaults.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"seriesDefaults.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     seriesDefaults: {\n         tooltip: {\n             visible: true,\n             template: \"#= category # - #= value #\"\n         }\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     }\n});"],["header",{"level":3},"seriesDefaults.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," A value indicating if the tooltip should be displayed."],["header",{"level":3},"theme ",["inlinecode","String"]],["para","Sets Chart theme. Available themes: default, blueOpal, black."],["header",{"level":3},"title ",["inlinecode","Object"],", ",["inlinecode","String"]],["para","The chart title configuration options or text."],["header",{"level":3},"title.align ",["inlinecode","String"],["em","(default: \"center\")"]],["para"," The alignment of the title."],["header",{"level":4},["em","\"left\""]],["para","The text is aligned to the left."],["header",{"level":4},["em","\"center\""]],["para","The text is aligned to the middle."],["header",{"level":4},["em","\"right\""]],["para","The text is aligned to the right."],["header",{"level":3},"title.background ",["inlinecode","String"],["em","(default: \"white\")"]],["para"," The background color of the title."],["header",{"level":3},"title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // set border options on the title\n    title: {\n        border: {\n            // set the border color to a dark blue\n            color: \"#336699\",\n            // set the width of the border to 2 pixels\n            width: 2,\n            // set the border style to long dashes\n            dashType: \"longDash\"\n        }\n    },\n    ...\n});"],["header",{"level":3},"title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para"," The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para"," The font of the title."],["header",{"level":3},"title.margin ",["inlinecode","Number | Object"],["em","(default: 5)"]],["para"," The margin of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // sets the top, right, bottom and left margin to 3px.\n    title: {\n        margin: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    // sets the top and left margin to 1px\n    // margin right and bottom are with 5px (by default)\n    title: {\n        margin: { top: 1, left: 1 }\n    },\n    ...\n});"],["header",{"level":3},"title.padding ",["inlinecode","Number | Object"],["em","(default: 5)"]],["para"," The padding of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    // sets the top, right, bottom and left padding to 3px.\n    title: {\n        padding: 3\n    },\n    ...\n});\n//\n$(\"#chart\").kendoChart({\n    // sets the top and left padding to 1px\n    // padding right and bottom are with 5px (by default)\n    title: {\n        padding: { top: 1, left: 1 }\n    },\n    ...\n});"],["header",{"level":3},"title.position ",["inlinecode","String"],["em","(default: \"top\")"]],["para"," The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The title is positioned on the top."],["header",{"level":4},["em","\"bottom\""]],["para","The title is positioned on the bottom."],["header",{"level":3},"title.text ",["inlinecode","String"]],["para","The title of the chart. You can also set the text directly for a title with default options."],["header",{"level":4},"Example"],["code_block","$(\"#chart \").kendoChart({\n    title: {\n        text: \"Sales data\"\n    },\n    ...\n});\n\n$(\"#chart \").kendoChart({\n    title: \"Sales data\",\n    ...\n});"],["header",{"level":3},"title.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," The visibility of the title."],["header",{"level":4},"Example"],["code_block","$(\"#chart \").kendoChart({\n    title: {\n        // hides the title\n        visible: false\n    },\n    ...\n});"],["header",{"level":3},"tooltip ",["inlinecode","Object"]],["para","The data point tooltip configuration options."],["header",{"level":3},"tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip. The default is determined from the series color."],["header",{"level":3},"tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para"," The color of the border."],["header",{"level":3},"tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The width of the border."],["header",{"level":3},"tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip. The default is the same as the series labels color."],["header",{"level":3},"tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para"," The tooltip font."],["header",{"level":3},"tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value"],["listitem",["strong","category"]," - the category name"],["listitem",["strong","series"]," - the data series"],["listitem",["strong","dataItem"]," - the original data item used to construct the point.\n    Will be null if binding to array."]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n         name: \"Series 1\",\n         data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     tooltip: {\n         visible: true,\n         template: \"#= category # - #= value #\"\n     }\n});"],["header",{"level":3},"tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"tooltip.shared ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be shared."],["header",{"level":3},"tooltip.sharedTemplate ",["inlinecode","String"]],["para","The shared tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","points"]," - the category points"],["listitem",["strong","category"]," - the category name"]],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n     title: {\n         text: \"Internet Users\"\n     },\n     series: [{\n         name: \"United States\",\n         data: [67.96, 68.93, 75, 74, 78]\n     }, {\n         name: \"World\",\n         data: [15.7, 16.7, 20, 23.5, 26.6]\n     }],\n     categoryAxis: {\n         categories: [2005, 2006, 2007, 2008, 2009]\n     },\n     tooltip: {\n         visible: true,\n         shared: true,\n         sharedTemplate:\n            \"#= category # </br>\" +\n            \"# for (var i = 0; i < points.length; i++) { #\" +\n                \"#= points[i].series.name #: #= points[i].value # </br>\" +\n            \"# } #\"\n     }\n});"],["header",{"level":3},"transitions ",["inlinecode","Boolean"],["em","(default: true)"]],["para","A value indicating if transition animations should be played."],["header",{"level":3},"valueAxis ",["inlinecode","Array"]],["para","The value axis configuration options."],["header",{"level":3},"valueAxis.axisCrossingValue ",["inlinecode","Object | Date | Array"]],["para","Value at which the category axis crosses this axis. (Only for object)"],["para","Value indicies at which the category axes cross the value axis. (Only for array)"],["para","Date at which the category axis crosses this axis. (Only for date)"],["header",{"level":3},"valueAxis.background ",["inlinecode","String"]],["para","The background color of the axis."],["header",{"level":3},"valueAxis.color ",["inlinecode","String"]],["para","Color to apply to all axis elements.\nIndividual color settings for line and labels take priority. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.labels ",["inlinecode","Object"]],["para","Configures the axis labels."],["header",{"level":3},"valueAxis.labels.background ",["inlinecode","String"]],["para","The background color of the labels. Any valid CSS color string will work here, including\nhex and rgb"],["header",{"level":3},"valueAxis.labels.border ",["inlinecode","Object"]],["para","The border of the labels."],["header",{"level":3},"valueAxis.labels.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"valueAxis.labels.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.labels.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.labels.color ",["inlinecode","String"]],["para","The text color of the labels. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.labels.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the labels."],["header",{"level":3},"valueAxis.labels.format ",["inlinecode","String"]],["para","The format of the labels."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n       labels: {\n           // set the format to currency\n           format: \"C\"\n       }\n    },\n    ...\n});"],["header",{"level":3},"valueAxis.labels.margin ",["inlinecode","Number|Object"],["em","(default: 0)"]],["para","The margin of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.labels.mirror ",["inlinecode","Boolean"]],["para","Mirrors the axis labels and ticks.\nIf the labels are normally on the left side of the axis,\nmirroring the axis will render them to the right."],["header",{"level":3},"valueAxis.labels.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the labels."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.labels.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the labels."],["header",{"level":3},"valueAxis.labels.skip ",["inlinecode","Number"],["em","(default: 1)"]],["para","Number of labels to skip.\nSkips rendering the first n labels."],["header",{"level":3},"valueAxis.labels.step ",["inlinecode","Number"],["em","(default: 1)"]],["para","Label rendering step.\nEvery n-th label is rendered where n is the step"],["header",{"level":3},"valueAxis.labels.template ",["inlinecode","String | Function"]],["para","The label template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the value"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [\n         {\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n         }\n     ],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     valueAxis: {\n         labels: {\n             // labels template\n             template: \"#= value #%\"\n         }\n     }\n});"],["header",{"level":3},"valueAxis.labels.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the labels."],["header",{"level":3},"valueAxis.line ",["inlinecode","Object"]],["para","Configures the axis line. This will also affect the major and minor ticks, but not the grid lines."],["header",{"level":3},"valueAxis.line.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"valueAxis.line.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the line."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.line.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the line."],["header",{"level":3},"valueAxis.line.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the line. This will also effect the major and minor ticks, but\nnot the grid lines."],["header",{"level":3},"valueAxis.majorGridLines ",["inlinecode","Object"]],["para","Configures the major grid lines. These are the lines that are an extension of the major ticks through the\nbody of the chart."],["header",{"level":3},"valueAxis.majorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines."],["header",{"level":3},"valueAxis.majorGridLines.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the lines."],["header",{"level":3},"valueAxis.majorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["header",{"level":3},"valueAxis.majorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major grid lines."],["header",{"level":3},"valueAxis.majorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major grid lines."],["header",{"level":3},"valueAxis.majorTicks ",["inlinecode","Object"]],["para","The major ticks of the axis."],["header",{"level":3},"valueAxis.majorTicks.size ",["inlinecode","Number"],["em","(default: 4)"]],["para","The axis major tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."],["header",{"level":3},"valueAxis.majorTicks.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the major ticks."],["header",{"level":3},"valueAxis.majorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis major ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"valueAxis.majorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the major ticks in pixels."],["header",{"level":3},"valueAxis.majorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis major ticks."],["header",{"level":3},"valueAxis.majorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis major ticks."],["header",{"level":3},"valueAxis.majorUnit ",["inlinecode","Number"]],["para","The interval between major divisions."],["header",{"level":3},"valueAxis.max ",["inlinecode","Number"],["em","(default: 1)"]],["para","The maximum value of the axis.\nThis is often used in combination with the ",["strong","min"]," configuration option."],["header",{"level":3},"valueAxis.min ",["inlinecode","Number"],["em","(default: 0)"]],["para","The minimum value of the axis.\nThis is often used in combination with the ",["strong","max"]," configuration option."],["header",{"level":3},"valueAxis.minorGridLines ",["inlinecode","Object"]],["para","Configures the minor grid lines.  These are the lines that are an extension of the minor ticks through the"],["header",{"level":3},"valueAxis.minorGridLines.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the lines."],["para","Note that this has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the minor grid lines."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot.\nbody of the chart."],["para","Note that minor grid lines are not visible by default, therefore none of these settings will take effect without the minor grid lines visibility being set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the lines."],["header",{"level":3},"valueAxis.minorGridLines.width ",["inlinecode","Number"],["em","(default: 1)"]],["para","The width of the lines."],["para","Note that this settings has no effect if the visibility of the minor grid lines is not set to ",["strong","true"],"."],["header",{"level":3},"valueAxis.minorGridLines.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor grid lines."],["header",{"level":3},"valueAxis.minorGridLines.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor grid lines."],["header",{"level":3},"valueAxis.minorTicks ",["inlinecode","Object"]],["para","The minor ticks of the axis."],["header",{"level":3},"valueAxis.minorTicks.size ",["inlinecode","Number"],["em","(default: 3)"]],["para","The axis minor tick size. This is the length of the line in pixels that is drawn to indicate the tick on the chart."],["header",{"level":3},"valueAxis.minorTicks.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the value axis minor ticks lines. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":3},"valueAxis.minorTicks.width ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The width of the minor ticks in pixels."],["header",{"level":3},"valueAxis.minorTicks.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The visibility of the minor ticks."],["header",{"level":3},"valueAxis.minorTicks.step ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The step of the value axis minor ticks."],["header",{"level":3},"valueAxis.minorTicks.skip ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The skip of the value axis minor ticks."],["header",{"level":3},"valueAxis.minorUnit ",["inlinecode","Number"]],["para","The interval between minor divisions.\nIt defaults to 1/5th of the majorUnit."],["header",{"level":3},"valueAxis.name ",["inlinecode","Object"],["em","(default: \"primary\")"]],["para","The unique axis name."],["header",{"level":3},"valueAxis.narrowRange ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Prevents the automatic axis range from snapping to 0."],["header",{"level":3},"valueAxis.pane ",["inlinecode","String"]],["para","The name of the pane that the axis should be rendered in.\nThe axis will be rendered in the first (default) pane if not set."],["header",{"level":3},"valueAxis.plotBands ",["inlinecode","Array"]],["para","The plot bands of the value axis."],["header",{"level":3},"valueAxis.plotBands.from ",["inlinecode","Number"]],["para","The start position of the plot band in axis units."],["header",{"level":3},"valueAxis.plotBands.to ",["inlinecode","Number"]],["para","The end position of the plot band in axis units."],["header",{"level":3},"valueAxis.plotBands.color ",["inlinecode","String"]],["para","The color of the plot band."],["header",{"level":3},"valueAxis.plotBands.opacity ",["inlinecode","Number"]],["para","The opacity of the plot band."],["header",{"level":3},"valueAxis.reverse ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Reverses the axis direction -\nvalues increase from right to left and from top to bottom."],["header",{"level":3},"valueAxis.title ",["inlinecode","Object"]],["para","The title of the value axis."],["header",{"level":3},"valueAxis.title.background ",["inlinecode","String"]],["para","The background color of the title. Any valid CSS color string will work here, including\nhex and rgb."],["header",{"level":3},"valueAxis.title.border ",["inlinecode","Object"]],["para","The border of the title."],["header",{"level":3},"valueAxis.title.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"valueAxis.title.border.dashType ",["inlinecode","String"],["em","(default: \"solid\")"]],["para","The dash type of the border."],["header",{"level":4},["em","\"solid\""]],["para","Specifies a solid line."],["header",{"level":4},["em","\"dot\""]],["para","Specifies a line consisting of dots."],["header",{"level":4},["em","\"dash\""]],["para","Specifies a line consisting of dashes."],["header",{"level":4},["em","\"longDash\""]],["para","Specifies a line consisting of a repeating pattern of long-dash."],["header",{"level":4},["em","\"dashDot\""]],["para","Specifies a line consisting of a repeating pattern of dash-dot."],["header",{"level":4},["em","\"longDashDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot."],["header",{"level":4},["em","\"longDashDotDot\""]],["para","Specifies a line consisting of a repeating pattern of long-dash-dot-dot."],["header",{"level":3},"valueAxis.title.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.title.color ",["inlinecode","String"]],["para","The text color of the title. Any valid CSS color string will work here, including hex and rgb."],["header",{"level":3},"valueAxis.title.font ",["inlinecode","String"],["em","(default: \"16px Arial,Helvetica,sans-serif\")"]],["para","The font style of the title."],["header",{"level":3},"valueAxis.title.margin ",["inlinecode","Number | Object"],["em","(default: 5)"]],["para","The margin of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left margin to 3px.\nmargin: 3\n\n// sets the top and left margin to 1px\n// margin right and bottom are with 0px (by default)\nmargin: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.title.padding ",["inlinecode","Number | Object"],["em","(default: 0)"]],["para","The padding of the title."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// padding right and bottom are with 0px (by default)\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.title.position ",["inlinecode","String"],["em","(default: \"center\")"]],["para","The position of the title."],["header",{"level":4},["em","\"top\""]],["para","The axis title is positioned on the top (applicable to vertical axis)."],["header",{"level":4},["em","\"bottom\""]],["para","The axis title is positioned on the bottom (applicable to vertical axis)."],["header",{"level":4},["em","\"left\""]],["para","The axis title is positioned on the left (applicable to horizontal axis)."],["header",{"level":4},["em","\"right\""]],["para","\"The axis title is positioned on the right (applicable to horizontal axis)."],["header",{"level":4},["em","\"center\""]],["para","\"The axis title is positioned in the center."],["header",{"level":3},"valueAxis.title.rotation ",["inlinecode","Number"],["em","(default: 0)"]],["para","The rotation angle of the title."],["header",{"level":3},"valueAxis.title.text ",["inlinecode","String"]],["para","The text of the title."],["header",{"level":3},"valueAxis.title.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the title."],["header",{"level":3},"valueAxis.visible ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The visibility of the axis."],["header",{"level":3},"valueAxis.crosshair ",["inlinecode","Object"]],["para","The crosshair configuration options."],["header",{"level":3},"valueAxis.crosshair.color ",["inlinecode","String"]],["para","The color of the crosshair."],["header",{"level":3},"valueAxis.crosshair.width ",["inlinecode","Number"]],["para","The width of the crosshair."],["header",{"level":3},"valueAxis.crosshair.opacity ",["inlinecode","Number"]],["para","The opacity of the crosshair."],["header",{"level":3},"valueAxis.crosshair.dashType ",["inlinecode","Number"]],["para","The dash type of the crosshair."],["header",{"level":3},"valueAxis.crosshair.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The dash type of the crosshair."],["header",{"level":3},"valueAxis.crosshair.tooltip ",["inlinecode","Object"]],["para","The crosshar tooltip configuration options."],["header",{"level":3},"valueAxis.crosshair.tooltip.background ",["inlinecode","String"]],["para","The background color of the tooltip."],["header",{"level":3},"valueAxis.crosshair.tooltip.border ",["inlinecode","Object"]],["para","The border configuration options."],["header",{"level":3},"valueAxis.crosshair.tooltip.border.color ",["inlinecode","String"],["em","(default: \"black\")"]],["para","The color of the border."],["header",{"level":3},"valueAxis.crosshair.tooltip.border.width ",["inlinecode","Number"],["em","(default: 0)"]],["para","The width of the border."],["header",{"level":3},"valueAxis.crosshair.tooltip.color ",["inlinecode","String"]],["para","The text color of the tooltip."],["header",{"level":3},"valueAxis.crosshair.tooltip.font ",["inlinecode","String"],["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The tooltip font."],["header",{"level":3},"valueAxis.crosshair.tooltip.format ",["inlinecode","String"]],["para","The tooltip format."],["header",{"level":4},"Example"],["code_block","//sets format of the tooltip\nformat: \"C\""],["header",{"level":3},"valueAxis.crosshair.tooltip.padding ",["inlinecode","Number|Object"]],["para","The padding of the tooltip."],["header",{"level":4},"Example"],["code_block","// sets the top, right, bottom and left padding to 3px.\npadding: 3\n\n// sets the top and left padding to 1px\n// right and bottom padding are left at their default values\npadding: { top: 1, left: 1 }"],["header",{"level":3},"valueAxis.crosshair.tooltip.template ",["inlinecode","String|Function"]],["para","The tooltip template.\nTemplate variables:"],["bulletlist",["listitem",["strong","value"]," - the point value (either a number or an object)"]],["header",{"level":4},"Example"],["code_block","// chart initialization\n$(\"#chart\").kendoChart({\n     title: {\n         text: \"My Chart Title\"\n     },\n     series: [{\n             name: \"Series 1\",\n             data: [200, 450, 300, 125]\n     }],\n     categoryAxis: {\n         categories: [2000, 2001, 2002, 2003]\n     },\n     valueAxis: {\n         crosshair: {\n             visible: true,\n             tooltip: {\n                 visible: true,\n                 template: \"value: #= value #\"\n             }\n         }\n     }\n});"],["header",{"level":3},"valueAxis.crosshair.tooltip.visible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","A value indicating if the tooltip should be displayed."],["header",{"level":3},"valueAxis.notes ",["inlinecode","Object"]],["para","The value axis notes configuration."],["header",{"level":3},"valueAxis.notes.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.icon ",["inlinecode","Object"]],["para","The icon of the notes."],["header",{"level":3},"valueAxis.notes.icon.background ",["inlinecode","String"]],["para","The background color of the notes icon."],["header",{"level":4},"Example - set the value axis notes icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis notes icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis notes icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis notes icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        border: {\n          width: 2,\n          color: \"red\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis notes icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        size: 30\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis notes icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        shape: \"triangle\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis notes icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      icon: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label ",["inlinecode","Object"]],["para","The label of the notes."],["header",{"level":3},"valueAxis.notes.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        background: \"red\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\",\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          color: \"green\"\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          dashType: \"dashDot\",\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        border: {\n          width: 1\n        }\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.color ",["inlinecode","String"]],["para","The text color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the label."],["header",{"level":4},"Example - set the chart series label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        font: \"20px sans-serif\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the value value"]],["header",{"level":4},"Example - set the value axis notes label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        template: \"Year: #: value #\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        visible: false\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis notes label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        rotation: 90\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the notes label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis notes label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      label: {\n        format: \"value slot: {0}\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the labels."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.line ",["inlinecode","Object"]],["para","The line of the notes."],["header",{"level":3},"valueAxis.notes.line.width ",["inlinecode","Number"]],["para","The line width of the notes."],["header",{"level":4},"Example - set the value axis notes line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        width: 4\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.color ",["inlinecode","String"]],["para","The line color of the notes."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        color: \"#aa00bb\"\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis notes color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      line: {\n        length: 20\n      },\n      data: [{ value: 1 }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data ",["inlinecode","Array"]],["para","The items of the notes."],["header",{"level":3},"valueAxis.notes.data.value ",["inlinecode","Object"]],["para","The value of the note."],["header",{"level":3},"valueAxis.notes.data.position ",["inlinecode","String"]],["para","The position of the value axis note."],["bulletlist",["listitem","\"top\" - The note is positioned on the top."],["listitem","\"bottom\" - The note is positioned on the bottom."],["listitem","\"left\" - The note is positioned on the left."],["listitem","\"right\" - The note is positioned on the right."]],["header",{"level":3},"valueAxis.notes.data.icon ",["inlinecode","Object"]],["para","The icon of the note."],["header",{"level":3},"valueAxis.notes.data.icon.background ",["inlinecode","String"]],["para","The background color of the note icon."],["header",{"level":4},"Example - set the value axis note icon background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border ",["inlinecode","Object"]],["para","The border of the icon."],["header",{"level":4},"Example - set the value axis note icon border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.color ",["inlinecode","String"]],["para","The border color of the icon."],["header",{"level":4},"Example - set the value axis note icon border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.border.width ",["inlinecode","Number"]],["para","The border width of the icon."],["header",{"level":4},"Example - set the value axis note icon border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          border: {\n            width: 2,\n            color: \"red\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.size ",["inlinecode","Number"]],["para","The size of the icon."],["header",{"level":4},"Example - set the value axis note icon size"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          size: 30\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.type ",["inlinecode","String"]," ",["em","(default: \"circle\")"]],["para","The icon shape."],["para","The supported values are:\n",["em"," \"circle\" - the marker shape is circle.\n"]," \"square\" - the marker shape is square.\n",["em"," \"triangle\" - the marker shape is triangle.\n"]," \"cross\" - the marker shape is cross."],["header",{"level":4},"Example - set the value axis note icon shape"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          shape: \"triangle\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.icon.visible ",["inlinecode","Boolean"]," ",["em","(default: \"true\")"]],["para","The icon visibility."],["header",{"level":4},"Example - set the value axis note icon visibility"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        icon: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label ",["inlinecode","Object"]],["para","The label of the note."],["header",{"level":3},"valueAxis.notes.data.label.background ",["inlinecode","String"]],["para","The background color of the label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label background"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notesdata {\n      data: [{\n        value: 1,\n        label: {\n          background: \"red\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border ",["inlinecode","Object"]],["para","The border of the label."],["header",{"level":4},"Example - set the value axis note label border"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\",\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.color ",["inlinecode","String"]," ",["em","(default: \"black\")"]],["para","The color of the border. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label border color"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            color: \"green\"\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.dashType ",["inlinecode","String"]," ",["em","(default: \"solid\")"]],["para","The dash type of the border."],["para","The following dash types are supported:"],["bulletlist",["listitem","\"dash\" - a line consisting of dashes"],["listitem","\"dashDot\" - a line consisting of a repeating pattern of dash-dot"],["listitem","\"dot\" - a line consisting of dots"],["listitem","\"longDash\" - a line consisting of a repeating pattern of long-dash"],["listitem","\"longDashDot\" - a line consisting of a repeating pattern of long-dash-dot"],["listitem","\"longDashDotDot\" - a line consisting of a repeating pattern of long-dash-dot-dot"],["listitem","\"solid\" - a solid line"]],["header",{"level":4},"Example - set the value axis note label border dash type"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            dashType: \"dashDot\",\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.border.width ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The width of the border in pixels. By default the border width is set to zero which means that the border will not appear."],["header",{"level":4},"Example - set the value axis note label border width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          border: {\n            width: 1\n          }\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.color ",["inlinecode","String"]],["para","The text color of the note label. Accepts a valid CSS color string, including hex and rgb."],["header",{"level":4},"Example - set the value axis note label color as a hex string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.font ",["inlinecode","String"]," ",["em","(default: \"12px Arial,Helvetica,sans-serif\")"]],["para","The font style of the note label."],["header",{"level":4},"Example - set the value axis note label font"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          font: \"20px sans-serif\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the labels."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the axis value"]],["header",{"level":4},"Example - set the value axis note label template as a string"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          template: \"Year: #: value #\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the chart will display the value axis notes label. By default the value axis notes label are visible."],["header",{"level":4},"Example - hide the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          visible: false\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.rotation ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The rotation angle of the label. By default the label are not rotated."],["header",{"level":4},"Example - rotate the value axis note label"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          rotation: 90\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.format ",["inlinecode","String"]," ",["em","(default: \"{0}\")"]],["para","The format used to display the note label. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one placeholder (\"{0}\") which represents the axis value."],["header",{"level":4},"Example - set the value axis note label format"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          format: \"value slot: {0}\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.text ",["inlinecode","String"]],["para","The label note text."],["header",{"level":4},"Example - set the value axis label note text"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        label: {\n          text: \"A\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.label.position ",["inlinecode","String"]," ",["em","(default: \"inside\")"]],["para","The position of the value axis note label."],["bulletlist",["listitem","\"inside\" - the label is positioned inside of the icon."],["listitem","\"outside\" - the label is positioned outside of the icon."]],["header",{"level":3},"valueAxis.notes.data.line ",["inlinecode","Object"]],["para","The line of the note."],["header",{"level":3},"valueAxis.notes.data.line.width ",["inlinecode","Number"]],["para","The line width of the note."],["header",{"level":4},"Example - set the value axis note line width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          width: 4\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.color ",["inlinecode","String"]],["para","The line color of the note."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          color: \"#aa00bb\"\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":3},"valueAxis.notes.data.line.length ",["inlinecode","Number"]],["para","The length of the connecting lines in pixels."],["header",{"level":4},"Example - set the value axis note color width"],["code_block","<div id=\"chart\"></div>\n<script>\n$(\"#chart\").kendoChart({\n  series: [{\n    data: [1, 2, 3]\n  }],\n  valueAxis: {\n    notes: {\n      data: [{\n        value: 1,\n        line: {\n          length: 20\n        }\n      }]\n    }\n  }\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":3},"redraw"],["para","Repaints the chart using the currently loaded data."],["header",{"level":3},"refresh"],["para","Reloads the data and renders the chart."],["header",{"level":3},"setDataSource"],["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":3},"svg"],["para","Returns the ",["link",{"href":"http://www.w3.org/Graphics/SVG/"},"SVG"]," representation of the chart.\nThe returned string is a self-contained SVG document that can be used as is or\nconverted to other formats using tools like ",["link",{"href":"http://inkscape.org/"},"Inkscape"]," and\n",["link",{"href":"http://www.imagemagick.org/"},"ImageMagick"],".\nBoth programs provide command-line interface suitable for server-side processing."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the SVG representation of the chart."],["header",{"level":4},"Example - get the SVG representation of the chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar svg = chart.svg();\nconsole.log(svg); // displays the SVG string\n</script>"],["header",{"level":3},"imageDataURL"],["para","Returns a PNG image of the chart encoded as a ",["link",{"href":"https://developer.mozilla.org/en-US/docs/data_URIs"},"Data URL"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," A data URL with ",["inlinecode","image/png"]," MIME type. Will be ",["inlinecode","null"]," if the browser does not support the ",["inlinecode","canvas"]," element."],["header",{"level":4},"Example - show a snapshot of the Chart"],["code_block","<div id=\"stock-chart\"></div>\n<script>\n$(\"#stock-chart\").kendoStockChart({\n    series: [{\n      type: \"line\",\n      field: \"value\",\n      categoryField: \"date\",\n      data: [\n        { value: 1, date: new Date(2012, 1, 1) },\n        { value: 2, date: new Date(2012, 1, 2) }\n      ]\n    }]\n});\n\nvar chart = $(\"#stock-chart\").data(\"kendoStockChart\");\nvar image = chart.imageDataURL();\nif (!window.open(image)) {\n    document.location.href = image;\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"axisLabelClick"],["para","Fires when an axis label is clicked."],["header",{"level":4},"Example"],["code_block","function onAxisLabelClick(e) {\n    alert(\"Clicked \" + e.axis.type + \" axis label with value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axis ",["inlinecode","Object"]],["para","The axis that the label belongs to."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The label value or category name."],["header",{"level":5},"e.text ",["inlinecode","Object"]],["para","The label text."],["header",{"level":5},"e.index ",["inlinecode","Object"]],["para","The label sequential index or category index."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item used to generate the label.\n",["strong"," Applicable only for data bound category axis. "]],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the label."],["header",{"level":3},"legendItemClick"],["para","Fires when an legend item is clicked."],["header",{"level":4},"Example"],["code_block","function onLegendItemClick(e) {\n    alert(\"Clicked \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":3},"legendItemHover"],["para","Fires when an legend item is hovered."],["header",{"level":4},"Example"],["code_block","function onLegendItemHover(e) {\n    alert(\"Hovered \" + e.text + \" series\");\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.text ",["inlinecode","String"]],["para","The name of the series."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series options."],["header",{"level":5},"e.seriesIndex ",["inlinecode","Number"]],["para","The series index."],["header",{"level":5},"e.pointIndex ",["inlinecode","Number"]],["para","The point index."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":3},"dataBound"],["para","Fires when the chart has received data from the data source\nand is about to render it."],["header",{"level":4},"Example"],["code_block","function onDataBound(e) {\n    // Series data is now available\n}"],["header",{"level":3},"dragStart"],["para","Fires when the user has used the mouse or a swipe gesture to drag the chart."],["para","The drag operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"drag"],["para","Fires as long as the user is dragging the chart using the mouse or swipe gestures."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    drag: onDrag\n    ...\n}\n\nfunction onDrag(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"dragEnd"],["para","Fires when the user stops dragging the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the drag action."],["header",{"level":3},"noteClick"],["para","Fired when the user clicks one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":3},"noteHover"],["para","Fired when the user hovers one of the notes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category. Available only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Chart"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The series of the note."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The data item of the point's note."],["header",{"level":3},"plotAreaClick"],["para","Fires when plot area is clicked."],["header",{"level":4},"Example"],["code_block","function onPlotAreaClick(e) {\n    alert(\"Clicked X axis value: \" + e.x);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category.\nAvailable only for categorical charts (bar, line, area and similar)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the plot area."],["header",{"level":5},"e.x ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":5},"e.y ",["inlinecode","Object"]],["para","The X axis value or array of values for multi-axis charts."],["header",{"level":3},"seriesClick"],["para","Fires when chart series are clicked."],["header",{"level":4},"Example"],["code_block","function onSeriesClick(e) {\n    alert(\"Clicked value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":3},"seriesHover"],["para","Fires when chart series are hovered."],["header",{"level":4},"Example"],["code_block","function onSeriesHover(e) {\n    alert(\"Hovered value: \" + e.value);\n}"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Object"]],["para","The data point value."],["header",{"level":5},"e.category ",["inlinecode","Object"]],["para","The data point category"],["header",{"level":5},"e.series ",["inlinecode","Object"]],["para","The clicked series."],["header",{"level":5},"e.series.type ",["inlinecode","String"]],["para","The series type"],["header",{"level":5},"e.series.name ",["inlinecode","String"]],["para","The series name"],["header",{"level":5},"e.series.data ",["inlinecode","Array"]],["para","The series data points"],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The original data item (when binding to dataSource)."],["header",{"level":5},"e.element ",["inlinecode","Object"]],["para","The DOM element of the data point."],["header",{"level":3},"zoomStart"],["para","Fires when the user has used the mousewheel to zoom the chart."],["para","The zoom operation can be aborted by calling ",["inlinecode","e.preventDefault()"],"."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the initial range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["header",{"level":3},"zoom"],["para","Fires as long as the user is zooming the chart using the mousewheel."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the suggested current range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["para","Note that the axis ranges are not updated automatically. You need to call\nset_options with either the suggested or custom min/max values for them to take effect."],["header",{"level":4},"Example"],["code_block","$(\"#chart\").kendoChart({\n    valueAxis: {\n        name: \"price\"\n    },\n    zoom: onZoom\n    ...\n}\n\nfunction onZoom(e) {\n    var minPrice = e.axisRanges.price.min;\n}"],["header",{"level":5},"e.delta ",["inlinecode","Number"]],["para","A number that indicates the zoom amount and direction."],["para","A negative delta indicates \"zoom in\", while a positive \"zoom out\"."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["para","This event can be used to prevent the default mousewheel action (scroll)."],["header",{"level":4},"Example"],["code_block","function onZoom(e) {\n    // Prevent window scroll\n    e.originalEvent.preventDefault();\n}"],["header",{"level":3},"zoomEnd"],["para","Fires when the user stops zooming the chart."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.axisRanges ",["inlinecode","Object"]],["para","A hastable containing the final range (min and max values) of ",["em","named"]," axes.\nThe axis name is used as a key."],["header",{"level":5},"e.originalEvent ",["inlinecode","Object"]],["para","The original user event that triggered the zoom action."],["header",{"level":3},"selectStart"],["para","Fires when the user starts modifying the axis selection."],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."],["header",{"level":3},"select"],["para","Fires when the user modifies the selection."],["para","The range units are:"],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."],["header",{"level":3},"selectEnd"],["para","Fires when the user completes modifying the selection."],["header",{"level":4},["em","Generic axis"]],["para","Category index (0-based)"],["header",{"level":4},["em","Date axis"]],["para","Date instance"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.from ",["inlinecode","Object"]],["para","The lower boundary of the selected range."],["header",{"level":5},"e.to ",["inlinecode","Object"]],["para","The upper boundary of the selected range."],["para",["em","Note"],": The last selected category is at index ",["link_ref",{"ref":"to - 1","original":"[to - 1]"},"to - 1"]," unless\nthe axis is justified. In this case it is at index [to]."]]},"kendo.data.Binder":{"file":"api/framework/binder.md","name":"kendo.data.Binder","config":[],"methods":[{"name":"refresh","args":[],"short_doc":[["para","Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change."]],"doc":[["para","Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change."],["header",{"level":4},"Example - slide up or down the element when the bound value changes"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"]],"examples":[[["header",{"level":4},"Example - slide up or down the element when the bound value changes"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"]]]}],"events":[],"fields":[{"name":"bindings","type":["Object"],"short_doc":[["para","Represents all bindings applied to the current HTML ",["link",{"href":"#fields-element"},"element"],". Use it to get or set the current view model field value."]],"doc":[["para","Represents all bindings applied to the current HTML ",["link",{"href":"#fields-element"},"element"],". Use it to get or set the current view model field value."],["header",{"level":4},"Example - get the view model field"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        // get the value of the view model field to which the slide binding is bound (slideChecked)\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"]]},{"name":"element","type":["Element"],"short_doc":[["para","The bound HTML element."]],"doc":[["para","The bound HTML element."],["header",{"level":4},"Example - use the HTML element of the binder"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"]]}],"short_doc":[["para","The base class of the Kendo UI MVVM-style bindings. Use it to create custom MVVM bindings."]],"doc":[["para","The base class of the Kendo UI MVVM-style bindings. Use it to create custom MVVM bindings."],["header",{"level":2},"Fields"],["header",{"level":3},"bindings ",["inlinecode","Object"]],["para","Represents all bindings applied to the current HTML ",["link",{"href":"#fields-element"},"element"],". Use it to get or set the current view model field value."],["header",{"level":4},"Example - get the view model field"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        // get the value of the view model field to which the slide binding is bound (slideChecked)\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":3},"element ",["inlinecode","Element"]],["para","The bound HTML element."],["header",{"level":4},"Example - use the HTML element of the binder"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":2},"Class methods"],["header",{"level":3},"extend"],["para","Creates a new binding which inherits from the kendo.data.Binder class."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," a new class which inherits the base methods."],["header",{"level":4},"Parameters"],["header",{"level":5},"prototype ",["inlinecode","Object"]],["para","A key/value pair of all methods that the new class will have."],["header",{"level":4},"Example - create custom HTML element binding"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":4},"Example - create custom Kendo UI Widget binding"],["code_block","<input data-role=\"numerictextbox\" id=\"numeric\" data-bind=\"value: value, max: max\" />\n<script>\nkendo.data.binders.widget.max = kendo.data.Binder.extend({\n  init: function(widget, bindings, options) {\n      //call the base constructor\n      kendo.data.Binder.fn.init.call(this, widget.element[0], bindings, options);\n  },\n  refresh: function() {\n      var that = this,\n      value = that.bindings[\"max\"].get(); //get the value from the View-Model\n      $(that.element).data(\"kendoNumericTextBox\").max(value); //update the widget\n  }\n});\nvar viewModel = kendo.observable( {\n  value: 10,\n  max: 100\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"refresh"],["para","Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change."],["header",{"level":4},"Example - slide up or down the element when the bound value changes"],["code_block","<div data-bind=\"slide: slideChecked\" style=\"background: orange; width: 100px; height: 100px\"></div>\n<label>Check to slide<input type=\"checkbox\" data-bind=\"checked: slideChecked\"></label>\n<script>\nkendo.data.binders.slide = kendo.data.Binder.extend({\n    refresh: function() {\n        var value = this.bindings[\"slide\"].get();\n\n        if (value) {\n            $(this.element).slideDown();\n        } else {\n            $(this.element).slideUp();\n        }\n    }\n});\nvar viewModel = kendo.observable({\n  slideChecked: true\n});\nkendo.bind(document.body, viewModel);\n</script>"]]},"kendo.Class":{"file":"api/framework/class.md","name":"kendo.Class","config":[],"methods":[],"events":[],"fields":[{"name":"fn","type":["Object"],"short_doc":[["para","An alias to the ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/prototype"},"prototype"]," of the class. Often used to call methods of the base class."]],"doc":[["para","An alias to the ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/prototype"},"prototype"]," of the class. Often used to call methods of the base class."],["header",{"level":4},"Example - use the prototype to call base methods"],["code_block","<script>\n// Create a base class\nvar Animal = kendo.Class.extend({\n    // The `init` method will be called when a new instance is created\n    init: function(legs) {\n       this.legs = legs;\n    }\n});\n\n// Inherit from that class\n\nvar Bird = Animal.extend({\n    init: function() {\n        // Use the `fn` field to call the `init` method of the base class (Animal)\n        Animal.fn.init.call(this, 2);\n    }\n});\n\nvar birdie = new Bird();\n\nconsole.log(birdie.legs); // outputs 2\n</script>"]]}],"short_doc":[["para","The base class of most Kendo objects. Provides simple inheritance support."]],"doc":[["para","The base class of most Kendo objects. Provides simple inheritance support."],["header",{"level":2},"Fields"],["header",{"level":3},"fn ",["inlinecode","Object"]],["para","An alias to the ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Object/prototype"},"prototype"]," of the class. Often used to call methods of the base class."],["header",{"level":4},"Example - use the prototype to call base methods"],["code_block","<script>\n// Create a base class\nvar Animal = kendo.Class.extend({\n    // The `init` method will be called when a new instance is created\n    init: function(legs) {\n       this.legs = legs;\n    }\n});\n\n// Inherit from that class\n\nvar Bird = Animal.extend({\n    init: function() {\n        // Use the `fn` field to call the `init` method of the base class (Animal)\n        Animal.fn.init.call(this, 2);\n    }\n});\n\nvar birdie = new Bird();\n\nconsole.log(birdie.legs); // outputs 2\n</script>"],["header",{"level":2},"Class methods"],["header",{"level":3},"extend"],["para","Extends an existing class with new methods."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," a new class which inherits the base methods."],["header",{"level":4},"Parameters"],["header",{"level":5},"prototype ",["inlinecode","Object"]],["para","A key/value pair of all methods that the new class will have."],["header",{"level":4},"Example - inheritance"],["code_block","<script>\nvar Animal = kendo.Class.extend({\n    move: function() {\n        console.log(\"Animal.move()\");\n    }\n});\n\nvar Bird = Animal.extend({\n   move: function() {\n        Animal.fn.move.call(this);\n\n        console.log(\"Fly\");\n   }\n});\n\nvar Cat = Animal.extend({\n   move: function() {\n        Animal.fn.move.call(this);\n\n        console.log(\"Sneak\");\n   }\n});\n\nvar tweety = new Bird();\n\ntweety.move(); // outputs \"Animal.move()\" then \"Fly\"\n\nvar sylvester = new Cat();\n\nsylvester.move(); // outputs \"Animal.move()\" then \"Sneak\"\n\nconsole.log(tweety instanceof Bird); // outputs \"true\" because tweety is an instanfe of Bird\n\nconsole.log(tweety instanceof Animal); // outputs \"true\" because Animal is the base class of Bird\n\nconsole.log(tweety instanceof Cat); // outputs \"false\" because tweety is not an instance of Cat\n</script>"]]},"kendo.Color":{"file":"api/framework/color.md","name":"kendo.Color","config":[],"methods":[{"name":"diff","args":[],"short_doc":[["para","Computes the relative luminance between two colors."]],"doc":[["para","Computes the relative luminance between two colors."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The relative luminance."],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n\nvar crimson = kendo.parseColor(\"#dc143c\");\nvar pink = kendo.parseColor(\"#ffc0cb\");\nvar white = kendo.parseColor(\"#ffffff\");\n\nconsole.log(red.diff(crimson)); // logs 17.118\nconsole.log(red.diff(pink));    // logs 115.459\nconsole.log(red.diff(white));   // logs 153.042\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n\nvar crimson = kendo.parseColor(\"#dc143c\");\nvar pink = kendo.parseColor(\"#ffc0cb\");\nvar white = kendo.parseColor(\"#ffffff\");\n\nconsole.log(red.diff(crimson)); // logs 17.118\nconsole.log(red.diff(pink));    // logs 115.459\nconsole.log(red.diff(white));   // logs 153.042\n</script>"]]]},{"name":"equals","args":[],"short_doc":[["para","Compares two color objects for equality."]],"doc":[["para","Compares two color objects for equality."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," returns ",["inlinecode","true"]," if the two colors are the same. Otherwise, ",["inlinecode","false"]],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.Color.fromRGB(1,0,0);\nvar green = kendo.Color.fromRGB(0,1,0);\nconsole.log(red.equals(green)); // logs false\n\nvar opaqueRed = kendo.Color.fromBytes(255,0,0,1);\nconsole.log(red.equals(opaqueRed)); // logs true\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.Color.fromRGB(1,0,0);\nvar green = kendo.Color.fromRGB(0,1,0);\nconsole.log(red.equals(green)); // logs false\n\nvar opaqueRed = kendo.Color.fromBytes(255,0,0,1);\nconsole.log(red.equals(opaqueRed)); // logs true\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","The ",["inlinecode","Color"]," object provides a representation of colors, with a set of utility functions."]],"doc":[["para","The ",["inlinecode","Color"]," object provides a representation of colors, with a set of utility functions."],["header",{"level":2},"Methods"],["header",{"level":3},"diff"],["para","Computes the relative luminance between two colors."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The relative luminance."],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n\nvar crimson = kendo.parseColor(\"#dc143c\");\nvar pink = kendo.parseColor(\"#ffc0cb\");\nvar white = kendo.parseColor(\"#ffffff\");\n\nconsole.log(red.diff(crimson)); // logs 17.118\nconsole.log(red.diff(pink));    // logs 115.459\nconsole.log(red.diff(white));   // logs 153.042\n</script>"],["header",{"level":3},"equals"],["para","Compares two color objects for equality."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," returns ",["inlinecode","true"]," if the two colors are the same. Otherwise, ",["inlinecode","false"]],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.Color.fromRGB(1,0,0);\nvar green = kendo.Color.fromRGB(0,1,0);\nconsole.log(red.equals(green)); // logs false\n\nvar opaqueRed = kendo.Color.fromBytes(255,0,0,1);\nconsole.log(red.equals(opaqueRed)); // logs true\n</script>"],["header",{"level":2},"Static Methods"],["header",{"level":3},"fromRGB"],["para","Creates a new color object from the rgba channels in the 0..1 range."],["header",{"level":4},"Parameters"],["header",{"level":5},"red ",["inlinecode","Number"]],["para","The red channel of the color, in the range from 0 to 1."],["header",{"level":5},"green ",["inlinecode","Number"]],["para","The green channel of the color, in the range from 0 to 1."],["header",{"level":5},"blue ",["inlinecode","Number"]],["para","The blue channel of the color, in the range from 0 to 1."],["header",{"level":5},"alpha ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The alpha channel of the color, in the range from 0 to 1. Defaults to 1 when omitted."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," A new object that represents the color with the passed color coordinates"],["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar color = kendo.Color.fromRGB(1,0,0);\nconsole.log(color.toCss()); // logs \"#ff0000\"\n\ncolor = kendo.Color.fromRGB(0,1,0,1);\nconsole.log(color.toCssRgba()); // logs \"rgba(0, 255, 0, 1)\"\n</script>"],["header",{"level":3},"fromHSV"],["para","Creates a new color object from the hsva channels in the 0..1 range."],["header",{"level":4},"Parameters"],["header",{"level":5},"hue ",["inlinecode","Number"]],["para","The hue channel of the color, in the range from 0 to 1."],["header",{"level":5},"saturation ",["inlinecode","Number"]],["para","The saturation channel of the color, in the range from 0 to 1."],["header",{"level":5},"value ",["inlinecode","Number"]],["para","The value channel of the color, in the range from 0 to 1."],["header",{"level":5},"alpha ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The alpha channel of the color, in the range from 0 to 1. Defaults to 1 when omitted."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," A new object that represents the color with the passed color coordinates"],["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar color = kendo.Color.fromHSV(1,.5,.5);\nconsole.log(color.toCss()); // logs \"#804140\"\n\ncolor = kendo.Color.fromHSV(.5,1,.5,1);\nconsole.log(color.toCssRgba()); // logs \"rgba(128, 1, 0, 1)\"\n</script>"],["header",{"level":3},"fromBytes"],["para","Creates a new color object from the rgba channels in the 0..255 range."],["header",{"level":4},"Parameters"],["header",{"level":5},"red ",["inlinecode","Number"]],["para","The red channel of the color, in the range from 0 to 255."],["header",{"level":5},"green ",["inlinecode","Number"]],["para","The green channel of the color, in the range from 0 to 255."],["header",{"level":5},"blue ",["inlinecode","Number"]],["para","The blue channel of the color, in the range from 0 to 255."],["header",{"level":5},"alpha ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The alpha channel of the color, in the range from 0 to 1. Defaults to 1 when omitted."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," A new object that represents the color with the passed color coordinates"],["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar color = kendo.Color.fromBytes(0,0,255);\nconsole.log(color.toCss()); // logs \"#0000ff\"\n\ncolor = kendo.Color.fromBytes(255,255,0,.5);\nconsole.log(color.toCssRgba()); // logs \"rgba(255, 255, 0, 0.5)\"\n</script>"]]},"kendo.data.DataSource":{"file":"api/framework/datasource.md","name":"kendo.data.DataSource","config":[{"name":"aggregate","type":["Array"],"short_doc":[["para","The aggregate(s) which are calculated when the data source populates with data. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["blockquote",["para","The data source calculates aggregates client-side unless the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The aggregate(s) which are calculated when the data source populates with data. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["blockquote",["para","The data source calculates aggregates client-side unless the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - specify aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" },\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"age\", aggregate: \"max\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum, results.min, results.max); // displays \"63 30 33\"\n});\n</script>"]],"sub":[{"name":"field","type":["String"],"short_doc":[["para","The data item field which will be used to calculate the aggregates."]],"doc":[["para","The data item field which will be used to calculate the aggregates."],["header",{"level":4},"Example - specify aggregate field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum); // displays \"63\"\n});\n</script>"]],"orig":"aggregate.field"},{"name":"aggregate","type":["String"],"short_doc":[["para","The name of the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."]],"doc":[["para","The name of the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - specify aggregate function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum); // displays \"63\"\n});"]],"orig":"aggregate.aggregate"}]},{"name":"autoSync","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source would automatically save any changed data items by calling the ",["link",{"href":"#methods-sync"},"sync"]," method. By default changes are not automatically saved."]],"doc":[["para","If set to ",["inlinecode","true"]," the data source would automatically save any changed data items by calling the ",["link",{"href":"#methods-sync"},"sync"]," method. By default changes are not automatically saved."],["header",{"level":4},"Example - enable auto sync"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  autoSync: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20); // auto-syncs and makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"]]},{"name":"batch","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","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\nmakes a HTTP request for every CRUD operation."],["blockquote",["para","The changed data items are sent by default as ",["inlinecode","models"],". This can be changed via the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option."]]],"doc":[["para","If set to ",["inlinecode","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\nmakes a HTTP request for every CRUD operation."],["blockquote",["para","The changed data items are sent by default as ",["inlinecode","models"],". This can be changed via the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option."]],["header",{"level":4},"Example - enable batch mode"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  var anotherProduct = dataSource.at(1);\n  anotherProduct.set(\"UnitPrice\", 20);\n  dataSource.sync(); // causes only one request to \"http://demos.kendoui.com/service/products/update\"\n});\n</script>"]]},{"name":"data","type":["Array","String"],"short_doc":[["para","The array of data items which the data source contains. The data source will wrap those items as ",["link",{"href":"/api/framework/obvservableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if ",["link",{"href":"#configuration-schema.model"},"schema.model"]," is set)."],["para","Can be set to a string value if the ",["link",{"href":"#configuration-schema.type"},"schema.type"]," option is set to \"xml\"."]],"doc":[["para","The array of data items which the data source contains. The data source will wrap those items as ",["link",{"href":"/api/framework/obvservableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if ",["link",{"href":"#configuration-schema.model"},"schema.model"]," is set)."],["para","Can be set to a string value if the ",["link",{"href":"#configuration-schema.type"},"schema.type"]," option is set to \"xml\"."],["header",{"level":4},"Example - set the data items of a data source"],["code_block","var dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function(){\n  var janeDoe = dataSource.at(0);\n  console.log(janeDoe.name); // displays \"Jane Doe\"\n});"],["header",{"level":4},"Example - set the data items as an XML string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: '<books><book id=\"1\"><title>Secrets of the JavaScript Ninja</title></book></books>',\n  schema: {\n    // specify the the schema is XML\n    type: \"xml\",\n    // the XML element which represents a single data record\n    data: \"/books/book\",\n    // define the model - the object which will represent a single data record\n    model: {\n      // configure the fields of the object\n      fields: {\n        // the \"title\" field is mapped to the text of the \"title\" XML element\n        title: \"title/text()\",\n        // the \"id\" field is mapped to the \"id\" attribute of the \"book\" XML element\n        id: \"@id\"\n      }\n    }\n  }\n});\ndataSource.fetch(function() {\n  var books = dataSource.data();\n  console.log(books[0].title); // displays \"Secrets of the JavaScript Ninja\"\n});\n</script>"]]},{"name":"filter","type":["Array","Object"],"short_doc":[["para","The filter(s) which is (are) applied over the data items. By default no filter is applied."],["blockquote",["para","The data source filters the data items client-side unless the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The filter(s) which is (are) applied over the data items. By default no filter is applied."],["blockquote",["para","The data source filters the data items client-side unless the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set a single filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":4},"Example - set filter as conjunction (and)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: [\n    // leave data items which are \"Beverage\" and not \"Coffee\"\n    { field: \"category\", operator: \"eq\", value: \"Beverages\" },\n    { field: \"name\", operator: \"neq\", value: \"Coffee\" }\n  ]\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Tea\"\n});\n</script>"],["header",{"level":4},"Example - set filter as disjunction (or)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"]],"sub":[{"name":"value","type":["Object"],"short_doc":[["para","The value to which the ",["link",{"href":"#configuration-filter.field"},"field"]," is compared. The value must be from the same type as the field."]],"doc":[["para","The value to which the ",["link",{"href":"#configuration-filter.field"},"field"]," is compared. The value must be from the same type as the field."],["header",{"level":4},"Example - specify the filter value"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", birthday: new Date(1983, 1, 1) },\n    { name: \"John Doe\", birthday: new Date(1980, 1, 1)}\n  ],\n  filter: { field: \"birthday\", operator: \"gt\", value: new Date(1980, 1, 1) }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"]],"orig":"filter.value"},{"name":"operator","type":["String"],"short_doc":[["para","The filter operator (comparison). The supported operators are: \"eq\" (equal to), \"neq\" (not equal to), \"lt\" (less than), \"lte\" (less than or equal to), \"gt\" (greater than), \"gte\" (greater than or equal to),\n\"startswith\", \"endswith\", \"contains\". The last three are supported only for string fields."]],"doc":[["para","The filter operator (comparison). The supported operators are: \"eq\" (equal to), \"neq\" (not equal to), \"lt\" (less than), \"lte\" (less than or equal to), \"gt\" (greater than), \"gte\" (greater than or equal to),\n\"startswith\", \"endswith\", \"contains\". The last three are supported only for string fields."],["header",{"level":4},"Example - set the filter operator"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"]],"orig":"filter.operator"},{"name":"logic","type":["String"],"short_doc":[["para","The logical operation to use when the ",["inlinecode","filter.filters"]," option is set. The supported values are \"and\" and \"or\"."]],"doc":[["para","The logical operation to use when the ",["inlinecode","filter.filters"]," option is set. The supported values are \"and\" and \"or\"."]],"orig":"filter.logic"},{"name":"filters","type":["Array"],"short_doc":[["para","The nested filter expressions. Suppor the same options as ",["link",{"href":"#configuration-filter"},"filter"],". Filters can be nested indefinitely."]],"doc":[["para","The nested filter expressions. Suppor the same options as ",["link",{"href":"#configuration-filter"},"filter"],". Filters can be nested indefinitely."]],"orig":"filter.filters"},{"name":"field","type":["String"],"short_doc":[["para","The data item field to which the filter operator is applied."]],"doc":[["para","The data item field to which the filter operator is applied."],["header",{"level":4},"Example - set the filter field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"]],"orig":"filter.field"}]},{"name":"Example - nested filters","type":[],"short_doc":[["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"]],"doc":[["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"]]},{"name":"Example - set the filter logic","type":[],"short_doc":[["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"]],"doc":[["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"]]},{"name":"group","type":["Array","Object"],"short_doc":[["para","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."],["blockquote",["para","The data source groups the data items client-side unless the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","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."],["blockquote",["para","The data source groups the data items client-side unless the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set group as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // group by the \"category\" field\n  group: { field: \"category\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  var beverages = view[0];\n  console.log(beverages.value); // displays \"Beverages\"\n  console.log(beverages.items[0].name); // displays \"Tea\"\n  console.log(beverages.items[1].name); // displays \"Coffee\"\n  var food = view[1];\n  console.log(food.value); // displays \"Food\"\n  console.log(food.items[0].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":4},"Example - set group as an array (subgroups)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Pork\", category: \"Food\", subcategory: \"Meat\" },\n    { name: \"Pepper\", category: \"Food\", subcategory: \"Vegetables\" },\n    { name: \"Beef\", category: \"Food\", subcategory: \"Meat\" }\n  ],\n  group: [\n    // group by \"category\" and then by \"subcategory\"\n    { field: \"category\" },\n    { field: \"subcategory\" },\n  ]\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  var food = view[0];\n  console.log(food.value); // displays \"Food\"\n  var meat = food.items[0];\n  console.log(meat.value); // displays \"Meat\"\n  console.log(meat.items.length); // displays \"2\"\n  console.log(meat.items[0].name); // displays \"Pork\"\n  console.log(meat.items[1].name); // displays \"Beef\"\n  var vegetables = food.items[1];\n  console.log(vegetables.value); // displays \"Vegetables\"\n  console.log(vegetables.items.length); // displays \"1\"\n  console.log(vegetables.items[0].name); // displays \"Pepper\"\n});\n</script>"]],"sub":[{"name":"field","type":["String"],"short_doc":[["para","The data item field to group by."]],"doc":[["para","The data item field to group by."],["header",{"level":4},"Example - set the field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // group by the \"category\" field\n  group: { field: \"category\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.items[0].name); // displays \"Tea\"\n  console.log(beverages.items[1].name); // displays \"Coffee\"\n  var food = view[1];\n  console.log(food.items[0].name); // displays \"Ham\"\n});\n</script>"]],"orig":"group.field"},{"name":"dir","type":["String"],"default":"\"asc\"","short_doc":[["para","The sort order of the group. The supported values are \"asc\" (ascending order) and \"desc\" (descending order). The default sort order is ascending."]],"doc":[["para","The sort order of the group. The supported values are \"asc\" (ascending order) and \"desc\" (descending order). The default sort order is ascending."],["header",{"level":4},"Example - sort the groups in descending order"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\"},\n    { name: \"Ham\", category: \"Food\"},\n  ],\n  // group by \"category\" in descending order\n  group: { field: \"category\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var food = view[0];\n  console.log(food.value); // displays \"Food\"\n  var beverages = view[1];\n  console.log(beverages.value); // displays \"Beverages\"\n});\n</script>"]],"orig":"group.dir"},{"name":"aggregates","type":["Array"],"short_doc":[["para","The aggregate(s) which are calculated during grouping. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."]],"doc":[["para","The aggregate(s) which are calculated during grouping. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - set group aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 },\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      { field: \"price\", aggregate: \"max\" },\n      { field: \"price\", aggregate: \"min\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n  console.log(beverages.aggregates.price.min); // displays \"1\"\n  var food = view[1];\n  console.log(food.aggregates.price.max); // displays \"3\"\n  console.log(food.aggregates.price.min); // displays \"3\"\n});\n</script>"]],"sub":[{"name":"field","type":["String"],"short_doc":[["para","The data item field which will be used to calculate the aggregates."]],"doc":[["para","The data item field which will be used to calculate the aggregates."],["header",{"level":4},"Example - specify aggregate field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 }\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      // calculate max price\n      { field: \"price\", aggregate: \"max\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n});\n</script>"]],"orig":"group.aggregates.field"},{"name":"aggregate","type":["String"],"short_doc":[["para","The name of the aggregate function. Specifies the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."]],"doc":[["para","The name of the aggregate function. Specifies the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - specify aggregate function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 }\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      // calculate max price\n      { field: \"price\", aggregate: \"max\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n});\n</script>"]],"orig":"group.aggregates.aggregate"}],"orig":"group.aggregates"}]},{"name":"page","type":["Number"],"short_doc":[["para","The page of data which the data source will return when the ",["link",{"href":"#methods-view"},"view"]," method is invoked or request from the remote service."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The page of data which the data source will return when the ",["link",{"href":"#methods-view"},"view"]," method is invoked or request from the remote service."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // set the second page as the current page\n  page: 2,\n  pageSize: 2\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Ham\"\n});\n</script>"]]},{"name":"pageSize","type":["Number"],"short_doc":[["para","The number of data items per page."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The number of data items per page."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  page: 1,\n  // a page of data contains two data items\n  pageSize: 2\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Coffee\"\n});\n</script>"]]},{"name":"schema","type":["Object"],"short_doc":[["para","The configuration used to parse the remote service response."]],"doc":[["para","The configuration used to parse the remote service response."],["header",{"level":4},"Example - specify the schema of the remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: function(response) {\n      return response.results; // twitter's response is { \"results\": [ /* results */ ] }\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"]],"sub":[{"name":"type","type":["String"],"default":"\"json\"","short_doc":[["para","The type of the response. The supported values are \"xml\" and \"json\". By default the schema interprets the server response as JSON."]],"doc":[["para","The type of the response. The supported values are \"xml\" and \"json\". By default the schema interprets the server response as JSON."],["header",{"level":4},"Example - use XML data"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: '<books><book id=\"1\"><title>Secrets of the JavaScript Ninja</title></book></books>',\n  schema: {\n    // specify the the schema is XML\n    type: \"xml\",\n    // the XML element which represents a single data record\n    data: \"/books/book\",\n    // define the model - the object which will represent a single data record\n    model: {\n      // configure the fields of the object\n      fields: {\n        // the \"title\" field is mapped to the text of the \"title\" XML element\n        title: \"title/text()\",\n        // the \"id\" field is mapped to the \"id\" attribute of the \"book\" XML element\n        id: \"@cover\"\n      }\n    }\n  }\n});\ndataSource.fetch(function() {\n  var books = dataSource.data();\n  console.log(books[0].title); // displays \"Secrets of the JavaScript Ninja\"\n});\n</script>"]],"orig":"schema.type"},{"name":"total","type":["Function","String"],"short_doc":[["para","The field from the server response which contains the total number of data items. Can be set to a function which is called to\nreturn the total number of data items for the response."],["blockquote",["para","If ",["inlinecode","schema.total"]," is not specified the ",["inlinecode","length"]," of the ",["inlinecode","Array"]," returned by ",["link",{"href":"#configuration-schema.data"},"schema.data"]," will be used."],["para","The ",["inlinecode","schema.total"]," option must be set if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The field from the server response which contains the total number of data items. Can be set to a function which is called to\nreturn the total number of data items for the response."],["blockquote",["para","If ",["inlinecode","schema.total"]," is not specified the ",["inlinecode","length"]," of the ",["inlinecode","Array"]," returned by ",["link",{"href":"#configuration-schema.data"},"schema.data"]," will be used."],["para","The ",["inlinecode","schema.total"]," option must be set if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The total number of data items."],["header",{"level":4},"Example: set total as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    total: \"total\" // total is returned in the \"total\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example: set total as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    total: function(response) {\n      return response.total; // total is returned in the \"total\" field of the response\n    }\n  }\n});\n</script>"]],"orig":"schema.total"},{"name":"parse","type":["Function"],"short_doc":[["para","Executed before the server response is used. Use it to preprocess or parse the server response."]],"doc":[["para","Executed before the server response is used. Use it to preprocess or parse the server response."],["header",{"level":4},"Example - data projection"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  schema: {\n    parse: function(response) {\n      var products = [];\n      for (var i = 0; i < response.length; i++) {\n        var product = {\n          id: response[i].ProductID,\n          name: response[i].ProductName\n        };\n        products.push(product);\n      }\n      return products;\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  var product = data[0];\n  console.log(product.name); // displays \"Chai\"\n});\n</script>"]],"orig":"schema.parse"},{"name":"model","type":["Object","kendo.data.Model"],"short_doc":[["para","The data item (model) configuration."],["para","If set to an object the ",["link",{"href":"/api/framework/model#model.define"},"Model.define"]," method will be used to initialize the data source model."],["para","If set to an existing ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance the data source will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data item (model) configuration."],["para","If set to an object the ",["link",{"href":"/api/framework/model#model.define"},"Model.define"]," method will be used to initialize the data source model."],["para","If set to an existing ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance the data source will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set the model as a JavaScript object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  schema: {\n    model: {\n      id: \"ProductID\",\n      fields: {\n        ProductID: {\n          //this field will not be editable (default value is true)\n          editable: false,\n          // a defaultValue will not be assigned (default value is false)\n          nullable: true\n        },\n        ProductName: {\n          //set validation rules\n          validation: { required: true }\n        },\n        UnitPrice: {\n          //data type of the field {Number|String|Boolean|Date} default is String\n          type: \"number\",\n          // used when new model is created\n          defaultValue: 42,\n          validation: { required: true, min: 1 }\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the model as an existing kendo.data.Model instance"],["code_block","<script>\nvar Product = kendo.model.define({\n  id: \"ProductID\",\n  fields: {\n    ProductID: {\n      //this field will not be editable (default value is true)\n      editable: false,\n      // a defaultValue will not be assigned (default value is false)\n      nullable: true\n    },\n    ProductName: {\n      //set validation rules\n      validation: { required: true }\n    },\n    UnitPrice: {\n      //data type of the field {Number|String|Boolean|Date} default is String\n      type: \"number\",\n      // used when new model is created\n      defaultValue: 42,\n      validation: { required: true, min: 1 }\n    }\n  }\n});\nvar dataSource = new kendo.data.DataSource({\n  schema: {\n    model: Product\n  }\n});\n</script>"]],"orig":"schema.model"},{"name":"groups","type":["Function","String"],"short_doc":[["para","The field from the server response which contains the groups. Can be set to a function which is called to\nreturn the groups from the response."],["blockquote",["para","The ",["inlinecode","groups"]," option is used only when the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]],["para","The result should have the following format:"],["code_block","[{\n  aggregates: {\n    FIEL1DNAME: {\n      FUNCTON1NAME: FUNCTION1VALUE,\n      FUNCTON2NAME: FUNCTION2VALUE\n    },\n    FIELD2NAME: {\n      FUNCTON1NAME: FUNCTION1VALUE\n    }\n  },\n  field: FIELDNAME, // the field by which the data items are grouped\n  hasSubgroups: true, // true if there are subgroups\n  items: [\n    // either the subgroups or the data items\n    {\n      aggregates: {\n        //nested group aggregates\n      },\n      field: NESTEDGROUPFIELDNAME,\n      hasSubgroups: false,\n      items: [\n      // data records\n      ],\n      value: NESTEDGROUPVALUE\n    },\n    //nestedgroup2, nestedgroup3, etc.\n  ],\n  value: VALUE // the group key\n} /* other groups */\n]"]],"doc":[["para","The field from the server response which contains the groups. Can be set to a function which is called to\nreturn the groups from the response."],["blockquote",["para","The ",["inlinecode","groups"]," option is used only when the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]],["para","The result should have the following format:"],["code_block","[{\n  aggregates: {\n    FIEL1DNAME: {\n      FUNCTON1NAME: FUNCTION1VALUE,\n      FUNCTON2NAME: FUNCTION2VALUE\n    },\n    FIELD2NAME: {\n      FUNCTON1NAME: FUNCTION1VALUE\n    }\n  },\n  field: FIELDNAME, // the field by which the data items are grouped\n  hasSubgroups: true, // true if there are subgroups\n  items: [\n    // either the subgroups or the data items\n    {\n      aggregates: {\n        //nested group aggregates\n      },\n      field: NESTEDGROUPFIELDNAME,\n      hasSubgroups: false,\n      items: [\n      // data records\n      ],\n      value: NESTEDGROUPVALUE\n    },\n    //nestedgroup2, nestedgroup3, etc.\n  ],\n  value: VALUE // the group key\n} /* other groups */\n]"],["header",{"level":4},"Example - set groups as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    groups: \"groups\" // groups are returned in the \"groups\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example - set groups as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    groups: function(response) {\n      return response.groups; // groups are returned in the \"groups\" field of the response\n    }\n  }\n});\n</script>"]],"orig":"schema.groups"},{"name":"errors","type":["Function","String"],"default":"\"errors\"","short_doc":[["para","The field from the server response which contains server-side errors. Can be set to a function which is called to\nreturn the errors for response. If there are any errors the ",["link",{"href":"#events-error"},"error"]," event will be fired."]],"doc":[["para","The field from the server response which contains server-side errors. Can be set to a function which is called to\nreturn the errors for response. If there are any errors the ",["link",{"href":"#events-error"},"error"]," event will be fired."],["header",{"level":4},"Example - specify the error field as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"#\" }\n    }\n  },\n  schema: {\n    errors: \"error\" // twitter's response is { \"error\": \"Invalid query\" }\n  },\n  error: function(e) {\n    console.log(e.errors); // displays \"Invalid query\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - specify the error field as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"#\" }\n    }\n  },\n  schema: {\n    errors: function(response) {\n      return response.error; // twitter's response is { \"error\": \"Invalid query\" }\n    }\n  },\n  error: function(e) {\n    console.log(e.errors); // displays \"Invalid query\"\n  }\n});\ndataSource.fetch();\n</script>"]],"orig":"schema.errors"},{"name":"data","type":["Function","String"],"short_doc":[["para","The field from the server response which contains the data items. Can be set to a function which is called to\nreturn the data items for the response."]],"doc":[["para","The field from the server response which contains the data items. Can be set to a function which is called to\nreturn the data items for the response."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The data items from the response."],["header",{"level":4},"Example - specify the field which contains the data items as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: \"results\" // twitter's response is { \"results\": [ /* results */ ] }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"],["header",{"level":4},"Example - specify the field which contains the data items as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: function(response) {\n      return response.results; // twitter's response is { \"results\": [ /* results */ ] }\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"]],"orig":"schema.data"},{"name":"aggregates","type":["Function","String"],"short_doc":[["para","The field from the response which contains the aggregate results. Can be set to a function which is called to\nreturn the aggregate results from the response."],["blockquote",["para","The ",["inlinecode","aggregates"]," option is used only when the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]],["para","The result of the function should be a JavaScript object which contains the aggregate results for every fields in the following format:"],["code_block","{\n  FIEL1DNAME: {\n    FUNCTON1NAME: FUNCTION1VALUE,\n    FUNCTON2NAME: FUNCTION2VALUE\n  },\n  FIELD2NAME: {\n    FUNCTON1NAME: FUNCTION1VALUE\n  }\n}"],["para","For example if the data source is configured like this:"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  aggregate: [\n    { field: \"unitPrice\", aggregate: \"max\" },\n    { field: \"unitPrice\", aggregate: \"min\" },\n    { field: \"ProductName\", aggregate: \"count\" }\n  ]\n});\n</script>"],["para","The aggregate results should have the following format:"],["code_block","{\n  unitPrice: {\n      max: 100,\n      min: 1\n  },\n  productName: {\n      count: 42\n  }\n}"]],"doc":[["para","The field from the response which contains the aggregate results. Can be set to a function which is called to\nreturn the aggregate results from the response."],["blockquote",["para","The ",["inlinecode","aggregates"]," option is used only when the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]],["para","The result of the function should be a JavaScript object which contains the aggregate results for every fields in the following format:"],["code_block","{\n  FIEL1DNAME: {\n    FUNCTON1NAME: FUNCTION1VALUE,\n    FUNCTON2NAME: FUNCTION2VALUE\n  },\n  FIELD2NAME: {\n    FUNCTON1NAME: FUNCTION1VALUE\n  }\n}"],["para","For example if the data source is configured like this:"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  aggregate: [\n    { field: \"unitPrice\", aggregate: \"max\" },\n    { field: \"unitPrice\", aggregate: \"min\" },\n    { field: \"ProductName\", aggregate: \"count\" }\n  ]\n});\n</script>"],["para","The aggregate results should have the following format:"],["code_block","{\n  unitPrice: {\n      max: 100,\n      min: 1\n  },\n  productName: {\n      count: 42\n  }\n}"],["header",{"level":4},"Example - set aggregates as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  schema: {\n    aggregates: \"aggregates\" // aggregate results are returned in the \"aggregates\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example - set aggregates as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  schema: {\n    aggregates: function(response) {\n      return response.aggregates;\n    }\n  }\n});\n</script>"]],"orig":"schema.aggregates"}]},{"name":"serverAggregates","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the aggregate calculation to the remote service. By default the data source calculates aggregates client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.aggregates"},"schema.aggreagates"]," if you set ",["inlinecode","serverAggregates"]," to ",["inlinecode","true"],"."]]],"doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the aggregate calculation to the remote service. By default the data source calculates aggregates client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.aggregates"},"schema.aggreagates"]," if you set ",["inlinecode","serverAggregates"]," to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - enable server aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverAggregates: true,\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ],\n  schema: {\n    aggregates: \"aggregates\" // aggregate results are returned in the \"aggregates\" field of the response\n  }\n});\n</script>"]]},{"name":"serverFiltering","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the filtering implementation to the remote service. By default the data source performs filtering client-side."],["para","By default the ",["link",{"href":"#configuration-filter"},"filter"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the filter ",["inlinecode","{ logic: \"and\", filters: [ { field: \"name\", operator: \"startswith\", value: \"Jane\" } ] }"]," is sent as:"],["bulletlist",["listitem","filter[logic]: and"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[field]: name"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[operator]: startswith"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[value]: Jane"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the filter option in a different format."]],"doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the filtering implementation to the remote service. By default the data source performs filtering client-side."],["para","By default the ",["link",{"href":"#configuration-filter"},"filter"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the filter ",["inlinecode","{ logic: \"and\", filters: [ { field: \"name\", operator: \"startswith\", value: \"Jane\" } ] }"]," is sent as:"],["bulletlist",["listitem","filter[logic]: and"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[field]: name"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[operator]: startswith"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[value]: Jane"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the filter option in a different format."],["header",{"level":4},"Example - enable server filtering"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverFiltering: true,\n  filter: { logic: \"and\", filters: [ { field: \"name\", operator: \"startswith\", value: \"Jane\" } ] }\n});\n</script>"]]},{"name":"serverGrouping","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the grouping implementation to the remote service. By default the data source performs grouping client-side."],["para","By default the ",["link",{"href":"#configuration-group"},"group"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the group ",["inlinecode","{ field: \"category\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","group[0][field]: category"],["listitem","group[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the group option in a different format."]],"doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the grouping implementation to the remote service. By default the data source performs grouping client-side."],["para","By default the ",["link",{"href":"#configuration-group"},"group"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the group ",["inlinecode","{ field: \"category\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","group[0][field]: category"],["listitem","group[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the group option in a different format."],["header",{"level":4},"Example - enable server grouping"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverGrouping: true,\n  group: { field: \"category\", dir: \"desc\" }\n});\n</script>"]]},{"name":"serverPaging","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the data item paging implementation to the remote service. By default the data source performs paging client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if you set ",["inlinecode","serverPaging"]," to ",["inlinecode","true"],"."]],["para","The following options are sent to the server when server paging is enabled:"],["bulletlist",["listitem","page - the page of data item to return (",["inlinecode","1"]," means the first page)"],["listitem","pageSize - the number of items to return"],["listitem","skip - how many data items to skip"],["listitem","take - the number of data items to return (the same as ",["inlinecode","pageSize"],")"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."]],"doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the data item paging implementation to the remote service. By default the data source performs paging client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if you set ",["inlinecode","serverPaging"]," to ",["inlinecode","true"],"."]],["para","The following options are sent to the server when server paging is enabled:"],["bulletlist",["listitem","page - the page of data item to return (",["inlinecode","1"]," means the first page)"],["listitem","pageSize - the number of items to return"],["listitem","skip - how many data items to skip"],["listitem","take - the number of data items to return (the same as ",["inlinecode","pageSize"],")"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."],["header",{"level":4},"Example - enable server paging"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverPaging: true,\n  schema: {\n    total: \"total\" // total is returned in the \"total\" field of the response\n  }\n});\n</script>"]]},{"name":"serverSorting","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the data item sorting implementation to the remote service. By default the data source performs sorting client-side."],["para","By default the ",["link",{"href":"#configuration-sort"},"sort"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the sort ",["inlinecode","{ field: \"age\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","sort[0][field]: age"],["listitem","sort[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."]],"doc":[["para","If set to ",["inlinecode","true"]," the data source will leave the data item sorting implementation to the remote service. By default the data source performs sorting client-side."],["para","By default the ",["link",{"href":"#configuration-sort"},"sort"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the sort ",["inlinecode","{ field: \"age\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","sort[0][field]: age"],["listitem","sort[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."],["header",{"level":4},"Example - enable server sorting"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverSorting: true,\n  sort: { field: \"age\", dir: \"desc\" }\n});\n</script>"]]},{"name":"sort","type":["Array","Object"],"short_doc":[["para","The sort order which will be applied over the data items. By default the data items are not sorted."],["blockquote",["para","The data source sorts the data items client-side unless the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"]," option is set to ",["inlinecode","true"],"."]]],"doc":[["para","The sort order which will be applied over the data items. By default the data items are not sorted."],["blockquote",["para","The data source sorts the data items client-side unless the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - sort the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"],["header",{"level":4},"Example - sort the data items by multiple fields"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  sort: [\n    // sort by \"category\" in descending order and then by \"name\" in ascending order\n    { field: \"category\", dir: \"desc\" },\n    { field: \"name\", dir: \"asc\" }\n  ]\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[1].name); // displays \"Coffee\"\n});\n</script>"]],"sub":[{"name":"field","type":["String"],"short_doc":[["para","The field by which the data items are sorted."]],"doc":[["para","The field by which the data items are sorted."],["header",{"level":4},"Example - specify the sort field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  // order by \"age\" in descending order\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"]],"orig":"sort.field"},{"name":"dir","type":["String"],"short_doc":[["para","The sort order (direction). The supported values are \"asc\" (ascending order) and \"desc\" (descending order)."]],"doc":[["para","The sort order (direction). The supported values are \"asc\" (ascending order) and \"desc\" (descending order)."],["header",{"level":4},"Example - specify the sort order (direction)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  // order by \"age\" in descending order\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"]],"orig":"sort.dir"}]},{"name":"transport","type":["Object"],"short_doc":[["para","The configuration used to load and save the data items. A data source is remote or local based on the way of it retrieves data items."],["para","Remote data sources load and save data items from and to a remote end-point (a.k.a. remote service or server). The ",["inlinecode","transport"]," option describes the remote service configuration - URL, HTTP verb, HTTP headers etc.\nThe ",["inlinecode","transport"]," option can also be used to implement custom data loading and saving."],["para","Local data sources are bound to a JavaScript array via the ",["link",{"href":"#configuration-data"},"data"]," option."]],"doc":[["para","The configuration used to load and save the data items. A data source is remote or local based on the way of it retrieves data items."],["para","Remote data sources load and save data items from and to a remote end-point (a.k.a. remote service or server). The ",["inlinecode","transport"]," option describes the remote service configuration - URL, HTTP verb, HTTP headers etc.\nThe ",["inlinecode","transport"]," option can also be used to implement custom data loading and saving."],["para","Local data sources are bound to a JavaScript array via the ",["link",{"href":"#configuration-data"},"data"]," option."],["header",{"level":4},"Example - specify the remote service configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  console.log(products[0].ProductName); // displays \"Chai\"\n});\n</script>"]],"sub":[{"name":"update","type":["Object","String","Function"],"short_doc":[["para","The configuration used when the data source saves updated data items. Those are data items whose fields have been updated."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.update"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.update"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.update"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.update"]," is a string the data source uses this string as the URL of the remote service."]],"doc":[["para","The configuration used when the data source saves updated data items. Those are data items whose fields have been updated."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.update"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.update"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.update"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.update"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - specify update as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync(); makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"],["header",{"level":4},"Example - specify update as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      /* implementation omitted for brevity */\n    },\n    update: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/update\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/update\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the updated data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync(); makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."]],"doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products/update\",\n      },\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync();\n});\n</script>"]],"orig":"transport.update.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"]],"orig":"transport.update.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.update.dataType"},{"name":"data","type":["Object","Function"],"short_doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"transport.update.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.update.contentType"},{"name":"cache","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"]],"orig":"transport.update.cache"}],"orig":"transport.update"},{"name":"read","type":["Object","String","Function"],"short_doc":[["para","The configuration used when the data source loads data items from a remote service."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.read"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.read"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.read"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.read"]," is a string the data source uses this string as the URL of the remote service."]],"doc":[["para","The configuration used when the data source loads data items from a remote service."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.read"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.read"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.read"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.read"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - set the read remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":4},"Example - send additional parameters to the remote service"],["code_block","<input value=\"html5\" id=\"search\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: {\n        q: $(\"#search\").val() // send the value of the #search input to the remote service\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - set read as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."]],"doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products\",\n      }\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"]],"orig":"transport.read.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"]],"orig":"transport.read.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.read.dataType"},{"name":"data","type":["Object","Function"],"short_doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: {\n        q: \"html5\" // send \"html5\" as the \"q\" parameter\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: function() {\n        return {\n          q: \"html5\" // send \"html5\" as the \"q\" parameter\n        };\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"]],"orig":"transport.read.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.read.contentType"},{"name":"cache","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"]],"orig":"transport.read.cache"}],"orig":"transport.read"},{"name":"parameterMap","type":["Function"],"short_doc":[["para","The function which converts the request parameters to a format suitable for the remote service. By default\nthe data source sends the parameters using jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["blockquote",["para","The ",["inlinecode","parameterMap"]," method is often used to encode the parameters in JSON format."],["para",["strong","Important:"]," The ",["inlinecode","parameterMap"]," function will not be called when using custom functions for the read, update, create and destroy operations. "]]],"doc":[["para","The function which converts the request parameters to a format suitable for the remote service. By default\nthe data source sends the parameters using jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["blockquote",["para","The ",["inlinecode","parameterMap"]," method is often used to encode the parameters in JSON format."],["para",["strong","Important:"]," The ",["inlinecode","parameterMap"]," function will not be called when using custom functions for the read, update, create and destroy operations. "]],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]],["para","The parameters which will be sent to the remote service. The value specified in the ",["inlinecode","data"]," field of the transport settings (create, read, update or destroy) is included as well.\nIf ",["link",{"href":"#batch-boolean-default"},"batch"]," is set to ",["inlinecode","false"]," the fields of the changed data items are also included."],["header",{"level":5},"data.aggregate ",["inlinecode","Array"]],["para","The current aggregate configuration as set via the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.group ",["inlinecode","Array"]],["para","The current grouping configuration as set via the ",["link",{"href":"#configuration-group"},"group"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.filter ",["inlinecode","Object"]],["para","The current filter configuration as set via the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.models ",["inlinecode","Array"]],["para","All changed data items. Available  if there are any data item changes and the ",["link",{"href":"#configuration-batch"},"batch"]," option is set to ",["inlinecode","true"],"."],["header",{"level":5},"data.page ",["inlinecode","Number"]],["para","The current page. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.pageSize ",["inlinecode","Number"]],["para","The current page size as set via the ",["link",{"href":"#configuration-pageSize"},"pageSize"]," option. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.skip ",["inlinecode","Number"]],["para","The number of data items to skip. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.sort ",["inlinecode","Array"]],["para","The current sort configuration as set via the ",["link",{"href":"#configuration-sort"},"sort"]," option. Available if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.take ",["inlinecode","Number"]],["para","The number of data items to return (the same as ",["inlinecode","data.pageSize"],"). Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"type ",["inlinecode","String"]],["para","The type of the request which the data source makes. The supported values are \"create\", \"read\", \"update\" and \"destroy\"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the request parameters converted to a format required by the remote service."],["header",{"level":4},"Example - convert data source request parameters"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Orders?$format=json\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      jsonp: \"$callback\",\n      cache: true\n    },\n    parameterMap: function(data, type) {\n      if (type == \"read\") {\n        // send take as \"$top\" and skip as \"$skip\"\n        return {\n          $top: data.take,\n          $skip: data.skip\n        }\n      }\n    }\n  },\n  schema: {\n    data: \"d\"\n  },\n  pageSize: 20,\n  serverPaging: true // enable serverPaging so take and skip are sent as request parameters\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"20\"\n});\n</script>"],["header",{"level":4},"Example - send request parameters as JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      return kendo.stringify(data);\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"]],"orig":"transport.parameterMap"},{"name":"destroy","type":["Object","String","Function"],"short_doc":[["para","The configuration used when the data source destroys data items. Those are items removed from the data source via the ",["link",{"href":"#methods-remove"},"remove"]," method."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.destroy"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.destroy"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.destroy"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.destroy"]," is a string the data source uses this string as the URL of the remote service."]],"doc":[["para","The configuration used when the data source destroys data items. Those are items removed from the data source via the ",["link",{"href":"#methods-remove"},"remove"]," method."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.destroy"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.destroy"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.destroy"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.destroy"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - set the destroy remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    // make JSONP request to http://demos.kendoui.com/service/products/destroy\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        // send the destroyed data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  // remove the first data item\n  dataSource.remove(products[0]);\n  // send the destroyed data item to the remote service\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - set destroy as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products\",\n        dataType: \"jsonp\",\n        success: function(result) {\n          options.success(result);\n        }\n      });\n    },\n    destroy: function (options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/destroy\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/destroy\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the destroyed data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."]],"doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    destroy: {\n      url: function (options) {\n        return \"http://demos.kendoui.com/service/products/destroy\",\n      },\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"]],"orig":"transport.destroy.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"]],"orig":"transport.destroy.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.destroy.dataType"},{"name":"data","type":["Object","Function"],"short_doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"transport.destroy.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.destroy.contentType"},{"name":"cache","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"]],"orig":"transport.destroy.cache"}],"orig":"transport.destroy"},{"name":"create","type":["Object","String","Function"],"short_doc":[["para","The configuration used when the data source saves newly created data items. Those are items added to the data source via the ",["link",{"href":"#methods-add"},"add"]," or ",["link",{"href":"#methods-insert"},"insert"]," methods."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.create"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.create"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.create"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.create"]," is a string the data source uses this string as the URL of the remote service."],["blockquote",["para",["em","Important:"]," The remote service must return the inserted data items and the data item field configured as the ",["inlinecode","id"]," must be set. For example\nif the ",["inlinecode","id"]," of the data item is ",["inlinecode","ProductID"]," the \"create\" server response must be ",["inlinecode","[{ \"ProductID\": 79 }]"],"."]]],"doc":[["para","The configuration used when the data source saves newly created data items. Those are items added to the data source via the ",["link",{"href":"#methods-add"},"add"]," or ",["link",{"href":"#methods-insert"},"insert"]," methods."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.create"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.create"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.create"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.create"]," is a string the data source uses this string as the URL of the remote service."],["blockquote",["para",["em","Important:"]," The remote service must return the inserted data items and the data item field configured as the ",["inlinecode","id"]," must be set. For example\nif the ",["inlinecode","id"]," of the data item is ",["inlinecode","ProductID"]," the \"create\" server response must be ",["inlinecode","[{ \"ProductID\": 79 }]"],"."]],["header",{"level":4},"Example - set the create remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products/create\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) };\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\n// create a new data item\ndataSource.add( { ProductName: \"New Product\" });\n// save the created data item\ndataSource.sync(); // server response is [{\"ProductID\":78,\"ProductName\":\"New Product\",\"UnitPrice\":0,\"UnitsInStock\":0,\"Discontinued\":false}]\n</script>"],["header",{"level":4},"Example - set create as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      /* implementation omitted for brevity */\n    },\n    create: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/create\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/create\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."]],"doc":[["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      cache: true,\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products/create\"\n      },\n      cache: true,\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"]],"orig":"transport.create.url"},{"name":"type","type":["String"],"default":"\"GET\"","short_doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"]],"orig":"transport.create.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.create.dataType"},{"name":"data","type":["Object","Function"],"short_doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"transport.create.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"]],"orig":"transport.create.contentType"},{"name":"cache","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"]],"orig":"transport.create.cache"}],"orig":"transport.create"}]},{"name":"type","type":["String"],"short_doc":[["para","If set the data source will use a predefined ",["link",{"href":"#configuration-transport"},"transport"]," and/or ",["link",{"href":"#configuration-schema"},"schema"],". The only supported value is \"odata\" which supports the ",["link",{"href":"http://www.odata.org"},"OData"]," v.2 protocol."]],"doc":[["para","If set the data source will use a predefined ",["link",{"href":"#configuration-transport"},"transport"]," and/or ",["link",{"href":"#configuration-schema"},"schema"],". The only supported value is \"odata\" which supports the ",["link",{"href":"http://www.odata.org"},"OData"]," v.2 protocol."],["header",{"level":4},"Example - enable OData support"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: \"http://demos.kendoui.com/service/Northwind.svc/Orders\"\n  },\n  pageSize: 20,\n  serverPaging: true\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"20\"\n});\n</script>"]]}],"methods":[{"name":"add","args":[{"name":"model","type":["Object","kendo.data.Model"],"short_doc":[["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the data item field values."]],"doc":[["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the data item field values."]]}],"short_doc":[["para","Appends a data item to the data source."]],"doc":[["para","Appends a data item to the data source."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.Model"]],["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the data item field values."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the data item which is inserted."],["header",{"level":4},"Example - add a data item to a local data source"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\ndataSource.add({ name: \"John Doe\", age: 33 });\nvar data = dataSource.data();\nvar lastItem = data[data.length - 1];\nconsole.log(lastItem.name); // displays \"John Doe\"\nconsole.log(lastItem.age); // displays \"33\"\n</script>"],["header",{"level":4},"Example - add a data item to a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products/create\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) };\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\n// add a new data item\ndataSource.add( { ProductName: \"New Product\" });\n// save the created data item\ndataSource.sync();\n</script>"]],"examples":[[["header",{"level":4},"Example - add a data item to a local data source"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\ndataSource.add({ name: \"John Doe\", age: 33 });\nvar data = dataSource.data();\nvar lastItem = data[data.length - 1];\nconsole.log(lastItem.name); // displays \"John Doe\"\nconsole.log(lastItem.age); // displays \"33\"\n</script>"]],[["header",{"level":4},"Example - add a data item to a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products/create\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) };\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\n// add a new data item\ndataSource.add( { ProductName: \"New Product\" });\n// save the created data item\ndataSource.sync();\n</script>"]]]},{"name":"aggregate","args":[{"name":"value","type":["Object","Array"],"short_doc":[["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option."]],"doc":[["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option."]]}],"short_doc":[["para","Gets or sets the aggregate configuration."]],"doc":[["para","Gets or sets the aggregate configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current aggregate configuration."],["header",{"level":4},"Example - set the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n// calculate the minimum and maximum age\ndataSource.aggregate([\n  { field: \"age\", aggregate: \"min\" },\n  { field: \"age\", aggregate: \"max\" }\n]);\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"],["header",{"level":4},"Example - get the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"age\", aggregate: \"max\" }\n  ]\n});\nvar aggregates = dataSource.aggregate();\nconsole.log(kendo.stringify(aggregates[0])); // displays {\"aggregate\": \"min\", \"field\": \"age\"}\n</script>"]],"examples":[[["header",{"level":4},"Example - set the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n// calculate the minimum and maximum age\ndataSource.aggregate([\n  { field: \"age\", aggregate: \"min\" },\n  { field: \"age\", aggregate: \"max\" }\n]);\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"]],[["header",{"level":4},"Example - get the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"age\", aggregate: \"max\" }\n  ]\n});\nvar aggregates = dataSource.aggregate();\nconsole.log(kendo.stringify(aggregates[0])); // displays {\"aggregate\": \"min\", \"field\": \"age\"}\n</script>"]]]},{"name":"aggregates","args":[],"short_doc":[["para","Returns the aggregate results."]],"doc":[["para","Returns the aggregate results."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the aggregate results. There is a key for every aggregated field."],["header",{"level":4},"Example - get aggregate results"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"name\", aggregate: \"max\" }\n  ]\n});\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get aggregate results"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"name\", aggregate: \"max\" }\n  ]\n});\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"]]]},{"name":"at","args":[{"name":"index","type":["Number"],"short_doc":[["para","The zero-based index of the data item."]],"doc":[["para","The zero-based index of the data item."]]}],"short_doc":[["para","Returns the data item at the specified index. The index is zero-based."]],"doc":[["para","Returns the data item at the specified index. The index is zero-based."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","The zero-based index of the data item."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the data item at the specified index. Returns ",["inlinecode","undefined"]," if a data item is not found at the specified index.\nReturns a ",["inlinecode","kendo.data.Model"]," instance if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set."],["header",{"level":4},"Example - get a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  var dataItemWhichDoesNotExist = dataSource.at(3);\n  console.log(dataItemWhichDoesNotExist); // displays \"undefined\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - get a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  var dataItemWhichDoesNotExist = dataSource.at(3);\n  console.log(dataItemWhichDoesNotExist); // displays \"undefined\"\n});\n</script>"]]]},{"name":"cancelChanges","args":[{"name":"model","type":["kendo.data.Model"],"short_doc":[["para","The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded."]],"doc":[["para","The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded."]]}],"short_doc":[["para","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."]],"doc":[["para","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."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","kendo.data.Model"]],["para","The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded."],["header",{"level":4},"Example - cancel all changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel all changes\n  dataSource.cancelChanges();\n  dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"1\"\n});\n</script>"],["header",{"level":4},"Example - cancel changes of only one data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel the changes of the dataItem\n  dataSource.cancelChanges(dataItem);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"2\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - cancel all changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel all changes\n  dataSource.cancelChanges();\n  dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"1\"\n});\n</script>"]],[["header",{"level":4},"Example - cancel changes of only one data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel the changes of the dataItem\n  dataSource.cancelChanges(dataItem);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"2\"\n});\n</script>"]]]},{"name":"data","args":[{"name":"value","type":["Array","kendo.data.ObservableArray"],"short_doc":[["para","The data items which will replace the current ones in the data source. If omitted the current data items will be returned."]],"doc":[["para","The data items which will replace the current ones in the data source. If omitted the current data items will be returned."]]}],"short_doc":[["para","Gets or sets the data items of the data source."],["para","If the data source is bound to a remote service (via the ",["link",{"href":"#configuration-transport"},"transport"]," option) the ",["inlinecode","data"]," method will return the service response.\nEvery item from the response is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is bound to a JavaScript array (via the ",["link",{"href":"#configuration-data"},"data"]," option) the ",["inlinecode","data"]," method will return the items of that array.\nEvery item from the array is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is grouped (via the ",["link",{"href":"#configuration-group"},"group"]," option or the ",["link",{"href":"#methods-group"},"group"]," method) and the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," is set to ",["inlinecode","true"],"\nthe ",["inlinecode","data"]," method will return the group items."]],"doc":[["para","Gets or sets the data items of the data source."],["para","If the data source is bound to a remote service (via the ",["link",{"href":"#configuration-transport"},"transport"]," option) the ",["inlinecode","data"]," method will return the service response.\nEvery item from the response is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is bound to a JavaScript array (via the ",["link",{"href":"#configuration-data"},"data"]," option) the ",["inlinecode","data"]," method will return the items of that array.\nEvery item from the array is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is grouped (via the ",["link",{"href":"#configuration-group"},"group"]," option or the ",["link",{"href":"#methods-group"},"group"]," method) and the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," is set to ",["inlinecode","true"],"\nthe ",["inlinecode","data"]," method will return the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Array|kendo.data.ObservableArray"]],["para","The data items which will replace the current ones in the data source. If omitted the current data items will be returned."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableArray"]," the data items of the data source. Returns empty array if the data source hasn't been populated with data items via the ",["link",{"href":"#methods-read"},"read"],", ",["link",{"href":"#methods-fetch"},"fetch"]," or ",["link",{"href":"#methods-query"},"query"]," methods."],["header",{"level":4},"Example - get the data items when bound to array"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"2\"\n  console.log(data[0].name); // displays \"Jane Doe\"\n  console.log(data[1].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the data items when bound to a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"],["header",{"level":4},"Example - set the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  dataSource.data([ { name: \"John Doe\" } ]);\n  var data = dataSource.data();\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - get the data items when bound to array"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"2\"\n  console.log(data[0].name); // displays \"Jane Doe\"\n  console.log(data[1].name); // displays \"John Doe\"\n});\n</script>"]],[["header",{"level":4},"Example - get the data items when bound to a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"]],[["header",{"level":4},"Example - set the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  dataSource.data([ { name: \"John Doe\" } ]);\n  var data = dataSource.data();\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"]]]},{"name":"fetch","args":[{"name":"callback","type":["Function"],"short_doc":[["para","The optional function which is executed when the remote request is finished.  The function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]],"doc":[["para","The optional function which is executed when the remote request is finished.  The function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]]}],"short_doc":[["para","Reads the data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","fetch"]," method makes a request to the remote service only the first time it is called."]]],"doc":[["para","Reads the data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","fetch"]," method makes a request to the remote service only the first time it is called."]],["header",{"level":4},"Parameters"],["header",{"level":5},"callback ",["inlinecode","Function"]," ",["em","(optional)"]],["para","The optional function which is executed when the remote request is finished.  The function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Example - read data from a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\n// read the data items from http://demos.kendoui.com/service/products\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - read data from a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\n// read the data items from http://demos.kendoui.com/service/products\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"]]]},{"name":"filter","args":[{"name":"value","type":["Object"],"short_doc":[["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option (",["strong","check there fo more examples"],")."]],"doc":[["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option (",["strong","check there fo more examples"],")."]]}],"short_doc":[["para","Gets or sets the filter configuration."]],"doc":[["para","Gets or sets the filter configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option (",["strong","check there fo more examples"],")."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the current filter configuration."],["header",{"level":4},"Example - set the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.filter( { field: \"name\", operator: \"startswith\", value: \"Jane\" });\nvar view = dataSource.view();\nconsole.log(view.length);\nconsole.log(view[0].name); // displays \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - get the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\nvar filter = dataSource.filter();\nconsole.log(filter.logic);  // displays \"and\"\nconsole.log(filter.filters[0]); displays '{field: \"name\", operator: \"startswith\", value: \"Jane\"}'\n</script>"]],"examples":[[["header",{"level":4},"Example - set the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.filter( { field: \"name\", operator: \"startswith\", value: \"Jane\" });\nvar view = dataSource.view();\nconsole.log(view.length);\nconsole.log(view[0].name); // displays \"Jane Doe\"\n</script>"]],[["header",{"level":4},"Example - get the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\nvar filter = dataSource.filter();\nconsole.log(filter.logic);  // displays \"and\"\nconsole.log(filter.filters[0]); displays '{field: \"name\", operator: \"startswith\", value: \"Jane\"}'\n</script>"]]]},{"name":"get","args":[{"name":"id","type":["Number","String"],"short_doc":[["para","The id of the model to look for."]],"doc":[["para","The id of the model to look for."]]}],"short_doc":[["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-id"},"id"],"."],["blockquote",["para","The ",["inlinecode","get"]," method requires the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option to be set and the ",["inlinecode","id"]," of the model to be specified."]]],"doc":[["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-id"},"id"],"."],["blockquote",["para","The ",["inlinecode","get"]," method requires the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option to be set and the ",["inlinecode","id"]," of the model to be specified."]],["header",{"level":4},"Parameters"],["header",{"level":5},"id ",["inlinecode","Number|String"]],["para","The id of the model to look for."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the model instance. Returns ",["inlinecode","undefined"]," if a model with the specified id is not found."],["header",{"level":4},"Example - find a model by id"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    {id: 1, name: \"Jane Doe\" },\n    {id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.get(1);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - find a model by id"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    {id: 1, name: \"Jane Doe\" },\n    {id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.get(1);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n});\n</script>"]]]},{"name":"getByUid","args":[{"name":"uid","type":["String"],"short_doc":[["para","The uid of the model to look for."]],"doc":[["para","The uid of the model to look for."]]}],"short_doc":[["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-uid"},"uid"],"."]],"doc":[["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-uid"},"uid"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"uid ",["inlinecode","String"]],["para","The uid of the model to look for."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the model instance. Returns ",["inlinecode","undefined"]," if a model with the specified uid is not found."]],"examples":[]},{"name":"group","args":[{"name":"value","type":["Object","Array"],"short_doc":[["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-group"},"group"]," option."]],"doc":[["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-group"},"group"]," option."]]}],"short_doc":[["para","Gets or sets the grouping configuration."]],"doc":[["para","Gets or sets the grouping configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-group"},"group"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current grouping configuration."],["header",{"level":4},"Example - group the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ]\n});\ndataSource.group({ field: \"category\" });\nvar view = dataSource.view();\nconsole.log(view.length); // displays \"2\"\nvar beverages = view[0];\nconsole.log(beverages.value); // displays \"Beverages\"\nconsole.log(beverages.items[0].name); // displays \"Tea\"\nconsole.log(beverages.items[1].name); // displays \"Coffee\"\nvar food = view[1];\nconsole.log(food.value); // displays \"Food\"\nconsole.log(food.items[0].name); // displays \"Ham\"\n</script>"],["header",{"level":4},"Example - get the data source grouping configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" }\n});\nvar groups = dataSource.group();\nconsole.log(groups.length); // displays \"1\"\nconsole.log(groups[0].field); // displays \"category\"\n</script>"]],"examples":[[["header",{"level":4},"Example - group the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ]\n});\ndataSource.group({ field: \"category\" });\nvar view = dataSource.view();\nconsole.log(view.length); // displays \"2\"\nvar beverages = view[0];\nconsole.log(beverages.value); // displays \"Beverages\"\nconsole.log(beverages.items[0].name); // displays \"Tea\"\nconsole.log(beverages.items[1].name); // displays \"Coffee\"\nvar food = view[1];\nconsole.log(food.value); // displays \"Food\"\nconsole.log(food.items[0].name); // displays \"Ham\"\n</script>"]],[["header",{"level":4},"Example - get the data source grouping configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" }\n});\nvar groups = dataSource.group();\nconsole.log(groups.length); // displays \"1\"\nconsole.log(groups[0].field); // displays \"category\"\n</script>"]]]},{"name":"hasChanges","args":[],"short_doc":[["para","Cheks if the data itams have changed."]],"doc":[["para","Cheks if the data itams have changed."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," returns ",["inlinecode","true"]," if the data items have changed. Otherwise, ",["inlinecode","false"],"."],["header",{"level":4},"Example - check if the data source has changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.hasChanges()); // displays \"false\"\n  dataSource.add({ name: \"John Doe\" });\n  console.log(dataSource.hasChanges()); // displays \"true\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - check if the data source has changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.hasChanges()); // displays \"false\"\n  dataSource.add({ name: \"John Doe\" });\n  console.log(dataSource.hasChanges()); // displays \"true\"\n});\n</script>"]]]},{"name":"indexOf","args":[{"name":"dataItem","type":["kendo.data.ObservableObject"],"short_doc":[["para","The target data item."]],"doc":[["para","The target data item."]]}],"short_doc":[["para","Gets the index of the specified data item."]],"doc":[["para","Gets the index of the specified data item."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItem ",["inlinecode","kendo.data.ObservableObject"]],["para","The target data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the index of the specified data item. Returns ",["inlinecode","-1"]," if the data item is not found."],["header",{"level":4},"Example - get the index of a data item"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - get the index of a data item"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"]]]},{"name":"insert","args":[{"name":"index","type":["Number"],"short_doc":[["para","The zero-based index at which the data item will be inserted."]],"doc":[["para","The zero-based index at which the data item will be inserted."]]},{"name":"model","type":["Object","kendo.data.ObservableObject","kendo.data.Model"],"short_doc":[["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the field values."]],"doc":[["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the field values."]]}],"short_doc":[["para","Inserts a data item in the data source at the specified index."]],"doc":[["para","Inserts a data item in the data source at the specified index."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","The zero-based index at which the data item will be inserted."],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.ObservableObject|kendo.data.Model"]],["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the field values."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the data item which is inserted."],["header",{"level":4},"Example - insert a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.insert(0, { name: \"John Doe\" });\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - insert a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.insert(0, { name: \"John Doe\" });\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"]]]},{"name":"page","args":[{"name":"page","type":["Number"],"short_doc":[["para","The new page."]],"doc":[["para","The new page."]]}],"short_doc":[["para","Gets or sets the current page."]],"doc":[["para","Gets or sets the current page."],["header",{"level":4},"Parameters"],["header",{"level":5},"page ",["inlinecode","Number"]],["para","The new page."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the current page."],["header",{"level":4},"Example - set the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1,\n  page: 2\n});\nconsole.log(dataSource.page()); // displays \"2\""]],"examples":[[["header",{"level":4},"Example - set the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"]],[["header",{"level":4},"Example - get the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1,\n  page: 2\n});\nconsole.log(dataSource.page()); // displays \"2\""]]]},{"name":"pageSize","args":[{"name":"size","type":["Number"],"short_doc":[["para","The new page size."]],"doc":[["para","The new page size."]]}],"short_doc":[["para","Gets or sets the current page size."]],"doc":[["para","Gets or sets the current page size."],["header",{"level":4},"Parameters"],["header",{"level":5},"size ",["inlinecode","Number"]],["para","The new page size."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the current page size."],["header",{"level":4},"Example - set the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.pageSize(1);\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.pageSize()); // displays \"1\"\n</script>"]],"examples":[[["header",{"level":4},"Example - set the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.pageSize(1);\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"]],[["header",{"level":4},"Example - get the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.pageSize()); // displays \"1\"\n</script>"]]]},{"name":"query","args":[{"name":"options","type":["Object"],"short_doc":[["para","The query options which should be applied."]],"doc":[["para","The query options which should be applied."]]},{"name":"options.aggregate","type":["Array"],"short_doc":[["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"],"\noption is set to ",["inlinecode","true"],"."]]},{"name":"options.filter","type":["Object","Array"],"short_doc":[["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"],"\noption is set to ",["inlinecode","true"],"."]]},{"name":"options.group","type":["Object","Array"],"short_doc":[["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"],"\noption is set to ",["inlinecode","true"],"."]]},{"name":"options.page","type":["Number"],"short_doc":[["para","The page of data to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The page of data to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."]]},{"name":"options.pageSize","type":["Number"],"short_doc":[["para","The number of data items to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The number of data items to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."]]},{"name":"options.sort","type":["Object","Array"],"short_doc":[["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"],"\noption is set to ",["inlinecode","true"],"."]],"doc":[["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"],"\noption is set to ",["inlinecode","true"],"."]]}],"short_doc":[["para","Executes the specified query over the data items. Makes a HTTP request if bound to a remote service."]],"doc":[["para","Executes the specified query over the data items. Makes a HTTP request if bound to a remote service."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The query options which should be applied."],["header",{"level":5},"options.aggregate ",["inlinecode","Array"]," ",["em","(optional)"]],["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.filter ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.group ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.page ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The page of data to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.pageSize ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The number of data items to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.sort ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":4},"Example - query the data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Manjimup Dried Apples\"\n  }\n});\n// sort by \"ProductName\" and get the third page with page size set to 20\ndataSource.query({\n  sort: { field: \"ProductName\", dir: \"desc\" },\n  page: 3,\n  pageSize: 20\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - query the data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Manjimup Dried Apples\"\n  }\n});\n// sort by \"ProductName\" and get the third page with page size set to 20\ndataSource.query({\n  sort: { field: \"ProductName\", dir: \"desc\" },\n  page: 3,\n  pageSize: 20\n});\n</script>"]]]},{"name":"read","args":[{"name":"data","type":["Object"],"short_doc":[["para","Optional data to pass to the remote service."]],"doc":[["para","Optional data to pass to the remote service."]]}],"short_doc":[["para","Reads data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","read"]," method always makes a request to the remote service."]]],"doc":[["para","Reads data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","read"]," method always makes a request to the remote service."]],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Optional data to pass to the remote service."],["header",{"level":4},"Example - read data from a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Chai\"\n  }\n});\ndataSource.read();\n</script>"]],"examples":[[["header",{"level":4},"Example - read data from a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Chai\"\n  }\n});\ndataSource.read();\n</script>"]]]},{"name":"remove","args":[{"name":"model","type":["kendo.data.Model"],"short_doc":[["para","The data item which should be removed."]],"doc":[["para","The data item which should be removed."]]}],"short_doc":[["para","Removes the specified data item from the data source."]],"doc":[["para","Removes the specified data item from the data source."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","kendo.data.Model"]],["para","The data item which should be removed."],["header",{"level":4},"Example - remove a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" },\n    { id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  dataSource.remove(dataItem);\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"1\"\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - remove a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" },\n    { id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  dataSource.remove(dataItem);\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"1\"\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"]]]},{"name":"sort","args":[{"name":"value","type":["Object","Array"],"short_doc":[["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option."]],"doc":[["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option."]]}],"short_doc":[["para","Gets or sets the sort order which will be applied over the data items."]],"doc":[["para","Gets or sets the sort order which will be applied over the data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current sort configuration."],["header",{"level":4},"Example - sort the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.sort({ field: \"age\", dir: \"desc\" });\nvar view = dataSource.view();\nconsole.log(view[0].name); // displays \"John Doe\"\n</script>"],["header",{"level":4},"Example - get the sort configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sort: { field: \"age\", dir: \"desc\" }\n});\nvar sort = dataSource.sort();\nconsole.log(sort.length);   // displays \"1\"\nconsole.log(sort[0].field); // displays \"age\"\n</script>"]],"examples":[[["header",{"level":4},"Example - sort the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.sort({ field: \"age\", dir: \"desc\" });\nvar view = dataSource.view();\nconsole.log(view[0].name); // displays \"John Doe\"\n</script>"]],[["header",{"level":4},"Example - get the sort configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sort: { field: \"age\", dir: \"desc\" }\n});\nvar sort = dataSource.sort();\nconsole.log(sort.length);   // displays \"1\"\nconsole.log(sort[0].field); // displays \"age\"\n</script>"]]]},{"name":"sync","args":[],"short_doc":[["para","Saves any data item changes."],["para","The ",["inlinecode","sync"]," method will request the remote service if:"],["bulletlist",["listitem","the ",["link",{"href":"#configuration-transport.create"},"transport.create"]," option is set and the data source contains new data items"],["listitem","the ",["link",{"href":"#configuration-transport.destroy"},"transport.destroy"]," option is set and data items have been removed from the data source"],["listitem","the ",["link",{"href":"#configuration-transport.update"},"transport.update"]," option is set and the data source contains updated data items"]]],"doc":[["para","Saves any data item changes."],["para","The ",["inlinecode","sync"]," method will request the remote service if:"],["bulletlist",["listitem","the ",["link",{"href":"#configuration-transport.create"},"transport.create"]," option is set and the data source contains new data items"],["listitem","the ",["link",{"href":"#configuration-transport.destroy"},"transport.destroy"]," option is set and data items have been removed from the data source"],["listitem","the ",["link",{"href":"#configuration-transport.update"},"transport.update"]," option is set and the data source contains updated data items"]],["header",{"level":4},"Example - save the changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  var anotherProduct = dataSource.at(1);\n  anotherProduct.set(\"UnitPrice\", 20);\n  var yetAnotherProduct = dataSource.at(2);\n  dataSource.remove(yetAnotherProduct);\n  dataSource.sync(); // makes a request to http://demos.kendoui.com/service/products/update\" and http://demos.kendoui.com/service/products/destroy\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - save the changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  var anotherProduct = dataSource.at(1);\n  anotherProduct.set(\"UnitPrice\", 20);\n  var yetAnotherProduct = dataSource.at(2);\n  dataSource.remove(yetAnotherProduct);\n  dataSource.sync(); // makes a request to http://demos.kendoui.com/service/products/update\" and http://demos.kendoui.com/service/products/destroy\n});\n</script>"]]]},{"name":"total","args":[],"short_doc":[["para","Gets the total number of data items. Uses ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if the ",["link",{"href":"#configuration-transport.read"},"transport.read"]," option is set."]],"doc":[["para","Gets the total number of data items. Uses ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if the ",["link",{"href":"#configuration-transport.read"},"transport.read"]," option is set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the total number of data items. Returns the ",["inlinecode","length"]," of the array returned by the ",["link",{"href":"#methods-data"},"data"]," method if ",["inlinecode","schema.total"]," or ",["inlinecode","transport.read"]," are not set.\nReturns ",["inlinecode","0"]," if the data source hasn't been populated with data items via the ",["link",{"href":"#methods-read"},"read"],", ",["link",{"href":"#methods-read"},"fetch"]," or ",["link",{"href":"#methods-query"},"query"]," methods."],["header",{"level":4},"Example - get the total number of data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  console.log(dataSource.total()); // displays \"2\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - get the total number of data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  console.log(dataSource.total()); // displays \"2\"\n});\n</script>"]]]},{"name":"totalPages","args":[],"short_doc":[["para","Gets the number of available pages."]],"doc":[["para","Gets the number of available pages."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the available pages."],["header",{"level":4},"Example - get the total number of pages"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.totalPages());   // displays \"2\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the total number of pages"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.totalPages());   // displays \"2\"\n</script>"]]]},{"name":"view","args":[],"short_doc":[["para","Returns the data items which correspond to the current page, filter, sort and group configuration."],["para","To ensure that data is available this method should be used within the ",["link",{"href":"#events-change"},"change"]," event handler or the ",["link",{"href":"#methods-fetch"},"fetch"]," method."]],"doc":[["para","Returns the data items which correspond to the current page, filter, sort and group configuration."],["para","To ensure that data is available this method should be used within the ",["link",{"href":"#events-change"},"change"]," event handler or the ",["link",{"href":"#methods-fetch"},"fetch"]," method."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableArray"]," the data items. Returns groups if the data items are grouped (via the ",["link",{"href":"#configuration-group"},"group"]," option or the ",["link",{"href":"#methods-group"},"group"]," method)."],["header",{"level":4},"Example - get the paged and sorted data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  pageSize: 1,\n  page: 2,\n  sort: { field: \"category\", dir: \"desc\" }\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Tea\"\n});\n</script>"],["header",{"level":4},"Example - get the paged, sorted and grouped data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" },\n  sort: { field: \"name\", dir: \"asc\" },\n  pageSize: 2,\n  page: 1\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  var beverages = view[0];\n  console.log(beverages.value); // displays \"Beverages\"\n  console.log(beverages.items.length); // displays \"2\"\n  console.log(beverages.items[0].name); // displays \"Coffee\"\n  console.log(beverages.items[1].name); // displays \"Tea\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - get the paged and sorted data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  pageSize: 1,\n  page: 2,\n  sort: { field: \"category\", dir: \"desc\" }\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Tea\"\n});\n</script>"]],[["header",{"level":4},"Example - get the paged, sorted and grouped data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" },\n  sort: { field: \"name\", dir: \"asc\" },\n  pageSize: 2,\n  page: 1\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  var beverages = view[0];\n  console.log(beverages.value); // displays \"Beverages\"\n  console.log(beverages.items.length); // displays \"2\"\n  console.log(beverages.items[0].name); // displays \"Coffee\"\n  console.log(beverages.items[1].name); // displays \"Tea\"\n});\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.data.DataSource"],"short_doc":[["para","The data source instance which fired the event."]],"doc":[["para","The data source instance which fired the event."]]}],"short_doc":[["para","Fired when the data source is populated from a JavaScript array or a remote service, a data item is inserted, updated or removed, the data items are paged, sorted, filtered or grouped."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]],"doc":[["para","Fired when the data source is populated from a JavaScript array or a remote service, a data item is inserted, updated or removed, the data items are paged, sorted, filtered or grouped."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var data = this.data();\n    console.log(data.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<script>\nfunction dataSource_change(e) {\n  var data = this.data();\n  console.log(data.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.bind(\"change\", dataSource_change);\ndataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var data = this.data();\n    console.log(data.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<script>\nfunction dataSource_change(e) {\n  var data = this.data();\n  console.log(data.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.bind(\"change\", dataSource_change);\ndataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.errorThrown","type":["Object"],"short_doc":[["para","Optional exception."]],"doc":[["para","Optional exception."]]},{"name":"e.sender","type":["kendo.data.DataSource"],"short_doc":[["para","The data source instance which fired the event."]],"doc":[["para","The data source instance which fired the event."]]},{"name":"e.status","type":["String"],"short_doc":[["para","String describing the type of the error"]],"doc":[["para","String describing the type of the error"]]},{"name":"e.xhr","type":["Object"],"short_doc":[["para","The current ",["link",{"href":"http://api.jquery.com/Types/#jqXHR"},"jqXHR"],"."]],"doc":[["para","The current ",["link",{"href":"http://api.jquery.com/Types/#jqXHR"},"jqXHR"],"."]]}],"short_doc":[["para","Fired when a request to the remote service fails."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","If the ",["link",{"href":"#configuration-schema.errors"},"schema.errors"]," option is set and the server response contains that field then the ",["inlinecode","error"]," event will be fired. The\n",["inlinecode","errors"]," field of the event argument will contain the errors returned by the server."]]],"doc":[["para","Fired when a request to the remote service fails."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","If the ",["link",{"href":"#configuration-schema.errors"},"schema.errors"]," option is set and the server response contains that field then the ",["inlinecode","error"]," event will be fired. The\n",["inlinecode","errors"]," field of the event argument will contain the errors returned by the server."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.errorThrown ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Optional exception."],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","String describing the type of the error"],["header",{"level":5},"e.xhr ",["inlinecode","Object"]],["para","The current ",["link",{"href":"http://api.jquery.com/Types/#jqXHR"},"jqXHR"],"."],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<script>\nfunction dataSource_error(e) {\n  console.log(e.status); // displays \"error\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/\"\n    }\n  }\n});\ndataSource.bind(\"error\", dataSource_error);\ndataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<script>\nfunction dataSource_error(e) {\n  console.log(e.status); // displays \"error\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/\"\n    }\n  }\n});\ndataSource.bind(\"error\", dataSource_error);\ndataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"requestEnd","args":[{"name":"e.response","type":["Object"],"short_doc":[["para","The raw remote service response."]],"doc":[["para","The raw remote service response."]]},{"name":"e.sender","type":["kendo.data.DataSource"],"short_doc":[["para","The data source instance which fired the event."]],"doc":[["para","The data source instance which fired the event."]]},{"name":"e.type","type":["String"],"short_doc":[["para","The type of the request. Set to \"create\", \"read\", \"update\" or \"destroy\"."]],"doc":[["para","The type of the request. Set to \"create\", \"read\", \"update\" or \"destroy\"."]]}],"short_doc":[["para","Fired when a remote service request is finished."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]],"doc":[["para","Fired when a remote service request is finished."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.response ",["inlinecode","Object"]],["para","The raw remote service response."],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":5},"e.type ",["inlinecode","String"]],["para","The type of the request. Set to \"create\", \"read\", \"update\" or \"destroy\"."],["header",{"level":4},"Example - subscribe to the \"requestEnd\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestEnd: function(e) {\n    var response = e.response;\n    var type = e.type;\n    console.log(type); // displays \"read\"\n    console.log(response.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"requestEnd\" event after initialization"],["code_block","<script>\nfunction dataSource_requestEnd(e) {\n  var response = e.response;\n  var type = e.type;\n  console.log(type); // displays \"read\"\n  console.log(response.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestEnd);\ndataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"requestEnd\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestEnd: function(e) {\n    var response = e.response;\n    var type = e.type;\n    console.log(type); // displays \"read\"\n    console.log(response.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"requestEnd\" event after initialization"],["code_block","<script>\nfunction dataSource_requestEnd(e) {\n  var response = e.response;\n  var type = e.type;\n  console.log(type); // displays \"read\"\n  console.log(response.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestEnd);\ndataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"requestStart","args":[{"name":"e.sender","type":["kendo.data.DataSource"],"short_doc":[["para","The data source instance which fired the event."]],"doc":[["para","The data source instance which fired the event."]]}],"short_doc":[["para","Fired when the data source makes a remote service request."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]],"doc":[["para","Fired when the data source makes a remote service request."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"requestStart\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestStart: function(e) {\n    console.log(\"request started\");\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"requestStart\" event after initialization"],["code_block","<script>\nfunction dataSource_requestStart(e) {\n  console.log(\"request started\");\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestStart);\ndataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"requestStart\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestStart: function(e) {\n    console.log(\"request started\");\n  }\n});\ndataSource.fetch();\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"requestStart\" event after initialization"],["code_block","<script>\nfunction dataSource_requestStart(e) {\n  console.log(\"request started\");\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestStart);\ndataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"sync","args":[{"name":"e.sender","type":["kendo.data.DataSource"],"short_doc":[["para","The data source instance which fired the event."]],"doc":[["para","The data source instance which fired the event."]]}],"short_doc":[["para","Fired after the data source saves data item changes. The data source saves the data item changes when the ",["link",{"href":"#methods-sync"},"sync"]," method is called."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","The ",["inlinecode","sync"]," event is fired after all remote requests finish."]]],"doc":[["para","Fired after the data source saves data item changes. The data source saves the data item changes when the ",["link",{"href":"#methods-sync"},"sync"]," method is called."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","The ",["inlinecode","sync"]," event is fired after all remote requests finish."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"sync\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  sync: function(e) {\n    console.log(\"sync complete\");\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"],["header",{"level":4},"Example - subscribe to the \"sync\" event after initialization"],["code_block","<script>\nfunction dataSource_sync(e) {\n  console.log(\"sync complete\");\n}\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.bind(\"sync\", dataSource_sync);\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"sync\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  sync: function(e) {\n    console.log(\"sync complete\");\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"sync\" event after initialization"],["code_block","<script>\nfunction dataSource_sync(e) {\n  console.log(\"sync complete\");\n}\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.bind(\"sync\", dataSource_sync);\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"aggregate ",["inlinecode","Array"]],["para","The aggregate(s) which are calculated when the data source populates with data. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["blockquote",["para","The data source calculates aggregates client-side unless the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - specify aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" },\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"age\", aggregate: \"max\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum, results.min, results.max); // displays \"63 30 33\"\n});\n</script>"],["header",{"level":3},"aggregate.aggregate ",["inlinecode","String"]],["para","The name of the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - specify aggregate function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum); // displays \"63\"\n});"],["header",{"level":3},"aggregate.field ",["inlinecode","String"]],["para","The data item field which will be used to calculate the aggregates."],["header",{"level":4},"Example - specify aggregate field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ]\n});\ndataSource.fetch(function(){\n  var results = dataSource.aggregates().age;\n  console.log(results.sum); // displays \"63\"\n});\n</script>"],["header",{"level":3},"autoSync ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source would automatically save any changed data items by calling the ",["link",{"href":"#methods-sync"},"sync"]," method. By default changes are not automatically saved."],["header",{"level":4},"Example - enable auto sync"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  autoSync: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20); // auto-syncs and makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"],["header",{"level":3},"batch ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","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\nmakes a HTTP request for every CRUD operation."],["blockquote",["para","The changed data items are sent by default as ",["inlinecode","models"],". This can be changed via the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option."]],["header",{"level":4},"Example - enable batch mode"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  var anotherProduct = dataSource.at(1);\n  anotherProduct.set(\"UnitPrice\", 20);\n  dataSource.sync(); // causes only one request to \"http://demos.kendoui.com/service/products/update\"\n});\n</script>"],["header",{"level":3},"data ",["inlinecode","Array|String"]],["para","The array of data items which the data source contains. The data source will wrap those items as ",["link",{"href":"/api/framework/obvservableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if ",["link",{"href":"#configuration-schema.model"},"schema.model"]," is set)."],["para","Can be set to a string value if the ",["link",{"href":"#configuration-schema.type"},"schema.type"]," option is set to \"xml\"."],["header",{"level":4},"Example - set the data items of a data source"],["code_block","var dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function(){\n  var janeDoe = dataSource.at(0);\n  console.log(janeDoe.name); // displays \"Jane Doe\"\n});"],["header",{"level":4},"Example - set the data items as an XML string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: '<books><book id=\"1\"><title>Secrets of the JavaScript Ninja</title></book></books>',\n  schema: {\n    // specify the the schema is XML\n    type: \"xml\",\n    // the XML element which represents a single data record\n    data: \"/books/book\",\n    // define the model - the object which will represent a single data record\n    model: {\n      // configure the fields of the object\n      fields: {\n        // the \"title\" field is mapped to the text of the \"title\" XML element\n        title: \"title/text()\",\n        // the \"id\" field is mapped to the \"id\" attribute of the \"book\" XML element\n        id: \"@id\"\n      }\n    }\n  }\n});\ndataSource.fetch(function() {\n  var books = dataSource.data();\n  console.log(books[0].title); // displays \"Secrets of the JavaScript Ninja\"\n});\n</script>"],["header",{"level":3},"filter ",["inlinecode","Array|Object"]],["para","The filter(s) which is (are) applied over the data items. By default no filter is applied."],["blockquote",["para","The data source filters the data items client-side unless the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set a single filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":4},"Example - set filter as conjunction (and)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: [\n    // leave data items which are \"Beverage\" and not \"Coffee\"\n    { field: \"category\", operator: \"eq\", value: \"Beverages\" },\n    { field: \"name\", operator: \"neq\", value: \"Coffee\" }\n  ]\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Tea\"\n});\n</script>"],["header",{"level":4},"Example - set filter as disjunction (or)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":3},"filter.field ",["inlinecode","String"]],["para","The data item field to which the filter operator is applied."],["header",{"level":4},"Example - set the filter field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":3},"filter.filters ",["inlinecode","Array"]],["para","The nested filter expressions. Suppor the same options as ",["link",{"href":"#configuration-filter"},"filter"],". Filters can be nested indefinitely."],["header",{"level":3},"Example - nested filters"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":3},"filter.logic ",["inlinecode","String"]],["para","The logical operation to use when the ",["inlinecode","filter.filters"]," option is set. The supported values are \"and\" and \"or\"."],["header",{"level":3},"Example - set the filter logic"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  filter: {\n    // leave data items which are \"Food\" or \"Tea\"\n    logic: \"or\",\n    filters: [\n      { field: \"category\", operator: \"eq\", value: \"Food\" },\n      { field: \"name\", operator: \"eq\", value: \"Tea\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":3},"filter.operator ",["inlinecode","String"]],["para","The filter operator (comparison). The supported operators are: \"eq\" (equal to), \"neq\" (not equal to), \"lt\" (less than), \"lte\" (less than or equal to), \"gt\" (greater than), \"gte\" (greater than or equal to),\n\"startswith\", \"endswith\", \"contains\". The last three are supported only for string fields."],["header",{"level":4},"Example - set the filter operator"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":3},"filter.value ",["inlinecode","Object"]],["para","The value to which the ",["link",{"href":"#configuration-filter.field"},"field"]," is compared. The value must be from the same type as the field."],["header",{"level":4},"Example - specify the filter value"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", birthday: new Date(1983, 1, 1) },\n    { name: \"John Doe\", birthday: new Date(1980, 1, 1)}\n  ],\n  filter: { field: \"birthday\", operator: \"gt\", value: new Date(1980, 1, 1) }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":3},"group ",["inlinecode","Array|Object"]],["para","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."],["blockquote",["para","The data source groups the data items client-side unless the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set group as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // group by the \"category\" field\n  group: { field: \"category\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  var beverages = view[0];\n  console.log(beverages.value); // displays \"Beverages\"\n  console.log(beverages.items[0].name); // displays \"Tea\"\n  console.log(beverages.items[1].name); // displays \"Coffee\"\n  var food = view[1];\n  console.log(food.value); // displays \"Food\"\n  console.log(food.items[0].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":4},"Example - set group as an array (subgroups)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Pork\", category: \"Food\", subcategory: \"Meat\" },\n    { name: \"Pepper\", category: \"Food\", subcategory: \"Vegetables\" },\n    { name: \"Beef\", category: \"Food\", subcategory: \"Meat\" }\n  ],\n  group: [\n    // group by \"category\" and then by \"subcategory\"\n    { field: \"category\" },\n    { field: \"subcategory\" },\n  ]\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  var food = view[0];\n  console.log(food.value); // displays \"Food\"\n  var meat = food.items[0];\n  console.log(meat.value); // displays \"Meat\"\n  console.log(meat.items.length); // displays \"2\"\n  console.log(meat.items[0].name); // displays \"Pork\"\n  console.log(meat.items[1].name); // displays \"Beef\"\n  var vegetables = food.items[1];\n  console.log(vegetables.value); // displays \"Vegetables\"\n  console.log(vegetables.items.length); // displays \"1\"\n  console.log(vegetables.items[0].name); // displays \"Pepper\"\n});\n</script>"],["header",{"level":3},"group.aggregates ",["inlinecode","Array"]],["para","The aggregate(s) which are calculated during grouping. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - set group aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 },\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      { field: \"price\", aggregate: \"max\" },\n      { field: \"price\", aggregate: \"min\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n  console.log(beverages.aggregates.price.min); // displays \"1\"\n  var food = view[1];\n  console.log(food.aggregates.price.max); // displays \"3\"\n  console.log(food.aggregates.price.min); // displays \"3\"\n});\n</script>"],["header",{"level":3},"group.aggregates.aggregate ",["inlinecode","String"]],["para","The name of the aggregate function. Specifies the aggregate function. The supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - specify aggregate function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 }\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      // calculate max price\n      { field: \"price\", aggregate: \"max\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n});\n</script>"],["header",{"level":3},"group.aggregates.field ",["inlinecode","String"]],["para","The data item field which will be used to calculate the aggregates."],["header",{"level":4},"Example - specify aggregate field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\", price: 1 },\n    { name: \"Coffee\", category: \"Beverages\", price: 2 },\n    { name: \"Ham\", category: \"Food\", price: 3 }\n  ],\n  group: {\n    field: \"category\",\n    aggregates: [\n      // calculate max price\n      { field: \"price\", aggregate: \"max\" }\n    ]\n  }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.aggregates.price.max); // displays \"2\"\n});\n</script>"],["header",{"level":3},"group.dir ",["inlinecode","String"]," ",["em","(default: \"asc\")"]],["para","The sort order of the group. The supported values are \"asc\" (ascending order) and \"desc\" (descending order). The default sort order is ascending."],["header",{"level":4},"Example - sort the groups in descending order"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\"},\n    { name: \"Ham\", category: \"Food\"},\n  ],\n  // group by \"category\" in descending order\n  group: { field: \"category\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var food = view[0];\n  console.log(food.value); // displays \"Food\"\n  var beverages = view[1];\n  console.log(beverages.value); // displays \"Beverages\"\n});\n</script>"],["header",{"level":3},"group.field ",["inlinecode","String"]],["para","The data item field to group by."],["header",{"level":4},"Example - set the field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // group by the \"category\" field\n  group: { field: \"category\" }\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  var beverages = view[0];\n  console.log(beverages.items[0].name); // displays \"Tea\"\n  console.log(beverages.items[1].name); // displays \"Coffee\"\n  var food = view[1];\n  console.log(food.items[0].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":3},"page ",["inlinecode","Number"]],["para","The page of data which the data source will return when the ",["link",{"href":"#methods-view"},"view"]," method is invoked or request from the remote service."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  // set the second page as the current page\n  page: 2,\n  pageSize: 2\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Ham\"\n});\n</script>"],["header",{"level":3},"pageSize ",["inlinecode","Number"]],["para","The number of data items per page."],["blockquote",["para","The data source will page the data items client-side unless the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - set the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  page: 1,\n  // a page of data contains two data items\n  pageSize: 2\n});\ndataSource.fetch(function(){\n  var view = dataSource.view();\n  console.log(view.length); // displays \"2\"\n  console.log(view[0].name); // displays \"Tea\"\n  console.log(view[1].name); // displays \"Coffee\"\n});\n</script>"],["header",{"level":3},"schema ",["inlinecode","Object"]],["para","The configuration used to parse the remote service response."],["header",{"level":4},"Example - specify the schema of the remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: function(response) {\n      return response.results; // twitter's response is { \"results\": [ /* results */ ] }\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"],["header",{"level":3},"schema.aggregates ",["inlinecode","Function|String"]],["para","The field from the response which contains the aggregate results. Can be set to a function which is called to\nreturn the aggregate results from the response."],["blockquote",["para","The ",["inlinecode","aggregates"]," option is used only when the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"],"."]],["para","The result of the function should be a JavaScript object which contains the aggregate results for every fields in the following format:"],["code_block","{\n  FIEL1DNAME: {\n    FUNCTON1NAME: FUNCTION1VALUE,\n    FUNCTON2NAME: FUNCTION2VALUE\n  },\n  FIELD2NAME: {\n    FUNCTON1NAME: FUNCTION1VALUE\n  }\n}"],["para","For example if the data source is configured like this:"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  aggregate: [\n    { field: \"unitPrice\", aggregate: \"max\" },\n    { field: \"unitPrice\", aggregate: \"min\" },\n    { field: \"ProductName\", aggregate: \"count\" }\n  ]\n});\n</script>"],["para","The aggregate results should have the following format:"],["code_block","{\n  unitPrice: {\n      max: 100,\n      min: 1\n  },\n  productName: {\n      count: 42\n  }\n}"],["header",{"level":4},"Example - set aggregates as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  schema: {\n    aggregates: \"aggregates\" // aggregate results are returned in the \"aggregates\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example - set aggregates as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverAggregates: true,\n  schema: {\n    aggregates: function(response) {\n      return response.aggregates;\n    }\n  }\n});\n</script>"],["header",{"level":3},"schema.data ",["inlinecode","Function|String"]],["para","The field from the server response which contains the data items. Can be set to a function which is called to\nreturn the data items for the response."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The data items from the response."],["header",{"level":4},"Example - specify the field which contains the data items as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: \"results\" // twitter's response is { \"results\": [ /* results */ ] }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"],["header",{"level":4},"Example - specify the field which contains the data items as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"html5\" } // search for tweets that contain \"html5\"\n    }\n  },\n  schema: {\n    data: function(response) {\n      return response.results; // twitter's response is { \"results\": [ /* results */ ] }\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);\n});\n</script>"],["header",{"level":3},"schema.errors ",["inlinecode","Function|String"]," ",["em","(default: \"errors\")"]],["para","The field from the server response which contains server-side errors. Can be set to a function which is called to\nreturn the errors for response. If there are any errors the ",["link",{"href":"#events-error"},"error"]," event will be fired."],["header",{"level":4},"Example - specify the error field as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"#\" }\n    }\n  },\n  schema: {\n    errors: \"error\" // twitter's response is { \"error\": \"Invalid query\" }\n  },\n  error: function(e) {\n    console.log(e.errors); // displays \"Invalid query\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - specify the error field as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: { q: \"#\" }\n    }\n  },\n  schema: {\n    errors: function(response) {\n      return response.error; // twitter's response is { \"error\": \"Invalid query\" }\n    }\n  },\n  error: function(e) {\n    console.log(e.errors); // displays \"Invalid query\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":3},"schema.groups ",["inlinecode","Function|String"]],["para","The field from the server response which contains the groups. Can be set to a function which is called to\nreturn the groups from the response."],["blockquote",["para","The ",["inlinecode","groups"]," option is used only when the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"],"."]],["para","The result should have the following format:"],["code_block","[{\n  aggregates: {\n    FIEL1DNAME: {\n      FUNCTON1NAME: FUNCTION1VALUE,\n      FUNCTON2NAME: FUNCTION2VALUE\n    },\n    FIELD2NAME: {\n      FUNCTON1NAME: FUNCTION1VALUE\n    }\n  },\n  field: FIELDNAME, // the field by which the data items are grouped\n  hasSubgroups: true, // true if there are subgroups\n  items: [\n    // either the subgroups or the data items\n    {\n      aggregates: {\n        //nested group aggregates\n      },\n      field: NESTEDGROUPFIELDNAME,\n      hasSubgroups: false,\n      items: [\n      // data records\n      ],\n      value: NESTEDGROUPVALUE\n    },\n    //nestedgroup2, nestedgroup3, etc.\n  ],\n  value: VALUE // the group key\n} /* other groups */\n]"],["header",{"level":4},"Example - set groups as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    groups: \"groups\" // groups are returned in the \"groups\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example - set groups as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    groups: function(response) {\n      return response.groups; // groups are returned in the \"groups\" field of the response\n    }\n  }\n});\n</script>"],["header",{"level":3},"schema.model ",["inlinecode","Object|kendo.data.Model"]],["para","The data item (model) configuration."],["para","If set to an object the ",["link",{"href":"/api/framework/model#model.define"},"Model.define"]," method will be used to initialize the data source model."],["para","If set to an existing ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance the data source will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set the model as a JavaScript object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  schema: {\n    model: {\n      id: \"ProductID\",\n      fields: {\n        ProductID: {\n          //this field will not be editable (default value is true)\n          editable: false,\n          // a defaultValue will not be assigned (default value is false)\n          nullable: true\n        },\n        ProductName: {\n          //set validation rules\n          validation: { required: true }\n        },\n        UnitPrice: {\n          //data type of the field {Number|String|Boolean|Date} default is String\n          type: \"number\",\n          // used when new model is created\n          defaultValue: 42,\n          validation: { required: true, min: 1 }\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - set the model as an existing kendo.data.Model instance"],["code_block","<script>\nvar Product = kendo.model.define({\n  id: \"ProductID\",\n  fields: {\n    ProductID: {\n      //this field will not be editable (default value is true)\n      editable: false,\n      // a defaultValue will not be assigned (default value is false)\n      nullable: true\n    },\n    ProductName: {\n      //set validation rules\n      validation: { required: true }\n    },\n    UnitPrice: {\n      //data type of the field {Number|String|Boolean|Date} default is String\n      type: \"number\",\n      // used when new model is created\n      defaultValue: 42,\n      validation: { required: true, min: 1 }\n    }\n  }\n});\nvar dataSource = new kendo.data.DataSource({\n  schema: {\n    model: Product\n  }\n});\n</script>"],["header",{"level":3},"schema.parse ",["inlinecode","Function"]],["para","Executed before the server response is used. Use it to preprocess or parse the server response."],["header",{"level":4},"Example - data projection"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  schema: {\n    parse: function(response) {\n      var products = [];\n      for (var i = 0; i < response.length; i++) {\n        var product = {\n          id: response[i].ProductID,\n          name: response[i].ProductName\n        };\n        products.push(product);\n      }\n      return products;\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  var product = data[0];\n  console.log(product.name); // displays \"Chai\"\n});\n</script>"],["header",{"level":3},"schema.total ",["inlinecode","Function|String"]],["para","The field from the server response which contains the total number of data items. Can be set to a function which is called to\nreturn the total number of data items for the response."],["blockquote",["para","If ",["inlinecode","schema.total"]," is not specified the ",["inlinecode","length"]," of the ",["inlinecode","Array"]," returned by ",["link",{"href":"#configuration-schema.data"},"schema.data"]," will be used."],["para","The ",["inlinecode","schema.total"]," option must be set if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The total number of data items."],["header",{"level":4},"Example: set total as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    total: \"total\" // total is returned in the \"total\" field of the response\n  }\n});\n</script>"],["header",{"level":4},"Example: set total as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  }\n  serverGrouping: true,\n  schema: {\n    total: function(response) {\n      return response.total; // total is returned in the \"total\" field of the response\n    }\n  }\n});\n</script>"],["header",{"level":3},"schema.type ",["inlinecode","String"]," ",["em","(default: \"json\")"]],["para","The type of the response. The supported values are \"xml\" and \"json\". By default the schema interprets the server response as JSON."],["header",{"level":4},"Example - use XML data"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: '<books><book id=\"1\"><title>Secrets of the JavaScript Ninja</title></book></books>',\n  schema: {\n    // specify the the schema is XML\n    type: \"xml\",\n    // the XML element which represents a single data record\n    data: \"/books/book\",\n    // define the model - the object which will represent a single data record\n    model: {\n      // configure the fields of the object\n      fields: {\n        // the \"title\" field is mapped to the text of the \"title\" XML element\n        title: \"title/text()\",\n        // the \"id\" field is mapped to the \"id\" attribute of the \"book\" XML element\n        id: \"@cover\"\n      }\n    }\n  }\n});\ndataSource.fetch(function() {\n  var books = dataSource.data();\n  console.log(books[0].title); // displays \"Secrets of the JavaScript Ninja\"\n});\n</script>"],["header",{"level":3},"serverAggregates ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source will leave the aggregate calculation to the remote service. By default the data source calculates aggregates client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.aggregates"},"schema.aggreagates"]," if you set ",["inlinecode","serverAggregates"]," to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - enable server aggregates"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverAggregates: true,\n  aggregate: [\n    { field: \"age\", aggregate: \"sum\" }\n  ],\n  schema: {\n    aggregates: \"aggregates\" // aggregate results are returned in the \"aggregates\" field of the response\n  }\n});\n</script>"],["header",{"level":3},"serverFiltering ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source will leave the filtering implementation to the remote service. By default the data source performs filtering client-side."],["para","By default the ",["link",{"href":"#configuration-filter"},"filter"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the filter ",["inlinecode","{ logic: \"and\", filters: [ { field: \"name\", operator: \"startswith\", value: \"Jane\" } ] }"]," is sent as:"],["bulletlist",["listitem","filter[logic]: and"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[field]: name"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[operator]: startswith"],["listitem","filter",["link_ref",{"ref":"0","original":"[filters][0]"},"filters"],"[value]: Jane"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the filter option in a different format."],["header",{"level":4},"Example - enable server filtering"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverFiltering: true,\n  filter: { logic: \"and\", filters: [ { field: \"name\", operator: \"startswith\", value: \"Jane\" } ] }\n});\n</script>"],["header",{"level":3},"serverGrouping ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source will leave the grouping implementation to the remote service. By default the data source performs grouping client-side."],["para","By default the ",["link",{"href":"#configuration-group"},"group"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the group ",["inlinecode","{ field: \"category\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","group[0][field]: category"],["listitem","group[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the group option in a different format."],["header",{"level":4},"Example - enable server grouping"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverGrouping: true,\n  group: { field: \"category\", dir: \"desc\" }\n});\n</script>"],["header",{"level":3},"serverPaging ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source will leave the data item paging implementation to the remote service. By default the data source performs paging client-side."],["blockquote",["para","Don't forget to set ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if you set ",["inlinecode","serverPaging"]," to ",["inlinecode","true"],"."]],["para","The following options are sent to the server when server paging is enabled:"],["bulletlist",["listitem","page - the page of data item to return (",["inlinecode","1"]," means the first page)"],["listitem","pageSize - the number of items to return"],["listitem","skip - how many data items to skip"],["listitem","take - the number of data items to return (the same as ",["inlinecode","pageSize"],")"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."],["header",{"level":4},"Example - enable server paging"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverPaging: true,\n  schema: {\n    total: \"total\" // total is returned in the \"total\" field of the response\n  }\n});\n</script>"],["header",{"level":3},"serverSorting ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the data source will leave the data item sorting implementation to the remote service. By default the data source performs sorting client-side."],["para","By default the ",["link",{"href":"#configuration-sort"},"sort"]," is sent to the server following jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["para","For example the sort ",["inlinecode","{ field: \"age\", dir: \"desc\" }"]," is sent as:"],["bulletlist",["listitem","sort[0][field]: age"],["listitem","sort[0][dir]: desc"]],["para","Use the ",["link",{"href":"#configuration-transport.parameterMap"},"parameterMap"]," option to send the paging options in a different format."],["header",{"level":4},"Example - enable server sorting"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    /* transport configuration */\n  },\n  serverSorting: true,\n  sort: { field: \"age\", dir: \"desc\" }\n});\n</script>"],["header",{"level":3},"sort ",["inlinecode","Array|Object"]],["para","The sort order which will be applied over the data items. By default the data items are not sorted."],["blockquote",["para","The data source sorts the data items client-side unless the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"]," option is set to ",["inlinecode","true"],"."]],["header",{"level":4},"Example - sort the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"],["header",{"level":4},"Example - sort the data items by multiple fields"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  sort: [\n    // sort by \"category\" in descending order and then by \"name\" in ascending order\n    { field: \"category\", dir: \"desc\" },\n    { field: \"name\", dir: \"asc\" }\n  ]\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[1].name); // displays \"Coffee\"\n});\n</script>"],["header",{"level":3},"sort.dir ",["inlinecode","String"]],["para","The sort order (direction). The supported values are \"asc\" (ascending order) and \"desc\" (descending order)."],["header",{"level":4},"Example - specify the sort order (direction)"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  // order by \"age\" in descending order\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"],["header",{"level":3},"sort.field ",["inlinecode","String"]],["para","The field by which the data items are sorted."],["header",{"level":4},"Example - specify the sort field"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  // order by \"age\" in descending order\n  sort: { field: \"age\", dir: \"desc\" }\n});\ndataSource.fetch(function(){\n  var data = dataSource.view();\n  console.log(data[0].age); // displays \"33\"\n});\n</script>"],["header",{"level":3},"transport ",["inlinecode","Object"]],["para","The configuration used to load and save the data items. A data source is remote or local based on the way of it retrieves data items."],["para","Remote data sources load and save data items from and to a remote end-point (a.k.a. remote service or server). The ",["inlinecode","transport"]," option describes the remote service configuration - URL, HTTP verb, HTTP headers etc.\nThe ",["inlinecode","transport"]," option can also be used to implement custom data loading and saving."],["para","Local data sources are bound to a JavaScript array via the ",["link",{"href":"#configuration-data"},"data"]," option."],["header",{"level":4},"Example - specify the remote service configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  console.log(products[0].ProductName); // displays \"Chai\"\n});\n</script>"],["header",{"level":3},"transport.create ",["inlinecode","Object|String|Function"]],["para","The configuration used when the data source saves newly created data items. Those are items added to the data source via the ",["link",{"href":"#methods-add"},"add"]," or ",["link",{"href":"#methods-insert"},"insert"]," methods."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.create"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.create"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.create"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.create"]," is a string the data source uses this string as the URL of the remote service."],["blockquote",["para",["em","Important:"]," The remote service must return the inserted data items and the data item field configured as the ",["inlinecode","id"]," must be set. For example\nif the ",["inlinecode","id"]," of the data item is ",["inlinecode","ProductID"]," the \"create\" server response must be ",["inlinecode","[{ \"ProductID\": 79 }]"],"."]],["header",{"level":4},"Example - set the create remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products/create\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) };\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\n// create a new data item\ndataSource.add( { ProductName: \"New Product\" });\n// save the created data item\ndataSource.sync(); // server response is [{\"ProductID\":78,\"ProductName\":\"New Product\",\"UnitPrice\":0,\"UnitsInStock\":0,\"Discontinued\":false}]\n</script>"],["header",{"level":4},"Example - set create as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      /* implementation omitted for brevity */\n    },\n    create: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/create\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/create\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"],["header",{"level":3},"transport.create.cache ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.create.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.create.data ",["inlinecode","Object|Function"]],["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.create.dataType ",["inlinecode","String"]],["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.create.type ",["inlinecode","String"]," ",["em","(default: \"GET\")"]],["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.create.url ",["inlinecode","String|Function"]],["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      cache: true,\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products/create\"\n      },\n      cache: true,\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"],["header",{"level":3},"transport.destroy ",["inlinecode","Object|String|Function"]],["para","The configuration used when the data source destroys data items. Those are items removed from the data source via the ",["link",{"href":"#methods-remove"},"remove"]," method."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.destroy"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.destroy"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.destroy"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.destroy"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - set the destroy remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    // make JSONP request to http://demos.kendoui.com/service/products/destroy\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        // send the destroyed data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  // remove the first data item\n  dataSource.remove(products[0]);\n  // send the destroyed data item to the remote service\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - set destroy as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products\",\n        dataType: \"jsonp\",\n        success: function(result) {\n          options.success(result);\n        }\n      });\n    },\n    destroy: function (options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/destroy\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/destroy\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the destroyed data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"],["header",{"level":3},"transport.destroy.cache ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.destroy.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.destroy.data ",["inlinecode","Object|Function"]],["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.destroy.dataType ",["inlinecode","String"]],["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.destroy.type ",["inlinecode","String"]],["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    destroy: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.destroy.url ",["inlinecode","String|Function"]],["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    },\n    destroy: {\n      url: function (options) {\n        return \"http://demos.kendoui.com/service/products/destroy\",\n      },\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"destroy\") {\n        return { models: kendo.stringify(data.models) }\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var products = dataSource.data();\n  dataSource.remove(products[0]);\n  dataSource.sync();\n});\n</script>"],["header",{"level":3},"transport.parameterMap ",["inlinecode","Function"]],["para","The function which converts the request parameters to a format suitable for the remote service. By default\nthe data source sends the parameters using jQuery's ",["link",{"href":"http://api.jquery.com/jQuery.param/"},"conventions"],"."],["blockquote",["para","The ",["inlinecode","parameterMap"]," method is often used to encode the parameters in JSON format."],["para",["strong","Important:"]," The ",["inlinecode","parameterMap"]," function will not be called when using custom functions for the read, update, create and destroy operations. "]],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]],["para","The parameters which will be sent to the remote service. The value specified in the ",["inlinecode","data"]," field of the transport settings (create, read, update or destroy) is included as well.\nIf ",["link",{"href":"#batch-boolean-default"},"batch"]," is set to ",["inlinecode","false"]," the fields of the changed data items are also included."],["header",{"level":5},"data.aggregate ",["inlinecode","Array"]],["para","The current aggregate configuration as set via the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.group ",["inlinecode","Array"]],["para","The current grouping configuration as set via the ",["link",{"href":"#configuration-group"},"group"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.filter ",["inlinecode","Object"]],["para","The current filter configuration as set via the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nAvailable  if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.models ",["inlinecode","Array"]],["para","All changed data items. Available  if there are any data item changes and the ",["link",{"href":"#configuration-batch"},"batch"]," option is set to ",["inlinecode","true"],"."],["header",{"level":5},"data.page ",["inlinecode","Number"]],["para","The current page. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.pageSize ",["inlinecode","Number"]],["para","The current page size as set via the ",["link",{"href":"#configuration-pageSize"},"pageSize"]," option. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.skip ",["inlinecode","Number"]],["para","The number of data items to skip. Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.sort ",["inlinecode","Array"]],["para","The current sort configuration as set via the ",["link",{"href":"#configuration-sort"},"sort"]," option. Available if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"data.take ",["inlinecode","Number"]],["para","The number of data items to return (the same as ",["inlinecode","data.pageSize"],"). Available if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"]," option is set to ",["inlinecode","true"]," and the data source makes a \"read\" request."],["header",{"level":5},"type ",["inlinecode","String"]],["para","The type of the request which the data source makes. The supported values are \"create\", \"read\", \"update\" and \"destroy\"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the request parameters converted to a format required by the remote service."],["header",{"level":4},"Example - convert data source request parameters"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Orders?$format=json\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      jsonp: \"$callback\",\n      cache: true\n    },\n    parameterMap: function(data, type) {\n      if (type == \"read\") {\n        // send take as \"$top\" and skip as \"$skip\"\n        return {\n          $top: data.take,\n          $skip: data.skip\n        }\n      }\n    }\n  },\n  schema: {\n    data: \"d\"\n  },\n  pageSize: 20,\n  serverPaging: true // enable serverPaging so take and skip are sent as request parameters\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"20\"\n});\n</script>"],["header",{"level":4},"Example - send request parameters as JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      return kendo.stringify(data);\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"New Product\" });\ndataSource.sync();\n</script>"],["header",{"level":3},"transport.read ",["inlinecode","Object|String|Function"]],["para","The configuration used when the data source loads data items from a remote service."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.read"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.read"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.read"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.read"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - set the read remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":4},"Example - send additional parameters to the remote service"],["code_block","<input value=\"html5\" id=\"search\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: {\n        q: $(\"#search\").val() // send the value of the #search input to the remote service\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - set read as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":3},"transport.read.cache ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.read.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    create: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.read.data ",["inlinecode","Object|Function"]],["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: {\n        q: \"html5\" // send \"html5\" as the \"q\" parameter\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/twitter/search\",\n      dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n      data: function() {\n        return {\n          q: \"html5\" // send \"html5\" as the \"q\" parameter\n        };\n      }\n    }\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":3},"transport.read.dataType ",["inlinecode","String"]],["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.read.type ",["inlinecode","String"]],["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.read.url ",["inlinecode","String|Function"]],["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products\",\n      }\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"77\"\n});\n</script>"],["header",{"level":3},"transport.update ",["inlinecode","Object|String|Function"]],["para","The configuration used when the data source saves updated data items. Those are data items whose fields have been updated."],["blockquote",["para","The data source uses ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," to make a HTTP request to the remote service. The value configured via ",["inlinecode","transport.update"]," is passed to ",["inlinecode","jQuery.ajax"],". This means that you can set\nall options supported by ",["inlinecode","jQuery.ajax"]," via ",["inlinecode","transport.update"]," except the ",["inlinecode","success"]," and ",["inlinecode","error"]," callback functions which are used by the transport."]],["para","If the value of ",["inlinecode","transport.update"]," is a function, the data source invokes that function instead of ",["inlinecode","jQuery.ajax"],"."],["para","If the value of ",["inlinecode","transport.update"]," is a string the data source uses this string as the URL of the remote service."],["header",{"level":4},"Example - specify update as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync(); makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"],["header",{"level":4},"Example - specify update as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      /* implementation omitted for brevity */\n    },\n    update: function(options) {\n      // make JSONP request to http://demos.kendoui.com/service/products/update\n      $.ajax({\n        url: \"http://demos.kendoui.com/service/products/update\",\n        dataType: \"jsonp\", // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n        // send the updated data items as the \"models\" service parameter encoded in JSON\n        data: {\n          models: kendo.stringify(options.data.models)\n        },\n        success: function(result) {\n          // notify the data source that the request succeeded\n          options.success(result);\n        },\n        error: function(result) {\n          // notify the data source that the request failed\n          options.error(result);\n        }\n      });\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync(); makes request to http://demos.kendoui.com/service/products/update\n});\n</script>"],["header",{"level":3},"transport.update.cache ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","false"]," the request result will not be cached by the browser. Setting cache to ",["inlinecode","false"]," will only work correctly with HEAD and GET requests. It works by appending ",["em","\"_={timestamp}\""]," to the GET parameters.\nBy default \"jsonp\" requests are not cached."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - enable request caching"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      cache: true\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.update.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set content type"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      contentType: \"application/json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.update.data ",["inlinecode","Object|Function"]],["para","Additional parameters which are sent to the remote service."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - send additional parameters as an object"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      data: {\n        name: \"Jane Doe\",\n        age: 30\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - send additional parameters by returning them from a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      data: function() {\n        return {\n          name: \"Jane Doe\",\n          age: 30\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.update.dataType ",["inlinecode","String"]],["para","The type of result expected from the server. Commonly used values are \"json\" and \"jsonp\"."],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the data type to JSON"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      dataType: \"json\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.update.type ",["inlinecode","String"]],["para","The type of request to make (\"POST\", \"GET\", \"PUT\" or ",["inlinecode","\"DELETE\""],"), default is \"GET\"."],["blockquote",["para","The ",["inlinecode","type"]," option is ignored if ",["inlinecode","dataType"]," is set to \"jsonp\". JSONP always uses GET requests."]],["para","Refer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - set the HTTP verb of the request"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    update: {\n      /* omitted for brevity */\n      type: \"POST\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"transport.update.url ",["inlinecode","String|Function"]],["para","The URL to which the request is sent."],["para","If set to function the data source will invoke it and use the result as the URL."],["header",{"level":4},"Example - specify URL as a string"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync();\n});\n</script>"],["header",{"level":4},"Example - specify URL as a function"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: function(options) {\n        return \"http://demos.kendoui.com/service/products/update\",\n      },\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  dataSource.sync();\n});\n</script>"],["header",{"level":3},"type ",["inlinecode","String"]],["para","If set the data source will use a predefined ",["link",{"href":"#configuration-transport"},"transport"]," and/or ",["link",{"href":"#configuration-schema"},"schema"],". The only supported value is \"odata\" which supports the ",["link",{"href":"http://www.odata.org"},"OData"]," v.2 protocol."],["header",{"level":4},"Example - enable OData support"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: \"http://demos.kendoui.com/service/Northwind.svc/Orders\"\n  },\n  pageSize: 20,\n  serverPaging: true\n});\ndataSource.fetch(function() {\n  console.log(dataSource.view().length); // displays \"20\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"add"],["para","Appends a data item to the data source."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.Model"]],["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the data item field values."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the data item which is inserted."],["header",{"level":4},"Example - add a data item to a local data source"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\ndataSource.add({ name: \"John Doe\", age: 33 });\nvar data = dataSource.data();\nvar lastItem = data[data.length - 1];\nconsole.log(lastItem.name); // displays \"John Doe\"\nconsole.log(lastItem.age); // displays \"33\"\n</script>"],["header",{"level":4},"Example - add a data item to a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    // make JSONP request to http://demos.kendoui.com/service/products/create\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data, type) {\n      if (type == \"create\") {\n        // send the created data items as the \"models\" service parameter encoded in JSON\n        return { models: kendo.stringify(data.models) };\n      }\n    }\n  },\n  batch: true,\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\n// add a new data item\ndataSource.add( { ProductName: \"New Product\" });\n// save the created data item\ndataSource.sync();\n</script>"],["header",{"level":3},"aggregate"],["para","Gets or sets the aggregate configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current aggregate configuration."],["header",{"level":4},"Example - set the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n// calculate the minimum and maximum age\ndataSource.aggregate([\n  { field: \"age\", aggregate: \"min\" },\n  { field: \"age\", aggregate: \"max\" }\n]);\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"],["header",{"level":4},"Example - get the data source aggregates"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"age\", aggregate: \"max\" }\n  ]\n});\nvar aggregates = dataSource.aggregate();\nconsole.log(kendo.stringify(aggregates[0])); // displays {\"aggregate\": \"min\", \"field\": \"age\"}\n</script>"],["header",{"level":3},"aggregates"],["para","Returns the aggregate results."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the aggregate results. There is a key for every aggregated field."],["header",{"level":4},"Example - get aggregate results"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  aggregate: [\n    { field: \"age\", aggregate: \"min\" },\n    { field: \"name\", aggregate: \"max\" }\n  ]\n});\nvar ageAggregates = dataSource.aggregates().age;\nconsole.log(ageAggregates.min); // displays \"30\"\nconsole.log(ageAggregates.max); // displays \"33\"\n</script>"],["header",{"level":3},"at"],["para","Returns the data item at the specified index. The index is zero-based."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","The zero-based index of the data item."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the data item at the specified index. Returns ",["inlinecode","undefined"]," if a data item is not found at the specified index.\nReturns a ",["inlinecode","kendo.data.Model"]," instance if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set."],["header",{"level":4},"Example - get a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  var dataItemWhichDoesNotExist = dataSource.at(3);\n  console.log(dataItemWhichDoesNotExist); // displays \"undefined\"\n});\n</script>"],["header",{"level":3},"cancelChanges"],["para","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."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","kendo.data.Model"]],["para","The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded."],["header",{"level":4},"Example - cancel all changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel all changes\n  dataSource.cancelChanges();\n  dataItem = dataSource.at(0);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"1\"\n});\n</script>"],["header",{"level":4},"Example - cancel changes of only one data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function(){\n  // add a new data item\n  dataSource.add({ name: \"John Doe\" });\n  // update existing data item\n  var dataItem = dataSource.at(0);\n  dataItem.set(\"name\", \"Jane Doe 2\");\n  // cancel the changes of the dataItem\n  dataSource.cancelChanges(dataItem);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n  console.log(dataSource.data().length); // displays \"2\"\n});\n</script>"],["header",{"level":3},"data"],["para","Gets or sets the data items of the data source."],["para","If the data source is bound to a remote service (via the ",["link",{"href":"#configuration-transport"},"transport"]," option) the ",["inlinecode","data"]," method will return the service response.\nEvery item from the response is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is bound to a JavaScript array (via the ",["link",{"href":"#configuration-data"},"data"]," option) the ",["inlinecode","data"]," method will return the items of that array.\nEvery item from the array is wrapped in a ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," or ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," (if the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option is set)."],["para","If the data source is grouped (via the ",["link",{"href":"#configuration-group"},"group"]," option or the ",["link",{"href":"#methods-group"},"group"]," method) and the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"]," is set to ",["inlinecode","true"],"\nthe ",["inlinecode","data"]," method will return the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Array|kendo.data.ObservableArray"]],["para","The data items which will replace the current ones in the data source. If omitted the current data items will be returned."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableArray"]," the data items of the data source. Returns empty array if the data source hasn't been populated with data items via the ",["link",{"href":"#methods-read"},"read"],", ",["link",{"href":"#methods-fetch"},"fetch"]," or ",["link",{"href":"#methods-query"},"query"]," methods."],["header",{"level":4},"Example - get the data items when bound to array"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"2\"\n  console.log(data[0].name); // displays \"Jane Doe\"\n  console.log(data[1].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the data items when bound to a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.fetch(function(){\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"],["header",{"level":4},"Example - set the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" }\n  ]\n});\ndataSource.fetch(function(){\n  dataSource.data([ { name: \"John Doe\" } ]);\n  var data = dataSource.data();\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":3},"fetch"],["para","Reads the data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","fetch"]," method makes a request to the remote service only the first time it is called."]],["header",{"level":4},"Parameters"],["header",{"level":5},"callback ",["inlinecode","Function"]," ",["em","(optional)"]],["para","The optional function which is executed when the remote request is finished.  The function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Example - read data from a remote data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\n// read the data items from http://demos.kendoui.com/service/products\ndataSource.fetch(function(){\n  var data = this.data();\n  console.log(data.length);  // displays \"77\"\n  console.log(data[0].ProductName); // displays \"Chai\"\n});\n</script>"],["header",{"level":3},"filter"],["para","Gets or sets the filter configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option (",["strong","check there fo more examples"],")."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the current filter configuration."],["header",{"level":4},"Example - set the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.filter( { field: \"name\", operator: \"startswith\", value: \"Jane\" });\nvar view = dataSource.view();\nconsole.log(view.length);\nconsole.log(view[0].name); // displays \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - get the data source filter"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filter: { field: \"name\", operator: \"startswith\", value: \"Jane\" }\n});\nvar filter = dataSource.filter();\nconsole.log(filter.logic);  // displays \"and\"\nconsole.log(filter.filters[0]); displays '{field: \"name\", operator: \"startswith\", value: \"Jane\"}'\n</script>"],["header",{"level":3},"get"],["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-id"},"id"],"."],["blockquote",["para","The ",["inlinecode","get"]," method requires the ",["link",{"href":"#configuration-schema.model"},"schema.model"]," option to be set and the ",["inlinecode","id"]," of the model to be specified."]],["header",{"level":4},"Parameters"],["header",{"level":5},"id ",["inlinecode","Number|String"]],["para","The id of the model to look for."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the model instance. Returns ",["inlinecode","undefined"]," if a model with the specified id is not found."],["header",{"level":4},"Example - find a model by id"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    {id: 1, name: \"Jane Doe\" },\n    {id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.get(1);\n  console.log(dataItem.name); // displays \"Jane Doe\"\n});\n</script>"],["header",{"level":3},"getByUid"],["para","Gets the data item (model) with the specified ",["link",{"href":"/api/framework/model#fields-uid"},"uid"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"uid ",["inlinecode","String"]],["para","The uid of the model to look for."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the model instance. Returns ",["inlinecode","undefined"]," if a model with the specified uid is not found."],["header",{"level":3},"group"],["para","Gets or sets the grouping configuration."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-group"},"group"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current grouping configuration."],["header",{"level":4},"Example - group the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ]\n});\ndataSource.group({ field: \"category\" });\nvar view = dataSource.view();\nconsole.log(view.length); // displays \"2\"\nvar beverages = view[0];\nconsole.log(beverages.value); // displays \"Beverages\"\nconsole.log(beverages.items[0].name); // displays \"Tea\"\nconsole.log(beverages.items[1].name); // displays \"Coffee\"\nvar food = view[1];\nconsole.log(food.value); // displays \"Food\"\nconsole.log(food.items[0].name); // displays \"Ham\"\n</script>"],["header",{"level":4},"Example - get the data source grouping configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" }\n});\nvar groups = dataSource.group();\nconsole.log(groups.length); // displays \"1\"\nconsole.log(groups[0].field); // displays \"category\"\n</script>"],["header",{"level":3},"hasChanges ",["inlinecode","Boolean"]],["para","Cheks if the data itams have changed."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," returns ",["inlinecode","true"]," if the data items have changed. Otherwise, ",["inlinecode","false"],"."],["header",{"level":4},"Example - check if the data source has changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  console.log(dataSource.hasChanges()); // displays \"false\"\n  dataSource.add({ name: \"John Doe\" });\n  console.log(dataSource.hasChanges()); // displays \"true\"\n});\n</script>"],["header",{"level":3},"indexOf"],["para","Gets the index of the specified data item."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItem ",["inlinecode","kendo.data.ObservableObject"]],["para","The target data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the index of the specified data item. Returns ",["inlinecode","-1"]," if the data item is not found."],["header",{"level":4},"Example - get the index of a data item"],["code_block","<script>\nvar dataSource= new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"],["header",{"level":3},"insert"],["para","Inserts a data item in the data source at the specified index."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","The zero-based index at which the data item will be inserted."],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.ObservableObject|kendo.data.Model"]],["para","Either a ",["link",{"href":"/api/framework/model"},"kendo.data.Model"]," instance or JavaScript object containing the field values."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Model"]," the data item which is inserted."],["header",{"level":4},"Example - insert a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.insert(0, { name: \"John Doe\" });\n  var index = dataSource.indexOf(dataItem);\n  console.log(index); // displays \"0\"\n});\n</script>"],["header",{"level":3},"page"],["para","Gets or sets the current page."],["header",{"level":4},"Parameters"],["header",{"level":5},"page ",["inlinecode","Number"]],["para","The new page."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the current page."],["header",{"level":4},"Example - set the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the current page"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1,\n  page: 2\n});\nconsole.log(dataSource.page()); // displays \"2\""],["header",{"level":3},"pageSize"],["para","Gets or sets the current page size."],["header",{"level":4},"Parameters"],["header",{"level":5},"size ",["inlinecode","Number"]],["para","The new page size."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the current page size."],["header",{"level":4},"Example - set the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ]\n});\ndataSource.pageSize(1);\ndataSource.fetch(function() {\n  dataSource.page(2);\n  var view = dataSource.view();\n  console.log(view[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":4},"Example - get the page size"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.pageSize()); // displays \"1\"\n</script>"],["header",{"level":3},"query"],["para","Executes the specified query over the data items. Makes a HTTP request if bound to a remote service."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The query options which should be applied."],["header",{"level":5},"options.aggregate ",["inlinecode","Array"]," ",["em","(optional)"]],["para","The aggregate configuration. Accepts the same values as the ",["link",{"href":"#configuration-aggregate"},"aggregate"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverAggregates"},"serverAggregates"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.filter ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The filter configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverFiltering"},"serverFiltering"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.group ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The grouping configuration. Accepts the same values as the ",["link",{"href":"#configuration-filter"},"filter"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverGrouping"},"serverGrouping"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.page ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The page of data to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.pageSize ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The number of data items to return.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverPaging"},"serverPaging"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":5},"options.sort ",["inlinecode","Object|Array"]," ",["em","(optional)"]],["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option.\nThe ",["inlinecode","query"]," method will request the remote service if the ",["link",{"href":"#configuration-serverSorting"},"serverSorting"],"\noption is set to ",["inlinecode","true"],"."],["header",{"level":4},"Example - query the data source"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" // \"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Manjimup Dried Apples\"\n  }\n});\n// sort by \"ProductName\" and get the third page with page size set to 20\ndataSource.query({\n  sort: { field: \"ProductName\", dir: \"desc\" },\n  page: 3,\n  pageSize: 20\n});\n</script>"],["header",{"level":3},"read"],["para","Reads data items from a remote service (if the ",["link",{"href":"#configuration-transport"},"transport"]," option is set) or from a JavaScript array (if the ",["link",{"href":"#configuration-data"},"data"]," option is set)."],["blockquote",["para","The ",["inlinecode","read"]," method always makes a request to the remote service."]],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Optional data to pass to the remote service."],["header",{"level":4},"Example - read data from a remote service"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  change: function(e) {\n    var view = this.view();\n    console.log(view[0].ProductName); // displays \"Chai\"\n  }\n});\ndataSource.read();\n</script>"],["header",{"level":3},"remove"],["para","Removes the specified data item from the data source."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","kendo.data.Model"]],["para","The data item which should be removed."],["header",{"level":4},"Example - remove a data item"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { id: 1, name: \"Jane Doe\" },\n    { id: 2, name: \"John Doe\" }\n  ],\n  schema: {\n    model: { id: \"id\" }\n  }\n});\ndataSource.fetch(function() {\n  var dataItem = dataSource.at(0);\n  dataSource.remove(dataItem);\n  var data = dataSource.data();\n  console.log(data.length);  // displays \"1\"\n  console.log(data[0].name); // displays \"John Doe\"\n});\n</script>"],["header",{"level":3},"sort"],["para","Gets or sets the sort order which will be applied over the data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object|Array"]],["para","The sort configuration. Accepts the same values as the ",["link",{"href":"#configuration-sort"},"sort"]," option."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the current sort configuration."],["header",{"level":4},"Example - sort the data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.sort({ field: \"age\", dir: \"desc\" });\nvar view = dataSource.view();\nconsole.log(view[0].name); // displays \"John Doe\"\n</script>"],["header",{"level":4},"Example - get the sort configuration"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sort: { field: \"age\", dir: \"desc\" }\n});\nvar sort = dataSource.sort();\nconsole.log(sort.length);   // displays \"1\"\nconsole.log(sort[0].field); // displays \"age\"\n</script>"],["header",{"level":3},"sync"],["para","Saves any data item changes."],["para","The ",["inlinecode","sync"]," method will request the remote service if:"],["bulletlist",["listitem","the ",["link",{"href":"#configuration-transport.create"},"transport.create"]," option is set and the data source contains new data items"],["listitem","the ",["link",{"href":"#configuration-transport.destroy"},"transport.destroy"]," option is set and data items have been removed from the data source"],["listitem","the ",["link",{"href":"#configuration-transport.update"},"transport.update"]," option is set and the data source contains updated data items"]],["header",{"level":4},"Example - save the changes"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    read:  {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    update: {\n      url: \"http://demos.kendoui.com/service/products/update\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    destroy: {\n      url: \"http://demos.kendoui.com/service/products/destroy\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.fetch(function() {\n  var product = dataSource.at(0);\n  product.set(\"UnitPrice\", 20);\n  var anotherProduct = dataSource.at(1);\n  anotherProduct.set(\"UnitPrice\", 20);\n  var yetAnotherProduct = dataSource.at(2);\n  dataSource.remove(yetAnotherProduct);\n  dataSource.sync(); // makes a request to http://demos.kendoui.com/service/products/update\" and http://demos.kendoui.com/service/products/destroy\n});\n</script>"],["header",{"level":3},"total"],["para","Gets the total number of data items. Uses ",["link",{"href":"#configuration-schema.total"},"schema.total"]," if the ",["link",{"href":"#configuration-transport.read"},"transport.read"]," option is set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the total number of data items. Returns the ",["inlinecode","length"]," of the array returned by the ",["link",{"href":"#methods-data"},"data"]," method if ",["inlinecode","schema.total"]," or ",["inlinecode","transport.read"]," are not set.\nReturns ",["inlinecode","0"]," if the data source hasn't been populated with data items via the ",["link",{"href":"#methods-read"},"read"],", ",["link",{"href":"#methods-read"},"fetch"]," or ",["link",{"href":"#methods-query"},"query"]," methods."],["header",{"level":4},"Example - get the total number of data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\ndataSource.fetch(function() {\n  console.log(dataSource.total()); // displays \"2\"\n});\n</script>"],["header",{"level":3},"totalPages"],["para","Gets the number of available pages."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the available pages."],["header",{"level":4},"Example - get the total number of pages"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  pageSize: 1\n});\nconsole.log(dataSource.totalPages());   // displays \"2\"\n</script>"],["header",{"level":3},"view"],["para","Returns the data items which correspond to the current page, filter, sort and group configuration."],["para","To ensure that data is available this method should be used within the ",["link",{"href":"#events-change"},"change"]," event handler or the ",["link",{"href":"#methods-fetch"},"fetch"]," method."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableArray"]," the data items. Returns groups if the data items are grouped (via the ",["link",{"href":"#configuration-group"},"group"]," option or the ",["link",{"href":"#methods-group"},"group"]," method)."],["header",{"level":4},"Example - get the paged and sorted data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  pageSize: 1,\n  page: 2,\n  sort: { field: \"category\", dir: \"desc\" }\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  console.log(view[0].name); // displays \"Tea\"\n});\n</script>"],["header",{"level":4},"Example - get the paged, sorted and grouped data items"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"Tea\", category: \"Beverages\" },\n    { name: \"Coffee\", category: \"Beverages\" },\n    { name: \"Ham\", category: \"Food\" }\n  ],\n  group: { field: \"category\" },\n  sort: { field: \"name\", dir: \"asc\" },\n  pageSize: 2,\n  page: 1\n});\ndataSource.fetch(function() {\n  var view = dataSource.view();\n  console.log(view.length); // displays \"1\"\n  var beverages = view[0];\n  console.log(beverages.value); // displays \"Beverages\"\n  console.log(beverages.items.length); // displays \"2\"\n  console.log(beverages.items[0].name); // displays \"Coffee\"\n  console.log(beverages.items[1].name); // displays \"Tea\"\n});\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the data source is populated from a JavaScript array or a remote service, a data item is inserted, updated or removed, the data items are paged, sorted, filtered or grouped."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  },\n  change: function(e) {\n    var data = this.data();\n    console.log(data.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<script>\nfunction dataSource_change(e) {\n  var data = this.data();\n  console.log(data.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    }\n  }\n});\ndataSource.bind(\"change\", dataSource_change);\ndataSource.fetch();\n</script>"],["header",{"level":3},"error"],["para","Fired when a request to the remote service fails."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","If the ",["link",{"href":"#configuration-schema.errors"},"schema.errors"]," option is set and the server response contains that field then the ",["inlinecode","error"]," event will be fired. The\n",["inlinecode","errors"]," field of the event argument will contain the errors returned by the server."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.errorThrown ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Optional exception."],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","String describing the type of the error"],["header",{"level":5},"e.xhr ",["inlinecode","Object"]],["para","The current ",["link",{"href":"http://api.jquery.com/Types/#jqXHR"},"jqXHR"],"."],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<script>\nfunction dataSource_error(e) {\n  console.log(e.status); // displays \"error\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/\"\n    }\n  }\n});\ndataSource.bind(\"error\", dataSource_error);\ndataSource.fetch();\n</script>"],["header",{"level":3},"requestEnd"],["para","Fired when a remote service request is finished."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.response ",["inlinecode","Object"]],["para","The raw remote service response."],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":5},"e.type ",["inlinecode","String"]],["para","The type of the request. Set to \"create\", \"read\", \"update\" or \"destroy\"."],["header",{"level":4},"Example - subscribe to the \"requestEnd\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestEnd: function(e) {\n    var response = e.response;\n    var type = e.type;\n    console.log(type); // displays \"read\"\n    console.log(response.length); // displays \"77\"\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"requestEnd\" event after initialization"],["code_block","<script>\nfunction dataSource_requestEnd(e) {\n  var response = e.response;\n  var type = e.type;\n  console.log(type); // displays \"read\"\n  console.log(response.length); // displays \"77\"\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestEnd);\ndataSource.fetch();\n</script>"],["header",{"level":3},"requestStart"],["para","Fired when the data source makes a remote service request."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"requestStart\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  requestStart: function(e) {\n    console.log(\"request started\");\n  }\n});\ndataSource.fetch();\n</script>"],["header",{"level":4},"Example - subscribe to the \"requestStart\" event after initialization"],["code_block","<script>\nfunction dataSource_requestStart(e) {\n  console.log(\"request started\");\n}\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\ndataSource.bind(\"requestEnd\", dataSource_requestStart);\ndataSource.fetch();\n</script>"],["header",{"level":3},"sync"],["para","Fired after the data source saves data item changes. The data source saves the data item changes when the ",["link",{"href":"#methods-sync"},"sync"]," method is called."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["blockquote",["para","The ",["inlinecode","sync"]," event is fired after all remote requests finish."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.data.DataSource"]],["para","The data source instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"sync\" event during initialization"],["code_block","<script>\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  sync: function(e) {\n    console.log(\"sync complete\");\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"],["header",{"level":4},"Example - subscribe to the \"sync\" event after initialization"],["code_block","<script>\nfunction dataSource_sync(e) {\n  console.log(\"sync complete\");\n}\nvar dataSource = new kendo.data.DataSource({\n  batch: true,\n  transport: {\n    create: {\n      url: \"http://demos.kendoui.com/service/products/create\",\n      dataType: \"jsonp\" //\"jsonp\" is required for cross-domain requests; use \"json\" for same-domain requests\n    },\n    parameterMap: function(data) {\n      return { models: kendo.stringify(data.models) };\n    }\n  },\n  schema: {\n    model: { id: \"ProductID\" }\n  }\n});\ndataSource.bind(\"sync\", dataSource_sync);\ndataSource.add( { ProductName: \"Ham\" } );\ndataSource.sync();\n</script>"],["header",{"level":2},"Class methods"],["header",{"level":3},"create"],["para","Creates a data source instance using the specified configuration. If the configuration is a data source instance the same instance will be returned."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.DataSource"]," the new data source instance."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The data source ",["link",{"href":"#configuration"},"configuration"],"."],["header",{"level":4},"Example - parsing the dataSource configuration option in a custom widget"],["code_block","<script>\nvar dataSource = kendo.data.DataSource.create({\n  data: [\n    { name: \"Jane Doe\" }\n  ]\n});\n</script>"]]},"kendo.ui.Draggable":{"file":"api/framework/draggable.md","name":"kendo.ui.Draggable","config":[{"name":"axis","type":["String"],"default":"null","short_doc":[["para"," Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either \"x\" or \"y\"."]],"doc":[["para"," Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either \"x\" or \"y\"."],["header",{"level":4},"Example - initialize horizontally draggable element"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    axis: \"x\"\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},{"name":"container","type":["jQuery"],"short_doc":[["para","If set, the hint movement is constrained to the container boundaries."]],"doc":[["para","If set, the hint movement is constrained to the container boundaries."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <div id=\"draggable\"></div>\n</div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    container: $(\"#container\")\n  });\n</script>\n<style>\n  #container {\n    width: 200px;\n    height: 200px;\n    border: 1px dashed red;\n  }\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},{"name":"cursorOffset","type":["Object"],"default":"null","short_doc":[["para"," If set, specifies the offset of the hint relative to the mouse cursor/finger.\nBy default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: ",["inlinecode","top"]," and ",["inlinecode","left"],"."]],"doc":[["para"," If set, specifies the offset of the hint relative to the mouse cursor/finger.\nBy default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: ",["inlinecode","top"]," and ",["inlinecode","left"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    cursorOffset: { top: 30, left: 100 }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},{"name":"distance","type":["Number"],"default":"5","short_doc":[["para"," The required distance that the mouse should travel in order to initiate a drag."]],"doc":[["para"," The required distance that the mouse should travel in order to initiate a drag."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    distance: 50\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},{"name":"filter","type":["Selector"],"short_doc":[["para","Selects child elements that are draggable if a widget is attached to a container."]],"doc":[["para","Selects child elements that are draggable if a widget is attached to a container."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <div class=\"draggable\"></div>\n  <div class=\"static\"></div>\n  <div class=\"static\"></div>\n  <div class=\"static\"></div>\n  <div class=\"draggable\"></div>\n</div>\n<script>\n  $(\"#container\").kendoDraggable({\n    filter: \".draggable\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n</script>\n<style>\n  .draggable, .static {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .draggable { background-color: orange; }\n  .static{ background-color: purple; }\n</style>"]]},{"name":"group","type":["String"],"default":"\"default\"","short_doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."]],"doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example - grouping draggable elements"],["code_block","<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n<div id=\"orangeArea\"></div>\n<div id=\"purpleArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n  $(\"#purpleArea\").kendoDropTarget({ group: \"purpleGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  #orangeArea, #purpleArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, #orangeArea { background-color: orange; }\n  .purple, #purpleArea { background-color: purple; }\n</style>"]]},{"name":"hint","type":["Function","jQuery"],"short_doc":[["para","Provides a way for customization of the drag indicator. If a function is supplied, it receives one argument - the draggable element's jQuery object."]],"doc":[["para","Provides a way for customization of the drag indicator. If a function is supplied, it receives one argument - the draggable element's jQuery object."],["header",{"level":4},"Example - customizing draggable tooltip"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},{"name":"holdToDrag","type":["Boolean"],"default":"false","short_doc":[["para","Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to ",["inlinecode","true"],", the widget will be activated after the user taps and holds the finger on the element for a short amount of time."],["para","The ",["em","draggable"]," will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately. The activated mode can be canceled by calling ",["inlinecode","cancelHold"],"."]],"doc":[["para","Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to ",["inlinecode","true"],", the widget will be activated after the user taps and holds the finger on the element for a short amount of time."],["para","The ",["em","draggable"]," will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately. The activated mode can be canceled by calling ",["inlinecode","cancelHold"],"."],["header",{"level":4},"Example - hold to drag"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]}],"methods":[{"name":"cancelHold","args":[],"short_doc":[["para","Has effect only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Cancels the activated state of the widget, caused by pressing and holding."]],"doc":[["para","Has effect only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Cancels the activated state of the widget, caused by pressing and holding."],["header",{"level":4},"Example - cancel activated draggable"],["code_block","<div id=\"draggable\"></div>\n\n<a id=\"cancel\">Cancel Draggable activated state</a>\n\n<script>\n  $(\"#cancel\").click(function() {\n      $(\"#draggable\").data(\"kendoDraggable\").cancelHold();\n  });\n\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - cancel activated draggable"],["code_block","<div id=\"draggable\"></div>\n\n<a id=\"cancel\">Cancel Draggable activated state</a>\n\n<script>\n  $(\"#cancel\").click(function() {\n      $(\"#draggable\").data(\"kendoDraggable\").cancelHold();\n  });\n\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]]}],"events":[{"name":"drag","args":[],"short_doc":[["para","Fires while dragging."]],"doc":[["para","Fires while dragging."],["header",{"level":4},"Example - bind during the initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    drag: function(e) {\n      console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":4},"Example - hook up to the event via bind method after initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#draggable\").data(\"kendoDraggable\").bind(\"drag\", function(e) {\n    console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - bind during the initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    drag: function(e) {\n      console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],[["header",{"level":4},"Example - hook up to the event via bind method after initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#draggable\").data(\"kendoDraggable\").bind(\"drag\", function(e) {\n    console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]],"type":["Function"]},{"name":"dragcancel","args":[],"short_doc":[["para","Fires when item drag is canceled by pressing the Escape key."]],"doc":[["para","Fires when item drag is canceled by pressing the Escape key."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragcancel: function(e) {\n      console.log(\"'Esc' key pressed! Dragging is cancelled.\");\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragcancel: function(e) {\n      console.log(\"'Esc' key pressed! Dragging is cancelled.\");\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]],"type":["Function"]},{"name":"dragend","args":[],"short_doc":[["para","Fires when item drag ends."]],"doc":[["para","Fires when item drag ends."],["header",{"level":4},"Example - show draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - show draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]],"type":["Function"]},{"name":"dragstart","args":[],"short_doc":[["para","Fires when item drag starts."]],"doc":[["para","Fires when item drag starts."],["header",{"level":4},"Example - hide draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - hide draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]],"type":["Function"]},{"name":"hold","args":[],"short_doc":[["para","Triggered only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Fires before the ",["inlinecode","dragStart"]," event."]],"doc":[["para","Triggered only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Fires before the ",["inlinecode","dragStart"]," event."],["header",{"level":4},"Example - hold to drag"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - hold to drag"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"axis ",["inlinecode","String"],["em","(default: null)"]],["para"," Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either \"x\" or \"y\"."],["header",{"level":4},"Example - initialize horizontally draggable element"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    axis: \"x\"\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"container ",["inlinecode","jQuery"]],["para","If set, the hint movement is constrained to the container boundaries."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <div id=\"draggable\"></div>\n</div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    container: $(\"#container\")\n  });\n</script>\n<style>\n  #container {\n    width: 200px;\n    height: 200px;\n    border: 1px dashed red;\n  }\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"cursorOffset ",["inlinecode","Object"],["em","(default: null)"]],["para"," If set, specifies the offset of the hint relative to the mouse cursor/finger.\nBy default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: ",["inlinecode","top"]," and ",["inlinecode","left"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    cursorOffset: { top: 30, left: 100 }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"distance ",["inlinecode","Number"],["em","(default: 5)"]],["para"," The required distance that the mouse should travel in order to initiate a drag."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    distance: 50\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"filter ",["inlinecode","Selector"]],["para","Selects child elements that are draggable if a widget is attached to a container."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <div class=\"draggable\"></div>\n  <div class=\"static\"></div>\n  <div class=\"static\"></div>\n  <div class=\"static\"></div>\n  <div class=\"draggable\"></div>\n</div>\n<script>\n  $(\"#container\").kendoDraggable({\n    filter: \".draggable\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n</script>\n<style>\n  .draggable, .static {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .draggable { background-color: orange; }\n  .static{ background-color: purple; }\n</style>"],["header",{"level":3},"group ",["inlinecode","String"],["em","(default: \"default\")"]],["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example - grouping draggable elements"],["code_block","<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n<div id=\"orangeArea\"></div>\n<div id=\"purpleArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n  $(\"#purpleArea\").kendoDropTarget({ group: \"purpleGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  #orangeArea, #purpleArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, #orangeArea { background-color: orange; }\n  .purple, #purpleArea { background-color: purple; }\n</style>"],["header",{"level":3},"hint ",["inlinecode","Function | jQuery"]],["para","Provides a way for customization of the drag indicator. If a function is supplied, it receives one argument - the draggable element's jQuery object."],["header",{"level":4},"Example - customizing draggable tooltip"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"holdToDrag ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to ",["inlinecode","true"],", the widget will be activated after the user taps and holds the finger on the element for a short amount of time."],["para","The ",["em","draggable"]," will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately. The activated mode can be canceled by calling ",["inlinecode","cancelHold"],"."],["header",{"level":4},"Example - hold to drag"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":2},"Methods"],["header",{"level":3},"cancelHold"],["para","Has effect only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Cancels the activated state of the widget, caused by pressing and holding."],["header",{"level":4},"Example - cancel activated draggable"],["code_block","<div id=\"draggable\"></div>\n\n<a id=\"cancel\">Cancel Draggable activated state</a>\n\n<script>\n  $(\"#cancel\").click(function() {\n      $(\"#draggable\").data(\"kendoDraggable\").cancelHold();\n  });\n\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":2},"Events"],["header",{"level":3},"drag"],["para","Fires while dragging."],["header",{"level":4},"Example - bind during the initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    drag: function(e) {\n      console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":4},"Example - hook up to the event via bind method after initialization"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#draggable\").data(\"kendoDraggable\").bind(\"drag\", function(e) {\n    console.log(\"x: \", e.screenX, \"y: \", e.screenY);\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"dragcancel"],["para","Fires when item drag is canceled by pressing the Escape key."],["header",{"level":4},"Example"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragcancel: function(e) {\n      console.log(\"'Esc' key pressed! Dragging is cancelled.\");\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"dragend"],["para","Fires when item drag ends."],["header",{"level":4},"Example - show draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"dragstart"],["para","Fires when item drag starts."],["header",{"level":4},"Example - hide draggable element on dragend"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    },\n    dragstart: function(e) {\n      e.currentTarget.hide();\n    },\n    dragend: function(e) {\n      e.currentTarget.show();\n    }\n  });\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"],["header",{"level":3},"hold"],["para","Triggered only when ",["inlinecode","holdToDrag"]," is set to ",["inlinecode","true"],". Fires before the ",["inlinecode","dragStart"]," event."],["header",{"level":4},"Example - hold to drag"],["code_block","<div id=\"draggable\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    holdToDrag: true,\n    hold: function(e) {\n        $(\"draggable\").css(\"background\", \"red\");\n    },\n    hint: function(element) {\n      var hintElement = $(\"<div id='hint'></div>\");\n      hintElement.css({\n        \"background-image\": \"url('http://www.kendoui.com/image/kendo-logo.png')\",\n        \"width\": \"230px\",\n        \"height\": \"80px\"\n      });\n      return hintElement;\n    }\n  });\n</script>\n\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    background-color: orange;\n    border: 2px solid green;\n  }\n</style>"]]},"kendo.ui.DropTarget":{"file":"api/framework/droptarget.md","name":"kendo.ui.DropTarget","config":[{"name":"group","type":["String"],"default":"\"default\"","short_doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."]],"doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example"],["code_block","<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n<div id=\"orangeArea\"></div>\n<div id=\"purpleArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n  $(\"#purpleArea\").kendoDropTarget({ group: \"purpleGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  #orangeArea, #purpleArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, #orangeArea { background-color: orange; }\n  .purple, #purpleArea { background-color: purple; }\n</style>"]]}],"methods":[{"name":"destroyGroup","args":[],"short_doc":[["para","Destroys all DropTarget instances from the group with the given name."]],"doc":[["para","Destroys all DropTarget instances from the group with the given name."],["header",{"level":4},"Example - destroy group's DropTargets and detach events"],["code_block","<div class=\"orange\"></div>\n<div class=\"orangeArea\"></div>\n<div class=\"orangeArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n\n  //destroy components and detach events\n  kendo.ui.DropTarget.destroyGroup(\"orangeGroup\");\n</script>\n<style>\n  .orange {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orangeArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, .orangeArea { background-color: orange; }\n</style>"]],"examples":[[["header",{"level":4},"Example - destroy group's DropTargets and detach events"],["code_block","<div class=\"orange\"></div>\n<div class=\"orangeArea\"></div>\n<div class=\"orangeArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n\n  //destroy components and detach events\n  kendo.ui.DropTarget.destroyGroup(\"orangeGroup\");\n</script>\n<style>\n  .orange {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orangeArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, .orangeArea { background-color: orange; }\n</style>"]]]}],"events":[{"name":"dragenter","args":[{"name":"e.draggable","type":["kendo.ui.Draggable"],"short_doc":[["para","Reference to the draggable that enters the drop target."]],"doc":[["para","Reference to the draggable that enters the drop target."]]}],"short_doc":[["para","Fires when draggable moves over the drop target."]],"doc":[["para","Fires when draggable moves over the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that enters the drop target."],["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]],"examples":[[["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]]],"type":["Function"]},{"name":"dragleave","args":[{"name":"e.draggable","type":["kendo.ui.Draggable"],"short_doc":[["para","Reference to the draggable that leaves the drop target."]],"doc":[["para","Reference to the draggable that leaves the drop target."]]}],"short_doc":[["para","Fires when draggable moves out of the drop target."]],"doc":[["para","Fires when draggable moves out of the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that leaves the drop target."],["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]],"examples":[[["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]]],"type":["Function"]},{"name":"drop","args":[{"name":"e.draggable","type":["kendo.ui.Draggable"],"short_doc":[["para","Reference to the draggable that is dropped over the drop target."]],"doc":[["para","Reference to the draggable that is dropped over the drop target."]]}],"short_doc":[["para","Fires when draggable is dropped over the drop target."]],"doc":[["para","Fires when draggable is dropped over the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that is dropped over the drop target."],["header",{"level":4},"Example - disable draggable component after it has been dropped"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<br />\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      drop: function(e) {\n          e.draggable.destroy(); //detach events\n          e.draggable.element.css(\"opacity\", 0.3); //change opacity\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    float: left;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 50px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]],"examples":[[["header",{"level":4},"Example - disable draggable component after it has been dropped"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<br />\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      drop: function(e) {\n          e.draggable.destroy(); //detach events\n          e.draggable.element.css(\"opacity\", 0.3); //change opacity\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    float: left;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 50px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"group ",["inlinecode","String"],["em","(default: \"default\")"]],["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example"],["code_block","<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n<div id=\"orangeArea\"></div>\n<div id=\"purpleArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n  $(\"#purpleArea\").kendoDropTarget({ group: \"purpleGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  #orangeArea, #purpleArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, #orangeArea { background-color: orange; }\n  .purple, #purpleArea { background-color: purple; }\n</style>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroyGroup"],["para","Destroys all DropTarget instances from the group with the given name."],["header",{"level":4},"Example - destroy group's DropTargets and detach events"],["code_block","<div class=\"orange\"></div>\n<div class=\"orangeArea\"></div>\n<div class=\"orangeArea\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".orangeArea\").kendoDropTarget({ group: \"orangeGroup\", drop: onDrop });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.remove();\n  }\n\n  //destroy components and detach events\n  kendo.ui.DropTarget.destroyGroup(\"orangeGroup\");\n</script>\n<style>\n  .orange {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orangeArea {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange, .orangeArea { background-color: orange; }\n</style>"],["header",{"level":2},"Events"],["header",{"level":3},"dragenter"],["para","Fires when draggable moves over the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that enters the drop target."],["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"],["header",{"level":3},"dragleave"],["para","Fires when draggable moves out of the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that leaves the drop target."],["header",{"level":4},"Example - modify draggable hint and dropTarget element"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      dragenter: function(e) {\n          e.draggable.hint.css(\"opacity\", 0.5); //modify the draggable hint\n          e.dropTarget.removeClass(\"orange\").addClass(\"purple\"); //modify dropTarget element\n      },\n      dragleave: function(e) {\n          e.draggable.hint.css(\"opacity\", 1); //modify the draggable hint\n          e.dropTarget.removeClass(\"purple\").addClass(\"orange\"); //modify dropTarget element\n\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 5px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"],["header",{"level":3},"drop"],["para","Fires when draggable is dropped over the drop target."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that is dropped over the drop target."],["header",{"level":4},"Example - disable draggable component after it has been dropped"],["code_block","<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<div class=\"draggable orange\"></div>\n<br />\n<div class=\"target orange\"></div>\n\n<script>\n  $(\".draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".target\").kendoDropTarget({ \n      drop: function(e) {\n          e.draggable.destroy(); //detach events\n          e.draggable.element.css(\"opacity\", 0.3); //change opacity\n      }\n  });\n\n</script>\n<style>\n  .draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    float: left;\n  }\n  .target {\n    width: 200px;\n    height: 200px;\n    border: 2px solid green;\n    margin: 50px;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n</style>"]]},"kendo.ui.DropTargetArea":{"file":"api/framework/droptargetarea.md","name":"kendo.ui.DropTargetArea","config":[{"name":"group","type":["String"],"default":"\"default\"","short_doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."]],"doc":[["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      group: \"orangeGroup\",\n      filter: \"#leftArea, #rightArea\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.css(\"opacity\", 0.3);\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]},{"name":"filter","type":["String"],"default":"null","short_doc":[["para"," Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea. ",["strong","Specifying the filter is mandatory."]]],"doc":[["para"," Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea. ",["strong","Specifying the filter is mandatory."]],["header",{"level":4},"Example"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"droptarget\" class=\"orange\"></div>\n</div>\n<div id=\"draggable\" class=\"purple\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      filter: \"#droptarget\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.dropTarget.toggleClass(\"orange\").toggleClass(\"purple\");\n    e.draggable.element.toggleClass(\"orange\").toggleClass(\"purple\");\n  }\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #droptarget {\n    width: 100px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 0 96px;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]}],"methods":[],"events":[{"name":"dragenter","args":[{"name":"e.draggable","type":["jQuery"],"short_doc":[["para","Reference to the draggable that enters a drop target."]],"doc":[["para","Reference to the draggable that enters a drop target."]]},{"name":"e.dropTarget","type":["jQuery"],"short_doc":[["para","The current drop target in the area that initiated the event."]],"doc":[["para","The current drop target in the area that initiated the event."]]}],"short_doc":[["para","Fires when draggable moves over one of the drop targets."]],"doc":[["para","Fires when draggable moves over one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","jQuery"]],["para","Reference to the draggable that enters a drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]],"type":["Function"]},{"name":"dragleave","args":[{"name":"e.draggable","type":["jQuery"],"short_doc":[["para","Reference to the draggable that leaves a drop target."]],"doc":[["para","Reference to the draggable that leaves a drop target."]]},{"name":"e.dropTarget","type":["jQuery"],"short_doc":[["para","The current drop target in the area that initiated the event."]],"doc":[["para","The current drop target in the area that initiated the event."]]}],"short_doc":[["para","Fires when draggable moves out of one of the drop targets."]],"doc":[["para","Fires when draggable moves out of one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","jQuery"]],["para","Reference to the draggable that leaves a drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]],"type":["Function"]},{"name":"drop","args":[{"name":"e.draggable","type":["kendo.ui.Draggable"],"short_doc":[["para","Reference to the draggable that is dropped over the drop target."]],"doc":[["para","Reference to the draggable that is dropped over the drop target."]]},{"name":"e.dropTarget","type":["jQuery"],"short_doc":[["para","The current drop target in the area that initiated the event."]],"doc":[["para","The current drop target in the area that initiated the event."]]}],"short_doc":[["para","Fires when draggable is dropped over one of the drop targets."]],"doc":[["para","Fires when draggable is dropped over one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that is dropped over the drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the dropTarget and draggable element on successful drop"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"droptarget\" class=\"orange\"></div>\n</div>\n<div id=\"draggable\" class=\"purple\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      filter: \"#droptarget\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.dropTarget.toggleClass(\"orange\").toggleClass(\"purple\");\n    e.draggable.element.toggleClass(\"orange\").toggleClass(\"purple\");\n  }\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #droptarget {\n    width: 100px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 0 96px;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]],"examples":[[["header",{"level":4},"Example - modify the dropTarget and draggable element on successful drop"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"droptarget\" class=\"orange\"></div>\n</div>\n<div id=\"draggable\" class=\"purple\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      filter: \"#droptarget\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.dropTarget.toggleClass(\"orange\").toggleClass(\"purple\");\n    e.draggable.element.toggleClass(\"orange\").toggleClass(\"purple\");\n  }\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #droptarget {\n    width: 100px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 0 96px;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"group ",["inlinecode","String"],["em","(default: \"default\")"]],["para"," Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target."],["header",{"level":4},"Example"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"orange\"></div>\n<div class=\"orange\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".orange\").kendoDraggable({\n    group: \"orangeGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\".purple\").kendoDraggable({\n    group: \"purpleGroup\",\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      group: \"orangeGroup\",\n      filter: \"#leftArea, #rightArea\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.draggable.destroy();\n    e.draggable.element.css(\"opacity\", 0.3);\n  }\n</script>\n<style>\n  .orange, .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"],["header",{"level":3},"filter ",["inlinecode","String"],["em","(default: null)"]],["para"," Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea. ",["strong","Specifying the filter is mandatory."]],["header",{"level":4},"Example"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"droptarget\" class=\"orange\"></div>\n</div>\n<div id=\"draggable\" class=\"purple\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      filter: \"#droptarget\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.dropTarget.toggleClass(\"orange\").toggleClass(\"purple\");\n    e.draggable.element.toggleClass(\"orange\").toggleClass(\"purple\");\n  }\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #droptarget {\n    width: 100px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 0 96px;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"],["header",{"level":2},"Events"],["header",{"level":3},"dragenter"],["para","Fires when draggable moves over one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","jQuery"]],["para","Reference to the draggable that enters a drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"],["header",{"level":3},"dragleave"],["para","Fires when draggable moves out of one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","jQuery"]],["para","Reference to the draggable that leaves a drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the hint element on dragenter"],["code_block","<div id=\"area\">\n  <div id=\"leftArea\"></div>\n  <div id=\"rightArea\"></div>\n</div>\n<div class=\"purple\"></div>\n<div class=\"purple\"></div>\n\n<script>\n  $(\".purple\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n    filter: \"#leftArea, #rightArea\",\n    dragenter: function(e) {\n      e.draggable.hint.css(\"opacity\", 0.3);\n    },\n    dragleave: function(e) {\n      e.draggable.hint.css(\"opacity\", 1);\n    }\n  });\n\n</script>\n<style>\n  .purple{\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #leftArea, #rightArea {\n    width: 140px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 2px;\n    background-color: orange;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"],["header",{"level":3},"drop"],["para","Fires when draggable is dropped over one of the drop targets."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.draggable ",["inlinecode","kendo.ui.Draggable"]],["para","Reference to the draggable that is dropped over the drop target."],["header",{"level":5},"e.dropTarget ",["inlinecode","jQuery"]],["para","The current drop target in the area that initiated the event."],["header",{"level":4},"Example - modify the dropTarget and draggable element on successful drop"],["code_block","<p>Area accepts only draggable elements from orange group</p>\n<div id=\"area\">\n  <div id=\"droptarget\" class=\"orange\"></div>\n</div>\n<div id=\"draggable\" class=\"purple\"></div>\n\n<script>\n  $(\"#draggable\").kendoDraggable({\n    hint: function(element) {\n      return element.clone();\n    }\n  });\n\n  $(\"#area\").kendoDropTargetArea({ \n      filter: \"#droptarget\",\n      drop: onDrop\n  });\n\n  function onDrop(e) {\n    e.dropTarget.toggleClass(\"orange\").toggleClass(\"purple\");\n    e.draggable.element.toggleClass(\"orange\").toggleClass(\"purple\");\n  }\n</script>\n<style>\n  #draggable {\n    width: 50px;\n    height: 50px;\n    border: 2px solid green;\n    margin: 5px;\n    display: inline-block;\n  }\n  .orange { background-color: orange; }\n  .purple { background-color: purple; }\n  #area {\n      width: 300px;\n      height: 300px;\n      line-height: 300px;\n      background-color: gray;\n  }\n  #droptarget {\n    width: 100px;\n    height: 100px;\n    border: 2px solid green;\n    margin: 0 96px;\n    display: inline-block;\n    vertical-align: middle;\n  }\n</style>"]]},"FX":{"file":"api/framework/fx.md","name":"FX","config":[],"methods":[{"name":"kendoAnimate","args":[{"name":"effects","type":["String","Object"],"short_doc":[["para","The effect/s that should be executed on the selected elements. Can be one or several combined effects, specified as a string with format\n\"effect:direction effect:direction\". Transformation effects that animate the same property can't be combined, like slideIn:left and\nslideIn:right for instance."]],"doc":[["para","The effect/s that should be executed on the selected elements. Can be one or several combined effects, specified as a string with format\n\"effect:direction effect:direction\". Transformation effects that animate the same property can't be combined, like slideIn:left and\nslideIn:right for instance."]]},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The effect duration (speed) in milliseconds."]],"doc":[["para","The effect duration (speed) in milliseconds."]]},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Whether the effect should play backwards, useful when doing the same animation but with the opposite direction, like opening and closing."]],"doc":[["para","Whether the effect should play backwards, useful when doing the same animation but with the opposite direction, like opening and closing."]]},{"name":"complete","type":["Function"],"short_doc":[["para","Completion callback that should be called after animation completion. It gets fired for every animated element and is passed the said element\nas its only argument."]],"doc":[["para","Completion callback that should be called after animation completion. It gets fired for every animated element and is passed the said element\nas its only argument."]]},{"name":"show","type":["Boolean"],"default":"false","short_doc":[["para","Whether the element should be shown before animating."]],"doc":[["para","Whether the element should be shown before animating."]]},{"name":"hide","type":["Boolean"],"default":"false","short_doc":[["para","Whether the element should be hidden after the animation completes."]],"doc":[["para","Whether the element should be hidden after the animation completes."]]}],"short_doc":[["para","Applies the specified animation effect/s to all selected elements and triggers the callback on every element when it completes its animation.\nUses transitions and transformations where available and falls back to jQuery animate where not. kendoAnimate can be used to run one of the provided\nanimation effects or you can define one yourself, using the same format."]],"doc":[["para","Applies the specified animation effect/s to all selected elements and triggers the callback on every element when it completes its animation.\nUses transitions and transformations where available and falls back to jQuery animate where not. kendoAnimate can be used to run one of the provided\nanimation effects or you can define one yourself, using the same format."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in\");"],["para","The effect/s can be passed either with a string with names and directions separated by a space or as an object containing them.\nIf passing the effects as a string, the arguments are parsed as follows:"],["code_block","elements.kendoAnimate(effects[, duration][, reverse][, callback]);"],["para","Returns the elements for chaining."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in slideIn:left\", 200, true, function (element) {\n    // Execute on completion\n});"],["para","Duration, reverse and the completion callback are optional and can be omitted."],["para","If effects are passed as an object, then the arguments should be specified inside that object instead."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate({\n    effects: \"fade:in\",\n    duration: 200,\n    complete: function (element) {\n        // Execute on completion\n    })\n}"],["header",{"level":4},"Parameters"],["header",{"level":5},"effects ",["inlinecode","String|Object"]],["para","The effect/s that should be executed on the selected elements. Can be one or several combined effects, specified as a string with format\n\"effect:direction effect:direction\". Transformation effects that animate the same property can't be combined, like slideIn:left and\nslideIn:right for instance."],["header",{"level":5},"duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The effect duration (speed) in milliseconds."],["header",{"level":5},"reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the effect should play backwards, useful when doing the same animation but with the opposite direction, like opening and closing."],["header",{"level":5},"complete ",["inlinecode","Function"]],["para","Completion callback that should be called after animation completion. It gets fired for every animated element and is passed the said element\nas its only argument."],["header",{"level":5},"show ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the element should be shown before animating."],["header",{"level":5},"hide ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the element should be hidden after the animation completes."]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in\");"],["para","The effect/s can be passed either with a string with names and directions separated by a space or as an object containing them.\nIf passing the effects as a string, the arguments are parsed as follows:"],["code_block","elements.kendoAnimate(effects[, duration][, reverse][, callback]);"],["para","Returns the elements for chaining."]],[["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in slideIn:left\", 200, true, function (element) {\n    // Execute on completion\n});"],["para","Duration, reverse and the completion callback are optional and can be omitted."],["para","If effects are passed as an object, then the arguments should be specified inside that object instead."]],[["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate({\n    effects: \"fade:in\",\n    duration: 200,\n    complete: function (element) {\n        // Execute on completion\n    })\n}"]]]},{"name":"kendoStop","args":[{"name":"clearQueue","type":["Boolean"],"default":"false","short_doc":[["para","Whether to clear the animation effects queue and start anew."]],"doc":[["para","Whether to clear the animation effects queue and start anew."]]},{"name":"gotoEnd","type":["Boolean"],"default":"false","short_doc":[["para","Whether to jump to the animation end position when stopping or just leave the element at its current position."]],"doc":[["para","Whether to jump to the animation end position when stopping or just leave the element at its current position."]]}],"short_doc":[["para","Stops the animation effect running on the specified elements and optionally jumps to the end and clears the animation effect queue.\nIn browsers that don't support transitions falls back to jQuery stop()."],["code_block","elements.kendoStop(clearQueue, gotoEnd);"],["para","This functionality is useful to avoid chaining many effects, causing them to run longer than expected."]],"doc":[["para","Stops the animation effect running on the specified elements and optionally jumps to the end and clears the animation effect queue.\nIn browsers that don't support transitions falls back to jQuery stop()."],["code_block","elements.kendoStop(clearQueue, gotoEnd);"],["para","This functionality is useful to avoid chaining many effects, causing them to run longer than expected."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoStop(true, true).kendoAnimate(\"fade:in\");"],["header",{"level":4},"Parameters"],["header",{"level":5},"clearQueue ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether to clear the animation effects queue and start anew."],["header",{"level":5},"gotoEnd ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether to jump to the animation end position when stopping or just leave the element at its current position."]],"examples":[[["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoStop(true, true).kendoAnimate(\"fade:in\");"]]]},{"name":"kendoAddClass","args":[],"short_doc":[["para","Adds a CSS class to the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery addClass();"],["blockquote",["para",["strong","Important:"]," kendoAddClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoAddClass(classes, options);"]],"doc":[["para","Adds a CSS class to the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery addClass();"],["blockquote",["para",["strong","Important:"]," kendoAddClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoAddClass(classes, options);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be added to the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."]],"examples":[]},{"name":"kendoRemoveClass","args":[],"short_doc":[["para","Removes a CSS class from the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery removeClass();"],["blockquote",["para",["strong","Important:"]," kendoRemoveClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoRemoveClass(classes, options);"]],"doc":[["para","Removes a CSS class from the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery removeClass();"],["blockquote",["para",["strong","Important:"]," kendoRemoveClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoRemoveClass(classes, options);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be removed from the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."]],"examples":[]},{"name":"kendoToggleClass","args":[],"short_doc":[["para","Toggle a CSS class on the element, based on a flag, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery toggleClass();"],["blockquote",["para",["strong","Important:"]," kendoToggleClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoToggleClass(classes, options, toggle);"]],"doc":[["para","Toggle a CSS class on the element, based on a flag, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery toggleClass();"],["blockquote",["para",["strong","Important:"]," kendoToggleClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoToggleClass(classes, options, toggle);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be toggled on the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","A boolean flag to control the toggle - true to add or false to remove the CSS class. If omitted the method will assume the opposite state\nshould be toggled."]],"examples":[]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Methods"],["header",{"level":3},"kendoAnimate"],["para","Applies the specified animation effect/s to all selected elements and triggers the callback on every element when it completes its animation.\nUses transitions and transformations where available and falls back to jQuery animate where not. kendoAnimate can be used to run one of the provided\nanimation effects or you can define one yourself, using the same format."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in\");"],["para","The effect/s can be passed either with a string with names and directions separated by a space or as an object containing them.\nIf passing the effects as a string, the arguments are parsed as follows:"],["code_block","elements.kendoAnimate(effects[, duration][, reverse][, callback]);"],["para","Returns the elements for chaining."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate(\"fade:in slideIn:left\", 200, true, function (element) {\n    // Execute on completion\n});"],["para","Duration, reverse and the completion callback are optional and can be omitted."],["para","If effects are passed as an object, then the arguments should be specified inside that object instead."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoAnimate({\n    effects: \"fade:in\",\n    duration: 200,\n    complete: function (element) {\n        // Execute on completion\n    })\n}"],["header",{"level":4},"Parameters"],["header",{"level":5},"effects ",["inlinecode","String|Object"]],["para","The effect/s that should be executed on the selected elements. Can be one or several combined effects, specified as a string with format\n\"effect:direction effect:direction\". Transformation effects that animate the same property can't be combined, like slideIn:left and\nslideIn:right for instance."],["header",{"level":5},"duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The effect duration (speed) in milliseconds."],["header",{"level":5},"reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the effect should play backwards, useful when doing the same animation but with the opposite direction, like opening and closing."],["header",{"level":5},"complete ",["inlinecode","Function"]],["para","Completion callback that should be called after animation completion. It gets fired for every animated element and is passed the said element\nas its only argument."],["header",{"level":5},"show ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the element should be shown before animating."],["header",{"level":5},"hide ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether the element should be hidden after the animation completes."],["header",{"level":3},"kendoStop"],["para","Stops the animation effect running on the specified elements and optionally jumps to the end and clears the animation effect queue.\nIn browsers that don't support transitions falls back to jQuery stop()."],["code_block","elements.kendoStop(clearQueue, gotoEnd);"],["para","This functionality is useful to avoid chaining many effects, causing them to run longer than expected."],["header",{"level":4},"Example"],["code_block","$(\"#box\").kendoStop(true, true).kendoAnimate(\"fade:in\");"],["header",{"level":4},"Parameters"],["header",{"level":5},"clearQueue ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether to clear the animation effects queue and start anew."],["header",{"level":5},"gotoEnd ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Whether to jump to the animation end position when stopping or just leave the element at its current position."],["header",{"level":3},"kendoAddClass"],["para","Adds a CSS class to the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery addClass();"],["blockquote",["para",["strong","Important:"]," kendoAddClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoAddClass(classes, options);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be added to the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."],["header",{"level":3},"kendoRemoveClass"],["para","Removes a CSS class from the element, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery removeClass();"],["blockquote",["para",["strong","Important:"]," kendoRemoveClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoRemoveClass(classes, options);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be removed from the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."],["header",{"level":3},"kendoToggleClass"],["para","Toggle a CSS class on the element, based on a flag, while doing a transition to the new state. If the browser doesn't support transitions,\nthe method falls back to jQuery toggleClass();"],["blockquote",["para",["strong","Important:"]," kendoToggleClass doesn't add the animation to the animation effect queue and can't be stopped with kendoStop."]],["code_block","elements.kendoToggleClass(classes, options, toggle);"],["header",{"level":5},"classes ",["inlinecode","String"]],["para","A list of the classes that should be toggled on the element/s, separated by a space."],["header",{"level":5},"options ",["inlinecode","Object"]],["para","An object containing several additional options, like duration and exclusive."],["header",{"level":5},"options.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","Duration of the class change animation, in ms."],["header",{"level":5},"options.exclusive ",["inlinecode","String"]," ",["em","(default: \"all\")"]],["para","The property on which to apply the animation."],["header",{"level":5},"options.ease ",["inlinecode","String"]," ",["em","(default: \"ease-out\")"]],["para","The animation easing."],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","A boolean flag to control the toggle - true to add or false to remove the CSS class. If omitted the method will assume the opposite state\nshould be toggled."],["header",{"level":2},"Effects"],["header",{"level":3},"fade"],["para","Does a fade effect on the targets with directions ",["em","in"]," and ",["em","out"],"."],["header",{"level":4},"Example"],["code_block","element.kendoAnimate(\"fade:in\");"],["header",{"level":3},"zoom"],["para","Does a zoom effect on the targets with directions ",["em","in"]," and ",["em","out"],". Uses scale transformation and falls back to zoom property in old IE browsers."],["header",{"level":4},"Example"],["code_block","element.kendoAnimate(\"zoom:in\");"],["header",{"level":3},"slideIn"],["para","Moves the targets in the opposite direction with their size nad then slides them with their size in the specified direction. Expected to be used in a container.\nDirections supported are ",["em","left"],", ",["em","right"],", ",["em","up"]," and ",["em","down"],"."],["header",{"level":4},"Example"],["code_block","element.kendoAnimate(\"slideIn:left\");"],["header",{"level":3},"expand"],["para","Expands the targets to their size in the specified direction. Directions supported are ",["em","vertical"]," and ",["em","horizontal"],"."],["header",{"level":4},"Example"],["code_block","element.kendoAnimate(\"expand:vertical\");"]]},"Common Effects API":{"file":"api/framework/fx/common.md","name":"Common Effects API","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","All Kendo effects support the following methods:"]],"doc":[["para","All Kendo effects support the following methods:"],["header",{"level":3},"duration"],["para","Sets the effect duration."],["header",{"level":4},"Parameters"],["header",{"level":5},"duration ",["inlinecode","Number"]],["para","The number of milliseconds it will take for the effect to reach its final state. By default, effects are animated for 400 milliseconds."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," the effect instance for further usage"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fadeOut().duration(2000).play();\n</script>"],["header",{"level":3},"direction"],["para","Sets the effect direction."],["para",["strong","Note"]," certain effects (like Transfer, for instance) do not have a direction."],["header",{"level":4},"Parameters"],["header",{"level":5},"direction ",["inlinecode","string"]],["para","The effect direction. Check the respective effect API reference for the values supported."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," the effect instance for further usage"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\">\n    I will be faded in\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fadeOut().direction(\"in\").play();\n</script>"],["header",{"level":3},"play"],["para","Plays the effect"],["header",{"level":4},"Returns"],["para",["inlinecode","Promise"]," a ",["link",{"href":"http://api.jquery.com/Types/#Promise"},"jQuery promise instance"],", which can be used for callbacks, or passed to ",["link",{"href":"http://api.jquery.com/jQuery.when/"},"jQuery.when"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\">\n    I will be faded out\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fadeOut().play().then(function() {\n        console.log(\"Foo faded out\");\n    });\n</script>"],["header",{"level":3},"reverse"],["para","Plays the effect in reverse."],["header",{"level":4},"Returns"],["para",["inlinecode","Promise"]," a ",["link",{"href":"http://api.jquery.com/Types/#Promise"},"jQuery promise instance"],", which can be used for callbacks, or passed to ",["link",{"href":"http://api.jquery.com/jQuery.when/"},"jQuery.when"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\">\n    I will be faded out\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fadeOut().reverse().then(function() {\n        console.log(\"Foo faded out\");\n    });\n</script>"],["header",{"level":3},"stop"],["para","Stops the effect in its current state"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\">\n    I will be faded out\n</div>\n\n<script>\n    var effect = kendo.fx($(\"#foo\")).fadeOut();\n    effect.duration(2000).play();\n    setTimeout(function() {\n        effect.stop();\n    }, 1000);\n</script>"]]},"Expand":{"file":"api/framework/fx/expand.md","name":"Expand","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","Expends the element from zero to its regular size.\nSupported directions are ",["inlinecode","horizontal"]," and ",["inlinecode","vertical"],".\nPlaying the effect in reverse will collapse the element to zero size and hide it."]],"doc":[["para","Expends the element from zero to its regular size.\nSupported directions are ",["inlinecode","horizontal"]," and ",["inlinecode","vertical"],".\nPlaying the effect in reverse will collapse the element to zero size and hide it."],["header",{"level":2},"Horizontal Expand Example"],["code_block","<div id=\"foo\" style=\"width:200px; height: 200px; background: red;\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).expand(\"horizontal\").play();\n    // an alternative syntax would be\n    // kendo.fx($(\"#foo\")).expandHorizontal().play();\n</script>"],["header",{"level":2},"Vertical Expand Example"],["code_block","<div id=\"foo\" style=\"width:200px; height: 200px; background: red;\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).expand(\"vertical\").play();\n    // an alternative syntax would be\n    // kendo.fx($(\"#foo\")).expandVertical().play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"direction ",["inlinecode","String"]],["para","The direction in which the element will be expanded. Either ",["inlinecode","horizontal"]," or ",["inlinecode","vertical"],"."]]},"Fade":{"file":"api/framework/fx/fade.md","name":"Fade","config":[],"methods":[{"name":"startValue","args":[{"name":"value","type":["Number"],"short_doc":[["para","the initial opacity value."]],"doc":[["para","the initial opacity value."]]}],"short_doc":[["para","Sets the initial ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."]],"doc":[["para","Sets the initial ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."],["header",{"level":4},"Fading an element out, starting from 50%"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"out\").startValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the initial opacity value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]],"examples":[]},{"name":"endValue","args":[{"name":"value","type":["Number"],"short_doc":[["para","the final opacity value."]],"doc":[["para","the final opacity value."]]}],"short_doc":[["para","Sets the final ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."]],"doc":[["para","Sets the final ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."],["header",{"level":4},"Fading an element in to 50% opacity"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"in\").endValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the final opacity value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]],"examples":[]}],"events":[],"fields":[],"short_doc":[["para","Fades the element in or out.\nSupported directions are ",["inlinecode","in"]," and ",["inlinecode","out"],"."]],"doc":[["para","Fades the element in or out.\nSupported directions are ",["inlinecode","in"]," and ",["inlinecode","out"],"."],["header",{"level":2},"Fading an element out"],["code_block","<div id=\"foo\">\n    I will fade out\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"out\").play();\n    // an alternative syntax would be\n    // kendo.fx($(\"#foo\")).fadeOut.play();\n</script>"],["header",{"level":2},"Fading an element in"],["code_block","<div id=\"foo\">\n    I will fade in\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"in\").play();\n    // an alternative syntax would be\n    // kendo.fx($(\"#foo\")).fadeIn.play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"direction ",["inlinecode","String"]],["para","The direction of the effect. Accepted values are ",["inlinecode","\"in\""]," or ",["inlinecode","\"out\""],". "],["header",{"level":2},"Methods"],["header",{"level":3},"startValue"],["para","Sets the initial ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."],["header",{"level":4},"Fading an element out, starting from 50%"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"out\").startValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the initial opacity value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"],["header",{"level":3},"endValue"],["para","Sets the final ",["strong","opacity"]," value of the element. \n1 means the element will be fully opaque. \n0 means that the element will be fully transparent."],["header",{"level":4},"Fading an element in to 50% opacity"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).fade(\"in\").endValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the final opacity value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]]},"Flip":{"file":"api/framework/fx/flip.md","name":"Flip","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","Flips the element around the axis specified by the axis parameter.  Supported directions are ",["inlinecode","horizontal"]," and ",["inlinecode","vertical"],". The effect needs certain markup and styling in order to function properly.\nThe element ",["strong","should be positioned absolutely/relatively"],", and contain two child elements (",["em","face"]," and ",["em","back"],") with the same size as their parent, positioned absolutely on top of each other."]],"doc":[["para","Flips the element around the axis specified by the axis parameter.  Supported directions are ",["inlinecode","horizontal"]," and ",["inlinecode","vertical"],". The effect needs certain markup and styling in order to function properly.\nThe element ",["strong","should be positioned absolutely/relatively"],", and contain two child elements (",["em","face"]," and ",["em","back"],") with the same size as their parent, positioned absolutely on top of each other."],["header",{"level":2},"Flip Effect Example"],["code_block","<style>\n    #container {\n        position: relative;\n        width: 200px;\n        height: 200px;\n    }\n\n    #foo {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: blue;\n    }\n\n    #bar {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: red;\n    }\n\n</style>\n\n<div id=\"container\">\n    <div id=\"bar\"> Page 2</div>\n    <div id=\"foo\"> Page 1</div>\n</div>\n\n<script>\n    kendo.fx($(\"#container\")).flip(\"horizontal\", $(\"#foo\"), $(\"#bar\")).play();\n    // an alternative syntax would be\n    // kendo.fx($(\"#container\")).flipHorizontal($(\"#foo\"), $(\"#bar\")).play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"axis ",["inlinecode","String"]],["para","The axis of the flip. Accepted values are ",["inlinecode","\"horizontal\""]," or ",["inlinecode","\"vertical\""]],["header",{"level":3},"face ",["inlinecode","jQuery"]],["para","The initially visible element in the container."],["header",{"level":3},"back ",["inlinecode","jQuery"]],["para","The finally visible element in the container."]]},"PageTurn":{"file":"api/framework/fx/pageturn.md","name":"PageTurn","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","Folds and the face of the effect around the specified axis) in order to reveal the back.  The effect needs certain markup and styling in order to function properly.\nThe element ",["strong","should be positioned absolutely/relatively"],", and contain two child elements (",["em","face"]," and ",["em","back"],") with the same size as their parent, positioned absolutely on top of each other."],["code_block","<style>\n    /* in order for the effect to work, a temporary clone of the page is created (and its ID is removed) - so we use classes to style the elements */\n    #container {\n        position: relative;\n        width: 200px;\n        height: 200px;\n    }\n\n    #container .foo {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: blue;\n    }\n\n    #container .bar {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: red;\n    }\n\n</style>\n\n<div id=\"container\">\n    <div class=\"bar\">Page 2</div>\n    <div class=\"foo\">Page 1</div>\n</div>\n\n<script>\n    kendo.fx($(\"#container\")).pageturn(\"horizontal\", $(\".foo\"), $(\".bar\")).duration(1000).play();\n    // or\n    // kendo.fx($(\"#container\")).pageturnHorizontal($(\".foo\"), $(\".bar\")).play();\n</script>"]],"doc":[["para","Folds and the face of the effect around the specified axis) in order to reveal the back.  The effect needs certain markup and styling in order to function properly.\nThe element ",["strong","should be positioned absolutely/relatively"],", and contain two child elements (",["em","face"]," and ",["em","back"],") with the same size as their parent, positioned absolutely on top of each other."],["code_block","<style>\n    /* in order for the effect to work, a temporary clone of the page is created (and its ID is removed) - so we use classes to style the elements */\n    #container {\n        position: relative;\n        width: 200px;\n        height: 200px;\n    }\n\n    #container .foo {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: blue;\n    }\n\n    #container .bar {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: red;\n    }\n\n</style>\n\n<div id=\"container\">\n    <div class=\"bar\">Page 2</div>\n    <div class=\"foo\">Page 1</div>\n</div>\n\n<script>\n    kendo.fx($(\"#container\")).pageturn(\"horizontal\", $(\".foo\"), $(\".bar\")).duration(1000).play();\n    // or\n    // kendo.fx($(\"#container\")).pageturnHorizontal($(\".foo\"), $(\".bar\")).play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"axis ",["inlinecode","String"]],["para","The axis of the page turn. Supported axes are ",["inlinecode","\"horizontal\""]," and ",["inlinecode","\"vertical\""],"."],["header",{"level":3},"face ",["inlinecode","jQuery"]],["para","The initially visible element in the container."],["header",{"level":3},"back ",["inlinecode","jQuery"]],["para","The finally visible element in the container."]]},"SlideIn":{"file":"api/framework/fx/slidein.md","name":"SlideIn","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","Slides the element to its original position in the specified direction, using the element width or height as an offset.\nPlaying the effect in reverse will slide the element out of its position."]],"doc":[["para","Slides the element to its original position in the specified direction, using the element width or height as an offset.\nPlaying the effect in reverse will slide the element out of its position."],["header",{"level":2},"Sliding an element in"],["code_block","<div id=\"foo\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).slideIn(\"left\").play();\n    // or\n    // kendo.fx($(\"#foo\")).slideInLeft.play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"direction"],["para","The direction to which the sliding will occur.  Supported directions are ",["inlinecode","left"],", ",["inlinecode","right"],", ",["inlinecode","up"]," and ",["inlinecode","down"],"."],["header",{"level":2},"Sliding an element up"],["code_block","<div id=\"foo\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).slideIn(\"up\").play();\n</script>"]]},"Tile":{"file":"api/framework/fx/tile.md","name":"Tile","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["para","Slides the element to its original position in the specified direction, while sliding out the element specified in the ",["inlinecode","previous"]," parameter.\nSupported directions are ",["inlinecode","left"],", ",["inlinecode","right"],", ",["inlinecode","up"]," and ",["inlinecode","down"],".\nFor this effect to work as expected, the elements should be positioned on top of each other."]],"doc":[["para","Slides the element to its original position in the specified direction, while sliding out the element specified in the ",["inlinecode","previous"]," parameter.\nSupported directions are ",["inlinecode","left"],", ",["inlinecode","right"],", ",["inlinecode","up"]," and ",["inlinecode","down"],".\nFor this effect to work as expected, the elements should be positioned on top of each other."],["header",{"level":2},"Tiling Elements Left"],["code_block","<style>\n    #container {\n        position: relative;\n        width: 200px;\n        height: 200px;\n        left: 300px;\n        top: 300px;\n    }\n\n    #foo {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: blue;\n    }\n\n    #bar {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: red;\n    }\n\n</style>\n\n<div id=\"container\">\n    <div id=\"bar\"> Page 2</div>\n    <div id=\"foo\"> Page 1</div>\n</div>\n\n<script>\n    kendo.fx($(\"#bar\")).tile(\"left\", $(\"#foo\")).play();\n    // or\n    // kendo.fx($(\"#bar\")).tileLeft($(\"#foo\")).play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"direction ",["inlinecode","String"]],["para","The direction to which the sliding will occur."],["header",{"level":3},"previous ",["inlinecode","jQuery"]],["para","The element to slide out of the view."],["header",{"level":2},"Tiling Elements Up"],["code_block","<style>\n    #container {\n        position: relative;\n        width: 200px;\n        height: 200px;\n        left: 300px;\n        top: 300px;\n    }\n\n    #foo {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: blue;\n    }\n\n    #bar {\n        position: absolute;\n        width: 200px;\n        height: 200px;\n        background: red;\n    }\n\n</style>\n\n<div id=\"container\">\n    <div id=\"bar\"> Page 2</div>\n    <div id=\"foo\"> Page 1</div>\n</div>\n\n<script>\n    kendo.fx($(\"#bar\")).tile(\"up\", $(\"#foo\")).play();\n</script>"]]},"Transfer":{"file":"api/framework/fx/transfer.md","name":"Transfer","config":[],"methods":[],"events":[],"fields":[],"short_doc":[["blockquote",["para","Currently this effect is supported only in Google Chrome, Firefox and IE10+."]],["para","Scales and repositions the element on top of the provided target. The element and the target should have the same proportions but should not be the same size."],["blockquote",["para",["strong","Note"],": The first time the effect performs, the element is detached from its current position and re-attached in the body element."]]],"doc":[["blockquote",["para","Currently this effect is supported only in Google Chrome, Firefox and IE10+."]],["para","Scales and repositions the element on top of the provided target. The element and the target should have the same proportions but should not be the same size."],["blockquote",["para",["strong","Note"],": The first time the effect performs, the element is detached from its current position and re-attached in the body element."]],["header",{"level":2},"Transferring an element to a target"],["code_block","<div id=\"foo\" style=\"width: 200px; height: 200px; position: absolute; border: 1px solid black; background: grey;\">\n    I will be animated to a given target\n</div>\n\n<div id=\"bar\" style=\"width: 50px; height: 50px; position: absolute; left: 300px; top: 20px; border: 1px solid black;\">\n    Target\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).transfer($(\"#bar\")).play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"target ",["inlinecode","jQuery"]],["para","The target element to transfer to."]]},"Zoom":{"file":"api/framework/fx/zoom.md","name":"Zoom","config":[],"methods":[{"name":"startValue","args":[{"name":"value","type":["Number"],"short_doc":[["para","the initial scale value."]],"doc":[["para","the initial scale value."]]}],"short_doc":[["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."]],"doc":[["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."],["header",{"level":4},"Zooming an element out, starting from 50%"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"out\").startValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the initial scale value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]],"examples":[]},{"name":"endValue","args":[{"name":"value","type":["Number"],"short_doc":[["para","the final scale value."]],"doc":[["para","the final scale value."]]}],"short_doc":[["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."]],"doc":[["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."],["header",{"level":4},"Zooming an element in to 50% scale"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"in\").endValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the final scale value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]],"examples":[]}],"events":[],"fields":[],"short_doc":[["para","Zoom the element in or out.\nSupported directions are ",["inlinecode","in"]," and ",["inlinecode","out"],"."]],"doc":[["para","Zoom the element in or out.\nSupported directions are ",["inlinecode","in"]," and ",["inlinecode","out"],"."],["header",{"level":2},"Zooming an element in"],["code_block","<div id=\"foo\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"out\").play();\n    // or\n    // kendo.fx($(\"#foo\")).zoomOut.play();\n</script>"],["header",{"level":2},"Zooming an element out"],["code_block","<div id=\"foo\">\n    I will be animated\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"out\").play();\n    // or\n    // kendo.fx($(\"#foo\")).zoomOut.play();\n</script>"],["header",{"level":2},"Constructor Parameters"],["header",{"level":3},"direction ",["inlinecode","String"]],["para","The direction of the effect. Accepted values are ",["inlinecode","\"in\""]," or ",["inlinecode","\"out\""],"."],["header",{"level":2},"Methods"],["header",{"level":3},"startValue"],["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."],["header",{"level":4},"Zooming an element out, starting from 50%"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"out\").startValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the initial scale value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"],["header",{"level":3},"endValue"],["para","Sets the initial ",["strong","scale"]," value of the element.\n1 means the element will be displayed its real size.\n2 means the element will be scaled twice.\n0.1 (or less) means that the element will be zoomed out."],["header",{"level":4},"Zooming an element in to 50% scale"],["code_block","<div id=\"foo\">\n    Foo\n</div>\n\n<script>\n    kendo.fx($(\"#foo\")).zoom(\"in\").endValue(0.5).play();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","the final scale value."],["header",{"level":4},"Returns"],["para",["inlinecode","Effect"]," The effect instance"]]},"kendo.data.HierarchicalDataSource":{"file":"api/framework/hierarchicaldatasource.md","name":"kendo.data.HierarchicalDataSource","config":[{"name":"schema","type":["Object"],"short_doc":[["para","The schema configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema"},"DataSource.schema configuration"]," for all available options."]],"doc":[["para","The schema configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema"},"DataSource.schema configuration"]," for all available options."]],"sub":[{"name":"model","type":["Object","kendo.data.Node"],"short_doc":[["para","The data item (model) configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema.model"},"DataSource.schema.model configuration"]," for all available options."],["blockquote",["para","The model ",["strong","must"]," inherit from ",["link",{"href":"/api/framework/node"},"kendo.data.Node"],"."]]],"doc":[["para","The data item (model) configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema.model"},"DataSource.schema.model configuration"]," for all available options."],["blockquote",["para","The model ",["strong","must"]," inherit from ",["link",{"href":"/api/framework/node"},"kendo.data.Node"],"."]],["header",{"level":4},"Example - use a custom model"],["code_block","<script>\nvar CustomNode = kendo.data.Node.define({\n  averageRating: function() {\n    var movies = this.children.data();\n    var rating = 0;\n\n    if (movies.length) {\n      $.each(movies, function() { rating += this.rating; });\n      rating /= movies.length;\n    }\n\n    return rating.toFixed(2);\n  }\n});\n\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\", items: [\n      { movieName: \"Inception\", rating: 8.8 },\n      { movieName: \"The Matrix\", rating: 8.7 }\n    ] },\n    { categoryName: \"Drama\", hasAssignedMovies: true }\n  ],\n  schema: {\n    model: CustomNode\n  }\n});\n\ndatasource.read();\n\nvar category = datasource.data()[0];\ncategory.load();\nconsole.log(category.averageRating()); // logs 8.75\n</script>"]],"sub":[{"name":"children","type":["String","Object"],"default":"\"items\"","short_doc":[["para","DataSource object or configuration for fetching child nodes. Through examples of that can be found\nin the ",["strong","Getting started"]," section."],["para","For static HierarchicalDataSource (local data), this field may be a ",["inlinecode","String"],",\nindicating which field holds the nested data."]],"doc":[["para","DataSource object or configuration for fetching child nodes. Through examples of that can be found\nin the ",["strong","Getting started"]," section."],["para","For static HierarchicalDataSource (local data), this field may be a ",["inlinecode","String"],",\nindicating which field holds the nested data."],["header",{"level":4},"Example - specify children field"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    {\n      categoryName: \"SciFi\",\n      movies: [\n        { title: \"Star Wars: A New Hope\", year: 1977 },\n        { title: \"Star Wars: The Empire Strikes Back\", year: 1980 },\n        { title: \"Star Wars: Return of the Jedi\", year: 1983 }\n      ]\n    },\n    {\n      categoryName: \"Drama\",\n      movies: [\n        { title: \"The Shawshenk Redemption\", year: 1994 },\n        { title: \"Fight Club\", year: 1999 },\n        { title: \"The Usual Suspects\", year: 1995 }\n      ]\n    }\n  ],\n  schema: {\n    model: {\n      children: \"movies\"\n    }\n  }\n});\n\ndatasource.read();\n\nvar scifi = datasource.data()[0];\nscifi.load();\nconsole.log(scifi.children.data().length); // logs 3\n</script>"],["header",{"level":4},"Example -"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    {\n      categoryName: \"SciFi\",\n      movies: [\n        { title: \"Star Wars: A New Hope\", year: 1977, cast: [\n            { actor: \"Mark Hamill\", character: \"Luke Skywalker\" },\n            { actor: \"Harrison Ford\", character: \"Han Solo\" },\n            { actor: \"Carrie Fisher\", character: \"Princess Leia Organa\" }\n        ] },\n        { title: \"Star Wars: The Empire Strikes Back\", year: 1980, cast: [\n            { actor: \"Mark Hamill\", character: \"Luke Skywalker\" },\n            { actor: \"Harrison Ford\", character: \"Han Solo\" },\n            { actor: \"Carrie Fisher\", character: \"Princess Leia Organa\" },\n            { actor: \"Billy Dee Williams\", character: \"Lando Calrissian\" }\n        ] }\n      ]\n    }\n  ],\n  schema: {\n    model: {\n      children: { // define options for second level\n        schema: {\n          data: \"movies\",\n          model: {\n            children: \"cast\" // third level is defined by the field \"cast\"\n          }\n        }\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nvar scifi = datasource.data()[0];\nscifi.load();\nvar sw5 = scifi.children.data()[1];\nsw5.load();\nconsole.log(sw5.children.data().length); // logs 4\n</script>"]],"orig":"schema.model.children"},{"name":"hasChildren","type":["Boolean","String","Function"],"default":"false","short_doc":[["para","Specifies whether the model might have children and might be loaded. Applicable when the rendering of a\nwidget needs to have different states for items that have no children (e.g. the toggle button of the TreeView)."]],"doc":[["para","Specifies whether the model might have children and might be loaded. Applicable when the rendering of a\nwidget needs to have different states for items that have no children (e.g. the toggle button of the TreeView)."],["header",{"level":4},"Example - map the hasChildren field to another field"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\", hasAssignedMovies: false },\n    { categoryName: \"Drama\", hasAssignedMovies: true }\n  ],\n  schema: {\n    model: {\n      hasChildren: \"hasAssignedMovies\"\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs false\nconsole.log(datasource.data()[1].hasChildren); // logs true\n</script>"],["header",{"level":4},"Example - compute if an item has children with a function"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: function(item) {\n        return item.categoryName != \"Drama\";\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\nconsole.log(datasource.data()[1].hasChildren); // logs false\n</script>"],["header",{"level":4},"Example - specify that all items may have children"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: true\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\n</script>"],["header",{"level":4},"Example - compute if an item has children with a function"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: function(item) {\n        return item.categoryName != \"Drama\";\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\nconsole.log(datasource.data()[1].hasChildren); // logs false\n</script>"]],"orig":"schema.model.hasChildren"}],"orig":"schema.model"}]}],"methods":[],"events":[{"name":"change","args":[{"name":"e.node","type":["kendo.data.Node"],"short_doc":[["para","If the event was triggered by a child datasource, this field holds a reference to the parent node."]],"doc":[["para","If the event was triggered by a child datasource, this field holds a reference to the parent node."]]}],"short_doc":[["para","Fires when data is changed. In addition to the ",["link",{"href":"/api/framework/datasource#change"},"standard change event"],",\nthe HierarchicalDataSource includes additional data when the event has been triggered from a child\nDataSource."]],"doc":[["para","Fires when data is changed. In addition to the ",["link",{"href":"/api/framework/datasource#change"},"standard change event"],",\nthe HierarchicalDataSource includes additional data when the event has been triggered from a child\nDataSource."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","kendo.data.Node"]],["para","If the event was triggered by a child datasource, this field holds a reference to the parent node."],["header",{"level":4},"Example"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { id: 1, text: \"foo\", items: [\n      { id: 2, text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(e.node);\n  }\n});\n\n// logs `undefined`, because the change event is not triggered by a node\ndatasource.read();\n\n// logs `{ id: 1, text: \"foo\" }`, because the event is triggered by the root item\ndatasource.get(1).load();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { id: 1, text: \"foo\", items: [\n      { id: 2, text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(e.node);\n  }\n});\n\n// logs `undefined`, because the change event is not triggered by a node\ndatasource.read();\n\n// logs `{ id: 1, text: \"foo\" }`, because the event is triggered by the root item\ndatasource.get(1).load();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["para","See the ",["link",{"href":"/api/framework/datasource#configuration"},"DataSource configuration"]," for all inherited configuration."],["header",{"level":3},"schema ",["inlinecode","Object"]],["para","The schema configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema"},"DataSource.schema configuration"]," for all available options."],["header",{"level":3},"schema.model ",["inlinecode","Object|kendo.data.Node"]],["para","The data item (model) configuration. See the ",["link",{"href":"/api/framework/datasource#configuration-schema.model"},"DataSource.schema.model configuration"]," for all available options."],["blockquote",["para","The model ",["strong","must"]," inherit from ",["link",{"href":"/api/framework/node"},"kendo.data.Node"],"."]],["header",{"level":4},"Example - use a custom model"],["code_block","<script>\nvar CustomNode = kendo.data.Node.define({\n  averageRating: function() {\n    var movies = this.children.data();\n    var rating = 0;\n\n    if (movies.length) {\n      $.each(movies, function() { rating += this.rating; });\n      rating /= movies.length;\n    }\n\n    return rating.toFixed(2);\n  }\n});\n\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\", items: [\n      { movieName: \"Inception\", rating: 8.8 },\n      { movieName: \"The Matrix\", rating: 8.7 }\n    ] },\n    { categoryName: \"Drama\", hasAssignedMovies: true }\n  ],\n  schema: {\n    model: CustomNode\n  }\n});\n\ndatasource.read();\n\nvar category = datasource.data()[0];\ncategory.load();\nconsole.log(category.averageRating()); // logs 8.75\n</script>"],["header",{"level":3},"schema.model.hasChildren ",["inlinecode","Boolean|String|Function"]," ",["em","(default: false)"]],["para","Specifies whether the model might have children and might be loaded. Applicable when the rendering of a\nwidget needs to have different states for items that have no children (e.g. the toggle button of the TreeView)."],["header",{"level":4},"Example - map the hasChildren field to another field"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\", hasAssignedMovies: false },\n    { categoryName: \"Drama\", hasAssignedMovies: true }\n  ],\n  schema: {\n    model: {\n      hasChildren: \"hasAssignedMovies\"\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs false\nconsole.log(datasource.data()[1].hasChildren); // logs true\n</script>"],["header",{"level":4},"Example - compute if an item has children with a function"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: function(item) {\n        return item.categoryName != \"Drama\";\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\nconsole.log(datasource.data()[1].hasChildren); // logs false\n</script>"],["header",{"level":4},"Example - specify that all items may have children"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: true\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\n</script>"],["header",{"level":4},"Example - compute if an item has children with a function"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { categoryName: \"SciFi\" },\n    { categoryName: \"Drama\" }\n  ],\n  schema: {\n    model: {\n      hasChildren: function(item) {\n        return item.categoryName != \"Drama\";\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nconsole.log(datasource.data()[0].hasChildren); // logs true\nconsole.log(datasource.data()[1].hasChildren); // logs false\n</script>"],["header",{"level":3},"schema.model.children ",["inlinecode","String|Object"]," ",["em","(default: \"items\")"]],["para","DataSource object or configuration for fetching child nodes. Through examples of that can be found\nin the ",["strong","Getting started"]," section."],["para","For static HierarchicalDataSource (local data), this field may be a ",["inlinecode","String"],",\nindicating which field holds the nested data."],["header",{"level":4},"Example - specify children field"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    {\n      categoryName: \"SciFi\",\n      movies: [\n        { title: \"Star Wars: A New Hope\", year: 1977 },\n        { title: \"Star Wars: The Empire Strikes Back\", year: 1980 },\n        { title: \"Star Wars: Return of the Jedi\", year: 1983 }\n      ]\n    },\n    {\n      categoryName: \"Drama\",\n      movies: [\n        { title: \"The Shawshenk Redemption\", year: 1994 },\n        { title: \"Fight Club\", year: 1999 },\n        { title: \"The Usual Suspects\", year: 1995 }\n      ]\n    }\n  ],\n  schema: {\n    model: {\n      children: \"movies\"\n    }\n  }\n});\n\ndatasource.read();\n\nvar scifi = datasource.data()[0];\nscifi.load();\nconsole.log(scifi.children.data().length); // logs 3\n</script>"],["header",{"level":4},"Example -"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    {\n      categoryName: \"SciFi\",\n      movies: [\n        { title: \"Star Wars: A New Hope\", year: 1977, cast: [\n            { actor: \"Mark Hamill\", character: \"Luke Skywalker\" },\n            { actor: \"Harrison Ford\", character: \"Han Solo\" },\n            { actor: \"Carrie Fisher\", character: \"Princess Leia Organa\" }\n        ] },\n        { title: \"Star Wars: The Empire Strikes Back\", year: 1980, cast: [\n            { actor: \"Mark Hamill\", character: \"Luke Skywalker\" },\n            { actor: \"Harrison Ford\", character: \"Han Solo\" },\n            { actor: \"Carrie Fisher\", character: \"Princess Leia Organa\" },\n            { actor: \"Billy Dee Williams\", character: \"Lando Calrissian\" }\n        ] }\n      ]\n    }\n  ],\n  schema: {\n    model: {\n      children: { // define options for second level\n        schema: {\n          data: \"movies\",\n          model: {\n            children: \"cast\" // third level is defined by the field \"cast\"\n          }\n        }\n      }\n    }\n  }\n});\n\ndatasource.read();\n\nvar scifi = datasource.data()[0];\nscifi.load();\nvar sw5 = scifi.children.data()[1];\nsw5.load();\nconsole.log(sw5.children.data().length); // logs 4\n</script>"],["header",{"level":2},"Methods"],["para","See the ",["link",{"href":"/api/framework/datasource#methods"},"DataSource methods"]," for all inherited methods."],["para","The ",["strong","remove"]," and ",["strong","getByUid"]," methods are overridden and work with the hierarchical data\n(they will act on all child datasources that have been read)."],["header",{"level":2},"Events"],["para","See the ",["link",{"href":"/api/framework/datasource#events"},"DataSource events"]," for all inherited events."],["header",{"level":3},"change"],["para","Fires when data is changed. In addition to the ",["link",{"href":"/api/framework/datasource#change"},"standard change event"],",\nthe HierarchicalDataSource includes additional data when the event has been triggered from a child\nDataSource."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","kendo.data.Node"]],["para","If the event was triggered by a child datasource, this field holds a reference to the parent node."],["header",{"level":4},"Example"],["code_block","<script>\nvar datasource = new kendo.data.HierarchicalDataSource({\n  data: [\n    { id: 1, text: \"foo\", items: [\n      { id: 2, text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(e.node);\n  }\n});\n\n// logs `undefined`, because the change event is not triggered by a node\ndatasource.read();\n\n// logs `{ id: 1, text: \"foo\" }`, because the event is triggered by the root item\ndatasource.get(1).load();\n</script>"]]},"kendo":{"file":"api/framework/kendo.md","name":"kendo","config":[],"methods":[{"name":"bind","args":[{"name":"element","type":["String","jQuery","Element"],"short_doc":[["para","The root element(s) from which the binding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."]],"doc":[["para","The root element(s) from which the binding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."]]},{"name":"viewModel","type":["Object","kendo.data.ObservableObject"],"short_doc":[["para","The View-Model which the elements are bound to. Wrapped as an instance of ",["inlinecode","kendo.data.ObservableObject"]," if not already."]],"doc":[["para","The View-Model which the elements are bound to. Wrapped as an instance of ",["inlinecode","kendo.data.ObservableObject"]," if not already."]]},{"name":"namespace","type":["Object"],"short_doc":[["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."]],"doc":[["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."]]}],"short_doc":[["para","Binds a HTML View to a View-Model."],["para","Model View ViewModel (",["link",{"href":"http://en.wikipedia.org/wiki/Model_View_ViewModel"},"MVVM"],") is a design pattern which helps developers separate the Model from the View. The View-Model part of MVVM is responsible for\nexposing the data objects from the Model in such a way that those objects are easily consumed in the View."],["blockquote",["para",["strong","Important:"]," Kendo UI Mobile is not included in the default list of initialized namespaces. You can initialize it explicitly by\n  running ",["inlinecode","kendo.bind(element, viewModel, kendo.mobile.ui);"]]]],"doc":[["para","Binds a HTML View to a View-Model."],["para","Model View ViewModel (",["link",{"href":"http://en.wikipedia.org/wiki/Model_View_ViewModel"},"MVVM"],") is a design pattern which helps developers separate the Model from the View. The View-Model part of MVVM is responsible for\nexposing the data objects from the Model in such a way that those objects are easily consumed in the View."],["blockquote",["para",["strong","Important:"]," Kendo UI Mobile is not included in the default list of initialized namespaces. You can initialize it explicitly by\n  running ",["inlinecode","kendo.bind(element, viewModel, kendo.mobile.ui);"]]],["header",{"level":4},"Example - bind a DOM element to a view model"],["code_block"," <!-- View -->\n <div id=\"view\">\n   <!-- The value of the INPUT element is bound to the \"firstName\" field of the View-Model.\n   When the value changes so will the \"firstName\" field and vice versa.  -->\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <!-- The value of the INPUT element is bound to the \"lastName\" field of the View-Model.\n   When the value changes so will the \"lastName\" field and vice versa.   -->\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <!-- The click event of the BUTTON element is bound to the \"displayGreeting\" method of the View-Model.\n   When the user clicks the button the \"displayGreeting\" method will be invoked.  -->\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n   // View-Model\n   var viewModel = kendo.observable({\n      firstName: \"John\",\n      lastName: \"Doe\",\n      displayGreeting: function() {\n          // Get the current values of \"firstName\" and \"lastName\"\n          var firstName = this.get(\"firstName\");\n          var lastName = this.get(\"lastName\");\n          alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n      }\n   });\n\n   // Bind the View to the View-Model\n   kendo.bind($(\"#view\"), viewModel);\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The root element(s) from which the binding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."],["header",{"level":5},"viewModel ",["inlinecode","Object|kendo.data.ObservableObject"]],["para","The View-Model which the elements are bound to. Wrapped as an instance of ",["inlinecode","kendo.data.ObservableObject"]," if not already."],["header",{"level":5},"namespace ",["inlinecode","Object"]],["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."]],"examples":[[["header",{"level":4},"Example - bind a DOM element to a view model"],["code_block"," <!-- View -->\n <div id=\"view\">\n   <!-- The value of the INPUT element is bound to the \"firstName\" field of the View-Model.\n   When the value changes so will the \"firstName\" field and vice versa.  -->\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <!-- The value of the INPUT element is bound to the \"lastName\" field of the View-Model.\n   When the value changes so will the \"lastName\" field and vice versa.   -->\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <!-- The click event of the BUTTON element is bound to the \"displayGreeting\" method of the View-Model.\n   When the user clicks the button the \"displayGreeting\" method will be invoked.  -->\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n   // View-Model\n   var viewModel = kendo.observable({\n      firstName: \"John\",\n      lastName: \"Doe\",\n      displayGreeting: function() {\n          // Get the current values of \"firstName\" and \"lastName\"\n          var firstName = this.get(\"firstName\");\n          var lastName = this.get(\"lastName\");\n          alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n      }\n   });\n\n   // Bind the View to the View-Model\n   kendo.bind($(\"#view\"), viewModel);\n </script>"]]]},{"name":"init","args":[{"name":"element","type":["String","jQuery","Element"],"short_doc":[["para","The root element(s) from which the instantiation starts. Can be a valid jQuery string selector, a DOM element or a jQuery object. All child elements are traversed."]],"doc":[["para","The root element(s) from which the instantiation starts. Can be a valid jQuery string selector, a DOM element or a jQuery object. All child elements are traversed."]]},{"name":"namespace","type":["Object"],"short_doc":[["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."]],"doc":[["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."]]}],"short_doc":[["para","Instantiates Kendo UI widgets in a given DOM element based on role data attributes."]],"doc":[["para","Instantiates Kendo UI widgets in a given DOM element based on role data attributes."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n    </div>\n </div>\n <script>\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"));\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The root element(s) from which the instantiation starts. Can be a valid jQuery string selector, a DOM element or a jQuery object. All child elements are traversed."],["header",{"level":5},"namespace ",["inlinecode","Object"]],["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n        <button data-role=\"button\" data-click=\"foo\">Foo</button>\n    </div>\n </div>\n\n <script>\n function foo(e) {\n     console.log(e.sender); // a mobile button\n }\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"), kendo.mobile.ui, kendo.ui);\n </script>"]],"examples":[[["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n    </div>\n </div>\n <script>\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"));\n </script>"]],[["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n        <button data-role=\"button\" data-click=\"foo\">Foo</button>\n    </div>\n </div>\n\n <script>\n function foo(e) {\n     console.log(e.sender); // a mobile button\n }\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"), kendo.mobile.ui, kendo.ui);\n </script>"]]]},{"name":"observableHierarchy","args":[{"name":"array","type":["Array"],"short_doc":[["para","The array that will be converted to an ObservableArray."]],"doc":[["para","The array that will be converted to an ObservableArray."]]}],"short_doc":[["para","Creates an ObservableArray instance that is bound to a HierarchicalDataSource. Required to bind a HierarchicalDataSource-enabled widget (such as the Kendo UI TreeView) to a view-model."]],"doc":[["para","Creates an ObservableArray instance that is bound to a HierarchicalDataSource. Required to bind a HierarchicalDataSource-enabled widget (such as the Kendo UI TreeView) to a view-model."],["header",{"level":4},"Example"],["code_block","<div data-role=\"treeview\" data-bind=\"source: products\"></div>\n<script>\nvar viewModel = kendo.observable({\n  products: kendo.observableHierarchy([\n    {\n      text: \"foo\",\n      items: [\n        { text: \"bar\" }\n      ]\n    },\n    { text: \"baz\" }\n   ])\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"array ",["inlinecode","Array"]],["para","The array that will be converted to an ObservableArray."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"treeview\" data-bind=\"source: products\"></div>\n<script>\nvar viewModel = kendo.observable({\n  products: kendo.observableHierarchy([\n    {\n      text: \"foo\",\n      items: [\n        { text: \"bar\" }\n      ]\n    },\n    { text: \"baz\" }\n   ])\n});\nkendo.bind(document.body, viewModel);\n</script>"]]]},{"name":"culture","args":[{"name":"culture","type":["String"],"short_doc":[["para","The culture to set."]],"doc":[["para","The culture to set."]]}],"short_doc":[["para","Sets or gets the current culture. Uses the passed culture name to select a culture from the culture scripts that you have included and then sets the current culture.\nIf there is no corresponding culture then the method will try to find culture which is equal to the country part of the culture name.\nIf no culture is found the default one is used."]],"doc":[["para","Sets or gets the current culture. Uses the passed culture name to select a culture from the culture scripts that you have included and then sets the current culture.\nIf there is no corresponding culture then the method will try to find culture which is equal to the country part of the culture name.\nIf no culture is found the default one is used."],["header",{"level":4},"Example -  include a culture-specific JavaScript file and set the culture"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.en-GB.min.js\"></script>\n<script>\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"$99.00\" using the default en-US culture\n  kendo.culture(\"en-GB\"); // change the culture\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"£99.00\"\n</script>"],["header",{"level":4},"Get the current culture"],["code_block","<script>\nvar culture = kendo.culture();\nconsole.log(culture.name); // outputs \"en-US\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"culture ",["inlinecode","String"]],["para","The culture to set."]],"examples":[[["header",{"level":4},"Example -  include a culture-specific JavaScript file and set the culture"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.en-GB.min.js\"></script>\n<script>\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"$99.00\" using the default en-US culture\n  kendo.culture(\"en-GB\"); // change the culture\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"£99.00\"\n</script>"]]]},{"name":"destroy","args":[{"name":"element","type":["String","jQuery","Node"],"short_doc":[],"doc":[]}],"short_doc":[["para","Finds all Kendo widgets that are children of the specified element and calls their destroy method."]],"doc":[["para","Finds all Kendo widgets that are children of the specified element and calls their destroy method."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\">\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"true\"\n  kendo.destroy(document.body);\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"false\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\">\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"true\"\n  kendo.destroy(document.body);\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"false\"\n</script>"]]]},{"name":"format","args":[],"short_doc":[["para","Replaces each format item in a specified string with the text equivalent of a corresponding object's value. Uses ",["link",{"href":"#methods-toString"},"toString"]," for every format item."]],"doc":[["para","Replaces each format item in a specified string with the text equivalent of a corresponding object's value. Uses ",["link",{"href":"#methods-toString"},"toString"]," for every format item."],["header",{"level":4},"Example"],["code_block","<script>\nconsole.log(kendo.format(\"{0} - {1}\", 12, 24));  // outputs \"12 - 24\"\nconsole.log(kendo.format(\"{0:c} - {1:c}\", 12, 24)); // outputs \"$12.00 - $24.00\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The formatted string."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nconsole.log(kendo.format(\"{0} - {1}\", 12, 24));  // outputs \"12 - 24\"\nconsole.log(kendo.format(\"{0:c} - {1:c}\", 12, 24)); // outputs \"$12.00 - $24.00\"\n</script>"]]]},{"name":"htmlEncode","args":[{"name":"value","type":["String"],"short_doc":[["para","The string that needs to be HTML encoded."]],"doc":[["para","The string that needs to be HTML encoded."]]}],"short_doc":[["para","Encodes HTML characters to entities."]],"doc":[["para","Encodes HTML characters to entities."],["header",{"level":4},"Example"],["code_block","<script>\nvar html = kendo.htmlEncode(\"<span>Hello</span>\");\nconsole.log(html); // outputs \"&lt;span&gt;Hello&lt;/span&gt;\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string that needs to be HTML encoded."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The encoded string."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar html = kendo.htmlEncode(\"<span>Hello</span>\");\nconsole.log(html); // outputs \"&lt;span&gt;Hello&lt;/span&gt;\"\n</script>"]]]},{"name":"parseDate","args":[{"name":"value","type":["String"],"short_doc":[["para","The string which should be parsed as ",["inlinecode","Date"],"."]],"doc":[["para","The string which should be parsed as ",["inlinecode","Date"],"."]]},{"name":"formats","type":["String","Array"],"short_doc":[["para","The format(s) that will be used to parse the date. By default all standard date formats of the current culture are used."]],"doc":[["para","The format(s) that will be used to parse the date. By default all standard date formats of the current culture are used."]]},{"name":"culture","type":["String"],"short_doc":[["para","The culture used to parse the number. The current culture is used by default."]],"doc":[["para","The culture used to parse the number. The current culture is used by default."]]}],"short_doc":[["para","Parses as a formatted string as a ",["inlinecode","Date"],"."]],"doc":[["para","Parses as a formatted string as a ",["inlinecode","Date"],"."],["header",{"level":4},"Example"],["code_block","<script>\n  console.log(kendo.parseDate(\"2013/3/4 10:00 AM\")); // outputs \"Mon Mar 04 2013 10:00:00\"\n  console.log(kendo.parseDate(\"3/4/2013\", \"MM/dd/yyyy\")); // outputs \"Mon Mar 04 2013 00:00:00\"\n  console.log(kendo.parseDate(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as ",["inlinecode","Date"],"."],["header",{"level":5},"formats ",["inlinecode","String|Array"]," ",["em","(optional)"]],["para","The format(s) that will be used to parse the date. By default all standard date formats of the current culture are used."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," the parsed date. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Date"],"."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\n  console.log(kendo.parseDate(\"2013/3/4 10:00 AM\")); // outputs \"Mon Mar 04 2013 10:00:00\"\n  console.log(kendo.parseDate(\"3/4/2013\", \"MM/dd/yyyy\")); // outputs \"Mon Mar 04 2013 00:00:00\"\n  console.log(kendo.parseDate(\"invalid\")); // outputs \"null\"\n</script>"]]]},{"name":"parseFloat","args":[{"name":"value","type":["String"],"short_doc":[["para","The string which should be parsed as a ",["inlinecode","Number"],"."]],"doc":[["para","The string which should be parsed as a ",["inlinecode","Number"],"."]]},{"name":"culture","type":["String"],"short_doc":[["para","The culture used to parse the number. The current culture is used by default."]],"doc":[["para","The culture used to parse the number. The current culture is used by default."]]}],"short_doc":[["para","Parses a string as a floating point number."]],"doc":[["para","Parses a string as a floating point number."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseFloat(\"12.22\")); // outputs \"12.22\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseFloat(\"1.212,22 €\")); // outputs \"1212.22\"\n  console.log(kendo.parseFloat(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the parsed number. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Number"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as a ",["inlinecode","Number"],"."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseFloat(\"12.22\")); // outputs \"12.22\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseFloat(\"1.212,22 €\")); // outputs \"1212.22\"\n  console.log(kendo.parseFloat(\"invalid\")); // outputs \"null\"\n</script>"]]]},{"name":"parseInt","args":[{"name":"value","type":["String"],"short_doc":[["para","The string which should be parsed as ",["inlinecode","Number"],"."]],"doc":[["para","The string which should be parsed as ",["inlinecode","Number"],"."]]},{"name":"culture","type":["String"],"short_doc":[["para","The culture used to parse the number. The current culture is used by default."]],"doc":[["para","The culture used to parse the number. The current culture is used by default."]]}],"short_doc":[["para","Parses as a string as an integer."]],"doc":[["para","Parses as a string as an integer."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseInt(\"12.22\")); // outputs \"12\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseInt(\"1.212,22 €\")); // outputs 1212\n  console.log(kendo.parseInt(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the parsed number. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Number"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as ",["inlinecode","Number"],"."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseInt(\"12.22\")); // outputs \"12\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseInt(\"1.212,22 €\")); // outputs 1212\n  console.log(kendo.parseInt(\"invalid\")); // outputs \"null\"\n</script>"]]]},{"name":"parseColor","args":[{"name":"color","type":["String"],"short_doc":[["para","A string in one of the following (case-insensitive) CSS notations:"],["bulletlist",["listitem",["inlinecode","#F00"]," (optionally without the sharp: ",["inlinecode","F00"],")"],["listitem",["inlinecode","#FF0000"]," (optionally without the sharp: ",["inlinecode","FF0000"],")"],["listitem",["inlinecode","rgb(255, 0, 0)"]],["listitem",["inlinecode","rgba(255, 0, 0, 1)"]]],["para","Particularly if this argument is ",["inlinecode","null"]," or the string ",["inlinecode","\"transparent\""]," then this function will return ",["inlinecode","null"],"."]],"doc":[["para","A string in one of the following (case-insensitive) CSS notations:"],["bulletlist",["listitem",["inlinecode","#F00"]," (optionally without the sharp: ",["inlinecode","F00"],")"],["listitem",["inlinecode","#FF0000"]," (optionally without the sharp: ",["inlinecode","FF0000"],")"],["listitem",["inlinecode","rgb(255, 0, 0)"]],["listitem",["inlinecode","rgba(255, 0, 0, 1)"]]],["para","Particularly if this argument is ",["inlinecode","null"]," or the string ",["inlinecode","\"transparent\""]," then this function will return ",["inlinecode","null"],"."]]},{"name":"noerror","type":["Boolean"],"default":"false","short_doc":[["para","If you pass ",["inlinecode","true"]," then this function will return ",["inlinecode","undefined"]," rather than throwing an error on invalid input."]],"doc":[["para","If you pass ",["inlinecode","true"]," then this function will return ",["inlinecode","undefined"]," rather than throwing an error on invalid input."]]}],"short_doc":[["para","Parse a color string to a Color object.  If the input is not valid throws an Error, unless the ",["inlinecode","noerror"]," argument is given."]],"doc":[["para","Parse a color string to a Color object.  If the input is not valid throws an Error, unless the ",["inlinecode","noerror"]," argument is given."],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]],["para","A string in one of the following (case-insensitive) CSS notations:"],["bulletlist",["listitem",["inlinecode","#F00"]," (optionally without the sharp: ",["inlinecode","F00"],")"],["listitem",["inlinecode","#FF0000"]," (optionally without the sharp: ",["inlinecode","FF0000"],")"],["listitem",["inlinecode","rgb(255, 0, 0)"]],["listitem",["inlinecode","rgba(255, 0, 0, 1)"]]],["para","Particularly if this argument is ",["inlinecode","null"]," or the string ",["inlinecode","\"transparent\""]," then this function will return ",["inlinecode","null"],"."],["header",{"level":5},"noerror ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If you pass ",["inlinecode","true"]," then this function will return ",["inlinecode","undefined"]," rather than throwing an error on invalid input."],["header",{"level":4},"Returns"],["para",["inlinecode","Color"]," A Color object."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n</script>"]]]},{"name":"render","args":[{"name":"template","type":["Function"],"short_doc":[["para","The Kendo UI template which should be rendered. Create one via the ",["link",{"href":"#methods-template"},"template"]," method."]],"doc":[["para","The Kendo UI template which should be rendered. Create one via the ",["link",{"href":"#methods-template"},"template"]," method."]]},{"name":"data","type":["Array"],"short_doc":[["para","The array of objects which contains the data that the template will render."]],"doc":[["para","The array of objects which contains the data that the template will render."]]}],"short_doc":[["para","Renders the specified template using the provided array."]],"doc":[["para","Renders the specified template using the provided array."],["header",{"level":4},"Example"],["code_block","<ul></ul>\n<script>\nvar template = kendo.template(\"<li>#: name #</li>\");\nvar data = [ { name: \"John Doe\" }, { name: \"Jane Doe\" }];\nvar html = kendo.render(template, data);\n$(\"ul\").html(html);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"template ",["inlinecode","Function"]],["para","The Kendo UI template which should be rendered. Create one via the ",["link",{"href":"#methods-template"},"template"]," method."],["header",{"level":5},"data ",["inlinecode","Array"]],["para","The array of objects which contains the data that the template will render."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul></ul>\n<script>\nvar template = kendo.template(\"<li>#: name #</li>\");\nvar data = [ { name: \"John Doe\" }, { name: \"Jane Doe\" }];\nvar html = kendo.render(template, data);\n$(\"ul\").html(html);\n</script>"]]]},{"name":"resize","args":[{"name":"element","type":["String","jQuery","Node"],"short_doc":[],"doc":[]}],"short_doc":[["para","Finds all Kendo widgets that are children of the specified element and calls their ",["inlinecode","resize"]," method."]],"doc":[["para","Finds all Kendo widgets that are children of the specified element and calls their ",["inlinecode","resize"]," method."],["header",{"level":4},"Example"],["code_block","<div class=\"chart-wrapper\">\n   <div id=\"chart\" style=\"width:100%\"></div>\n</div>\n<script>\n    $(function() {\n        $(\"#chart\").kendoChart({\n            title: {\n                text: \"Gross domestic product growth /GDP annual %/\"\n            },\n            legend: {\n                position: \"bottom\"\n            },\n            seriesDefaults: {\n                type: \"area\"\n            },\n            series: [{\n                name: \"India\",\n                data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855]\n            }],\n            valueAxis: {\n                labels: {\n                    format: \"{0}%\"\n                },\n                line: {\n                    visible: false\n                },\n                axisCrossingValue: -10\n            },\n            categoryAxis: {\n                categories: [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011],\n                majorGridLines: {\n                    visible: false\n                }\n            },\n            tooltip: {\n                visible: true,\n                format: \"{0}%\",\n                template: \"#= series.name #: #= value #\"\n            }\n        });\n    });\n\n    $(window).on(\"resize\", function() {\n      kendo.resize($(\".chart-wrapper\"));\n    });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]]],"examples":[[["header",{"level":4},"Example"],["code_block","<div class=\"chart-wrapper\">\n   <div id=\"chart\" style=\"width:100%\"></div>\n</div>\n<script>\n    $(function() {\n        $(\"#chart\").kendoChart({\n            title: {\n                text: \"Gross domestic product growth /GDP annual %/\"\n            },\n            legend: {\n                position: \"bottom\"\n            },\n            seriesDefaults: {\n                type: \"area\"\n            },\n            series: [{\n                name: \"India\",\n                data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855]\n            }],\n            valueAxis: {\n                labels: {\n                    format: \"{0}%\"\n                },\n                line: {\n                    visible: false\n                },\n                axisCrossingValue: -10\n            },\n            categoryAxis: {\n                categories: [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011],\n                majorGridLines: {\n                    visible: false\n                }\n            },\n            tooltip: {\n                visible: true,\n                format: \"{0}%\",\n                template: \"#= series.name #: #= value #\"\n            }\n        });\n    });\n\n    $(window).on(\"resize\", function() {\n      kendo.resize($(\".chart-wrapper\"));\n    });\n</script>"]]]},{"name":"stringify","args":[{"name":"value","type":["Object"],"short_doc":[["para","The value to convert to a JSON string."]],"doc":[["para","The value to convert to a JSON string."]]}],"short_doc":[["para","Converts a JavaScript object to ",["link",{"href":"http://en.wikipedia.org/wiki/JSON"},"JSON"],". Uses ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON/stringify"},"JSON.stringify"]," in browsers that support it."]],"doc":[["para","Converts a JavaScript object to ",["link",{"href":"http://en.wikipedia.org/wiki/JSON"},"JSON"],". Uses ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON/stringify"},"JSON.stringify"]," in browsers that support it."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object"]],["para","The value to convert to a JSON string."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The JSON representation of the value."],["header",{"level":4},"Example"],["code_block","<script>\nvar json = kendo.stringify({ foo: \"bar\" });\nconsole.log(json); // displays {\"foo\":\"bar\"}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar json = kendo.stringify({ foo: \"bar\" });\nconsole.log(json); // displays {\"foo\":\"bar\"}\n</script>"]]]},{"name":"template","args":[{"name":"template","type":["String"],"short_doc":[["para","The template that will be compiled."]],"doc":[["para","The template that will be compiled."]]},{"name":"options","type":["Object"],"short_doc":[["para","Template compilation options."]],"doc":[["para","Template compilation options."]]},{"name":"options.paramName","type":["String"],"default":"\"data\"","short_doc":[["para","The name of the parameter used by the generated function. Useful when ",["inlinecode","useWithBlock"]," is set to ",["inlinecode","false"],"."]],"doc":[["para","The name of the parameter used by the generated function. Useful when ",["inlinecode","useWithBlock"]," is set to ",["inlinecode","false"],"."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: d.name #</strong>\", { paramName: \"d\", useWithBlock: false });"]]},{"name":"options.useWithBlock","type":["Boolean"],"default":"true","short_doc":[["para","Wraps the generated code in a ",["inlinecode","with"]," block. This allows the usage of unqualified fields in the template. Disabling the ",["inlinecode","with"]," block will improve\nthe performance of the template."]],"doc":[["para","Wraps the generated code in a ",["inlinecode","with"]," block. This allows the usage of unqualified fields in the template. Disabling the ",["inlinecode","with"]," block will improve\nthe performance of the template."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: data.name #</strong>\", { useWithBlock: false }); // Note that \"data.\" is used to qualify the field\n\nconsole.log(template({ name: \"John Doe\" })); // outputs \"<strong>John Doe</strong>\""]]}],"short_doc":[["para","Compiles a template to a function that builds HTML. Useful when a template will be used several times.\nTemplates offer way of creating HTML chunks. Options such as HTML encoding and compilation for optimal\nperformance are available."]],"doc":[["para","Compiles a template to a function that builds HTML. Useful when a template will be used several times.\nTemplates offer way of creating HTML chunks. Options such as HTML encoding and compilation for optimal\nperformance are available."],["header",{"level":4},"Example - Basic template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"Hello, #= firstName # #= lastName #\");\nvar data = { firstName: \"John\", lastName: \"Doe\" };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - encode HTML"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"HTML tags are encoded: #: html #\");\nvar data = { html: \"<strong>lorem ipsum</strong>\" };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - use JavaScript in the template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"#if (foo) {# foo is true #}#\");\nvar data = { foo: true };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - escape sharp (\"#\") symbols in an inline template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"<a href='\\\\#'>link</a>\");\n$(\"#output\").html(template({}));\n</script>"],["header",{"level":4},"Example - escape sharp (\"#\") symbols in a template defined in a script element"],["code_block","<span id=\"output\"></span>\n<script type=\"text/x-kendo-template\" id=\"template\">\n<a href=\"\\#\">link</a>\n</script>\n<script>\nvar template = kendo.template($(\"#template\").html());\n$(\"#output\").html(template({}));\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Function"]," the compiled template as a JavaScript function. When called this function will return the generated HTML string."],["header",{"level":4},"Parameters"],["header",{"level":5},"template ",["inlinecode","String"]],["para","The template that will be compiled."],["header",{"level":5},"options ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Template compilation options."],["header",{"level":5},"options.paramName ",["inlinecode","String"]," ",["em","(default: \"data\")"]],["para","The name of the parameter used by the generated function. Useful when ",["inlinecode","useWithBlock"]," is set to ",["inlinecode","false"],"."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: d.name #</strong>\", { paramName: \"d\", useWithBlock: false });"],["header",{"level":5},"options.useWithBlock ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Wraps the generated code in a ",["inlinecode","with"]," block. This allows the usage of unqualified fields in the template. Disabling the ",["inlinecode","with"]," block will improve\nthe performance of the template."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: data.name #</strong>\", { useWithBlock: false }); // Note that \"data.\" is used to qualify the field\n\nconsole.log(template({ name: \"John Doe\" })); // outputs \"<strong>John Doe</strong>\""]],"examples":[[["header",{"level":4},"Example - Basic template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"Hello, #= firstName # #= lastName #\");\nvar data = { firstName: \"John\", lastName: \"Doe\" };\n$(\"#output\").html(template(data));\n</script>"]],[["header",{"level":4},"Example - encode HTML"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"HTML tags are encoded: #: html #\");\nvar data = { html: \"<strong>lorem ipsum</strong>\" };\n$(\"#output\").html(template(data));\n</script>"]],[["header",{"level":4},"Example - use JavaScript in the template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"#if (foo) {# foo is true #}#\");\nvar data = { foo: true };\n$(\"#output\").html(template(data));\n</script>"]],[["header",{"level":4},"Example - escape sharp (\"#\") symbols in an inline template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"<a href='\\\\#'>link</a>\");\n$(\"#output\").html(template({}));\n</script>"]],[["header",{"level":4},"Example - escape sharp (\"#\") symbols in a template defined in a script element"],["code_block","<span id=\"output\"></span>\n<script type=\"text/x-kendo-template\" id=\"template\">\n<a href=\"\\#\">link</a>\n</script>\n<script>\nvar template = kendo.template($(\"#template\").html());\n$(\"#output\").html(template({}));\n</script>"]]]},{"name":"touchScroller","args":[{"name":"element","type":["String","jQuery","Element"],"short_doc":[["para","The container element to enable scrolling for."]],"doc":[["para","The container element to enable scrolling for."]]}],"short_doc":[["para","Enables kinetic scrolling on touch devices"]],"doc":[["para","Enables kinetic scrolling on touch devices"],["header",{"level":4},"Example"],["code_block","<div id=\"scrollable\" style=\"height: 200px\">\n  Scrollable\n  <div style=\"height: 1000px\">content</div>\n</div>\n<script>\n  kendo.touchScroller($(\"#scrollable\"));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The container element to enable scrolling for."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"scrollable\" style=\"height: 200px\">\n  Scrollable\n  <div style=\"height: 1000px\">content</div>\n</div>\n<script>\n  kendo.touchScroller($(\"#scrollable\"));\n</script>"]]]},{"name":"toString","args":[{"name":"value","type":["Date","Number"],"short_doc":[["para","The ",["inlinecode","Date"]," or ",["inlinecode","Number"]," which should be formatted."]],"doc":[["para","The ",["inlinecode","Date"]," or ",["inlinecode","Number"]," which should be formatted."]]},{"name":"format","type":["String"],"short_doc":[["para","The format string which should be used to format the value."]],"doc":[["para","The format string which should be used to format the value."]]},{"name":"culture","type":["String"],"short_doc":[["para","The name of the culture which should be used to format the value. [The culture should be registered on the page](http://docs.kendoui.com/getting-started/framework/globalization/overview#add culture scripts to the page)."]],"doc":[["para","The name of the culture which should be used to format the value. [The culture should be registered on the page](http://docs.kendoui.com/getting-started/framework/globalization/overview#add culture scripts to the page)."]]}],"short_doc":[["para","Formats a ",["inlinecode","Number"]," or ",["inlinecode","Date"]," using the specified format and the current culture."]],"doc":[["para","Formats a ",["inlinecode","Number"]," or ",["inlinecode","Date"]," using the specified format and the current culture."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  //format a number using standard number formats and default culture (en-US)\n  console.log(kendo.toString(10.12, \"n\")); // outputs \"10.12\"\n  console.log(kendo.toString(10.12, \"n0\")); // outputs \"10\"\n  console.log(kendo.toString(10.12, \"n5\")); // outputs \"10.12000\"\n  console.log(kendo.toString(10.12, \"c\")); // outputs \"$10.12\"\n  console.log(kendo.toString(0.12, \"p\")); // outputs \"12.00 %\"\n  //format a number using custom number formats\n  console.log(kendo.toString(19.12, \"00##\")); //outputs \"0019\"\n  //format a number using standard number format and a specific culture de-DE (default culture is en-US)\n  console.log(kendo.toString(10.12, \"c\", \"de-DE\")); //outputs \"10,12\" €\n  //format a date\n  console.log(kendo.toString(new Date(2010, 9, 5), \"yyyy/MM/dd\" )); // outputs \"2010/10/05\"\n  console.log(kendo.toString(new Date(2010, 9, 5), \"dddd MMMM d, yyyy\" )); // outputs \"Tuesday October 5, 2010\"\n  console.log(kendo.toString(new Date(2010, 10, 10, 22, 12), \"hh:mm tt\" )); // outputs \"10:12 PM\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the formatted value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|Number"]],["para","The ",["inlinecode","Date"]," or ",["inlinecode","Number"]," which should be formatted."],["header",{"level":5},"format ",["inlinecode","String"]],["para","The format string which should be used to format the value."],["header",{"level":5},"culture ",["inlinecode","String"]],["para","The name of the culture which should be used to format the value. [The culture should be registered on the page](http://docs.kendoui.com/getting-started/framework/globalization/overview#add culture scripts to the page)."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  //format a number using standard number formats and default culture (en-US)\n  console.log(kendo.toString(10.12, \"n\")); // outputs \"10.12\"\n  console.log(kendo.toString(10.12, \"n0\")); // outputs \"10\"\n  console.log(kendo.toString(10.12, \"n5\")); // outputs \"10.12000\"\n  console.log(kendo.toString(10.12, \"c\")); // outputs \"$10.12\"\n  console.log(kendo.toString(0.12, \"p\")); // outputs \"12.00 %\"\n  //format a number using custom number formats\n  console.log(kendo.toString(19.12, \"00##\")); //outputs \"0019\"\n  //format a number using standard number format and a specific culture de-DE (default culture is en-US)\n  console.log(kendo.toString(10.12, \"c\", \"de-DE\")); //outputs \"10,12\" €\n  //format a date\n  console.log(kendo.toString(new Date(2010, 9, 5), \"yyyy/MM/dd\" )); // outputs \"2010/10/05\"\n  console.log(kendo.toString(new Date(2010, 9, 5), \"dddd MMMM d, yyyy\" )); // outputs \"Tuesday October 5, 2010\"\n  console.log(kendo.toString(new Date(2010, 10, 10, 22, 12), \"hh:mm tt\" )); // outputs \"10:12 PM\"\n</script>"]]]},{"name":"unbind","args":[{"name":"element","type":["String","jQuery","Node"],"short_doc":[["para","The root element(s) from which the unbinding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."]],"doc":[["para","The root element(s) from which the unbinding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."]]}],"short_doc":[["para","Unbinds a tree of HTML elements from a View-Model."]],"doc":[["para","Unbinds a tree of HTML elements from a View-Model."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n var viewModel = kendo.observable({\n    firstName: \"John\",\n    lastName: \"Doe\",\n    displayGreeting: function() {\n        // Get the current values of \"firstName\" and \"lastName\"\n        var firstName = this.get(\"firstName\");\n        var lastName = this.get(\"lastName\");\n        alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n    }\n });\n kendo.bind($(\"#view\"), viewModel);\n // unbind the view model\n kendo.unbind($(\"#view\"));\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]],["para","The root element(s) from which the unbinding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."]],"examples":[[["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n var viewModel = kendo.observable({\n    firstName: \"John\",\n    lastName: \"Doe\",\n    displayGreeting: function() {\n        // Get the current values of \"firstName\" and \"lastName\"\n        var firstName = this.get(\"firstName\");\n        var lastName = this.get(\"lastName\");\n        alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n    }\n });\n kendo.bind($(\"#view\"), viewModel);\n // unbind the view model\n kendo.unbind($(\"#view\"));\n </script>"]]]},{"name":"widgetInstance","args":[{"name":"element","type":["jQuery"],"short_doc":[["para","The DOM element that may have a Kendo UI instance attached to it."]],"doc":[["para","The DOM element that may have a Kendo UI instance attached to it."]]},{"name":"suite","type":["Object"],"short_doc":[["para",["strong","Optional"],". The Kendo UI suite, that the widget is expected to be part of - ",["inlinecode","kendo.ui"]," (web widgets), ",["inlinecode","kendo.mobile.ui"]," or ",["inlinecode","kendo.dataviz.ui"],"."]],"doc":[["para",["strong","Optional"],". The Kendo UI suite, that the widget is expected to be part of - ",["inlinecode","kendo.ui"]," (web widgets), ",["inlinecode","kendo.mobile.ui"]," or ",["inlinecode","kendo.dataviz.ui"],"."]]}],"short_doc":[["para","Returns a Kendo UI widget instance, attached to the provided element.\nThis method can be used in scenarios when the page (e.g. a form) contains both generic HTML elements and Kendo UI widgets and the exact distribution is not clear."]],"doc":[["para","Returns a Kendo UI widget instance, attached to the provided element.\nThis method can be used in scenarios when the page (e.g. a form) contains both generic HTML elements and Kendo UI widgets and the exact distribution is not clear."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The DOM element that may have a Kendo UI instance attached to it."],["header",{"level":5},"suite ",["inlinecode","Object"]],["para",["strong","Optional"],". The Kendo UI suite, that the widget is expected to be part of - ",["inlinecode","kendo.ui"]," (web widgets), ",["inlinecode","kendo.mobile.ui"]," or ",["inlinecode","kendo.dataviz.ui"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The Kendo UI widget instance with all applicable methods and fields, if the instance is attached to the provided element."],["para",["inlinecode","undefined"]," otherwise"],["header",{"level":4},"Example - using kendo.widgetInstance()"],["code_block","// get element\nvar textbox = $(\"#myTextBox\");\n// get widget object\nvar widget = kendo.widgetInstance(textbox);\nif (widget) {\n\t// execute an API method\n\twidget.value(/* ... */);\n} else {\n\t// execute generic jQuery method\n\ttextbox.val(/* ... */);\n}"]],"examples":[[["header",{"level":4},"Example - using kendo.widgetInstance()"],["code_block","// get element\nvar textbox = $(\"#myTextBox\");\n// get widget object\nvar widget = kendo.widgetInstance(textbox);\nif (widget) {\n\t// execute an API method\n\twidget.value(/* ... */);\n} else {\n\t// execute generic jQuery method\n\ttextbox.val(/* ... */);\n}"]]]}],"events":[],"fields":[{"name":"support","type":[],"short_doc":[["para","A range of useful supported by the current browser capabilities and features."]],"doc":[["para","A range of useful supported by the current browser capabilities and features."],["header",{"level":4},"support"],["header",{"level":5},"touch ",["inlinecode","Boolean"]],["para","Return true if the browser supports touch events."],["header",{"level":5},"pointers ",["inlinecode","Boolean"]],["para","Return true if the browser supports pointer events (IE10 and Metro apps currently)."],["header",{"level":5},"scrollbar ",["inlinecode","Function"]],["para","Checks for the browser scrollbar width, returns scrollbar width in pixels, 0 if no scrollbars available (e.g. in mobile)."],["header",{"level":5},"hasHW3D ",["inlinecode","Boolean"]],["para","Return true if the browser supports 3D transitions and transforms."],["header",{"level":5},"hasNativeScrolling ",["inlinecode","Boolean"]],["para","Returns true if the browser supports overflow-scrolling CSS property (currently only iOS 5+)."],["header",{"level":5},"devicePixelRatio ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","Returns the current device's Device to Pixel Ratio. Doesn't work in Windows Phone 8, where IE10 doesn't support it."],["header",{"level":5},"placeHolder ",["inlinecode","Boolean"]],["para","Retruns true if the browser supports input placeholders."],["header",{"level":5},"zoomLevel ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","Returns the current zoom level on a mobile browser (returns 1 on desktop)."]]},{"name":"support.transforms","type":["Object"],"short_doc":[["para","Returns a number of browser specific transformation properties"]],"doc":[["para","Returns a number of browser specific transformation properties"],["header",{"level":4},"support.transforms"],["header",{"level":5},"transforms.css ",["inlinecode","String"]],["para","Returns the CSS prefix of the current browser proprietary transform properties. E.g. \"-webkit-\", \"-moz-\", \"-o-\", \"-ms-\""],["header",{"level":5},"transforms.prefix ",["inlinecode","String"]],["para","Returns the JavaScript prefix of the current browser proprietary transform properties. E.g. \"webkit\", \"Moz\", \"O\", \"ms\""]]},{"name":"support.transitions","type":["Object"],"short_doc":[["para","Returns a number of browser specific transition properties"]],"doc":[["para","Returns a number of browser specific transition properties"],["header",{"level":4},"support.transitions"],["header",{"level":5},"transitions.css ",["inlinecode","String"]],["para","Returns the CSS prefix of the current browser proprietary transition properties. E.g. \"-webkit-\", \"-moz-\", \"-o-\", \"-ms-\""],["header",{"level":5},"transitions.prefix ",["inlinecode","String"]],["para","Returns the JavaScript prefix of the current browser proprietary transition properties. E.g. \"webkit\", \"Moz\", \"O\", \"ms\""],["header",{"level":5},"transitions.event ",["inlinecode","String"]],["para","Returns the transition end event name in the current browser. E.g. \"webkitTransitionEnd\", \"transitionend\", \"oTransitionEnd\""]]},{"name":"support.mobileOS","type":["Object"],"short_doc":[["para","Returns a number of properties that identify the current mobile browser. Parses navigator.userAgent to do it. False on desktop."]],"doc":[["para","Returns a number of properties that identify the current mobile browser. Parses navigator.userAgent to do it. False on desktop."],["header",{"level":4},"support.mobileOS"],["header",{"level":5},"device ",["inlinecode","String"]],["para","Returns the current mobile device identifier, can be \"fire\", \"android\", \"iphone\", \"ipad\", \"meego\", \"webos\", \"blackberry\", \"playbook\", \"wp\", \"windows\"."],["header",{"level":5},"tablet ",["inlinecode","String"]," ",["em","(default: false)"]],["para","Returns the current tablet identifier or false if the current device is not a tablet, can be \"fire\", \"ipad\", \"playbook\" or false."],["header",{"level":5},"browser ",["inlinecode","String"]," ",["em","(default: \"default\")"]],["para","Returns the current browser identifier or \"default\" if the browser is the native one, can be \"omini\", \"omobile\", \"firefox\", \"mobilesafari\", \"webkit\", \"ie\", \"default\"."],["header",{"level":5},"name ",["inlinecode","String"]],["para","Returns the current os name identifier, can be \"ios\", \"android\", \"blackberry\", \"windows\", \"webos\", \"meego\". For convenience a property with the os name is also initialized,\nfor instance:"],["code_block","if (kendo.support.mobileOS.android) {\n    // Do something in Android\n}"],["header",{"level":5},"majorVersion ",["inlinecode","String"]],["para","The current OS major version, e.g. \"5\" in iOS 5.1."],["header",{"level":5},"minorVersion ",["inlinecode","String"]],["para","The current OS minor versions, e.g. \"1.1\" in iOS 5.1.1."],["header",{"level":5},"flatVersion ",["inlinecode","Number"]],["para","A convenience property to allow easier version checks, for instance:"],["code_block","var os = kendo.support.mobileOS;\nif (os.ios && os.flatVersion >= 400 && os.flatVersion < 500) {\n    // Do something in iOS 4.x\n}"],["header",{"level":5},"appMode ",["inlinecode","Boolean"]],["para","Returns true if running in application mode - pinned to desktop in iOS or running in PhoneGap/WebView."]]},{"name":"version","type":["String"],"short_doc":[["para","Returns the Kendo UI version as a string, for example ",["inlinecode","\"2013.3.1119\""]," or ",["inlinecode","\"2013.2.918\""],", etc. In general, Kendo UI version identifiers provide the following information:"],["bulletlist",["listitem","year in YYYY format (2013, 2012, etc);"],["listitem","major release as \"1\", \"2\" or \"3\" (derived from Q1, Q2 and Q3). All service packs and internal builds, which come after a given major release, share the same major release number;"],["listitem","month and day of the release in Mdd format (November 19, September 18, etc);"]],["para","Q3 service packs and internal builds may be released in the following year. In this case 12 is added to the month number, e.g. 13 means January, 14 means February and so on.\nFor example ",["inlinecode","\"2012.3.1315\""]," means a service pack (internal build) released after Q3 ",["strong","2012"]," on January 15, ",["strong","2013"],"."],["para","The returned value does not give clues whether the given Kendo UI version represents a major release, service pack, or the so-called internal (nightly) build."]],"doc":[["para","Returns the Kendo UI version as a string, for example ",["inlinecode","\"2013.3.1119\""]," or ",["inlinecode","\"2013.2.918\""],", etc. In general, Kendo UI version identifiers provide the following information:"],["bulletlist",["listitem","year in YYYY format (2013, 2012, etc);"],["listitem","major release as \"1\", \"2\" or \"3\" (derived from Q1, Q2 and Q3). All service packs and internal builds, which come after a given major release, share the same major release number;"],["listitem","month and day of the release in Mdd format (November 19, September 18, etc);"]],["para","Q3 service packs and internal builds may be released in the following year. In this case 12 is added to the month number, e.g. 13 means January, 14 means February and so on.\nFor example ",["inlinecode","\"2012.3.1315\""]," means a service pack (internal build) released after Q3 ",["strong","2012"]," on January 15, ",["strong","2013"],"."],["para","The returned value does not give clues whether the given Kendo UI version represents a major release, service pack, or the so-called internal (nightly) build."]]}],"short_doc":[],"doc":[["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Binds a HTML View to a View-Model."],["para","Model View ViewModel (",["link",{"href":"http://en.wikipedia.org/wiki/Model_View_ViewModel"},"MVVM"],") is a design pattern which helps developers separate the Model from the View. The View-Model part of MVVM is responsible for\nexposing the data objects from the Model in such a way that those objects are easily consumed in the View."],["blockquote",["para",["strong","Important:"]," Kendo UI Mobile is not included in the default list of initialized namespaces. You can initialize it explicitly by\n  running ",["inlinecode","kendo.bind(element, viewModel, kendo.mobile.ui);"]]],["header",{"level":4},"Example - bind a DOM element to a view model"],["code_block"," <!-- View -->\n <div id=\"view\">\n   <!-- The value of the INPUT element is bound to the \"firstName\" field of the View-Model.\n   When the value changes so will the \"firstName\" field and vice versa.  -->\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <!-- The value of the INPUT element is bound to the \"lastName\" field of the View-Model.\n   When the value changes so will the \"lastName\" field and vice versa.   -->\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <!-- The click event of the BUTTON element is bound to the \"displayGreeting\" method of the View-Model.\n   When the user clicks the button the \"displayGreeting\" method will be invoked.  -->\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n   // View-Model\n   var viewModel = kendo.observable({\n      firstName: \"John\",\n      lastName: \"Doe\",\n      displayGreeting: function() {\n          // Get the current values of \"firstName\" and \"lastName\"\n          var firstName = this.get(\"firstName\");\n          var lastName = this.get(\"lastName\");\n          alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n      }\n   });\n\n   // Bind the View to the View-Model\n   kendo.bind($(\"#view\"), viewModel);\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The root element(s) from which the binding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."],["header",{"level":5},"viewModel ",["inlinecode","Object|kendo.data.ObservableObject"]],["para","The View-Model which the elements are bound to. Wrapped as an instance of ",["inlinecode","kendo.data.ObservableObject"]," if not already."],["header",{"level":5},"namespace ",["inlinecode","Object"]],["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."],["header",{"level":3},"init"],["para","Instantiates Kendo UI widgets in a given DOM element based on role data attributes."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n    </div>\n </div>\n <script>\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"));\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The root element(s) from which the instantiation starts. Can be a valid jQuery string selector, a DOM element or a jQuery object. All child elements are traversed."],["header",{"level":5},"namespace ",["inlinecode","Object"]],["para","Optional namespace too look in when instantiating Kendo UI widgets. The valid namespaces are ",["inlinecode","kendo.ui"],", ",["inlinecode","kendo.dataviz.ui"]," and ",["inlinecode","kendo.mobile.ui"],". If omitted\n",["inlinecode","kendo.ui"]," will be used. Multiple namespaces can be passed."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n    <div>\n        <input data-role=\"autocomplete\" data-source=\"data\" data-filter=\"startswith\" data-placeholder=\"select country ...\" />\n        <button data-role=\"button\" data-click=\"foo\">Foo</button>\n    </div>\n </div>\n\n <script>\n function foo(e) {\n     console.log(e.sender); // a mobile button\n }\n var data = [ \"Albania\", \"Andorra\", \"Armenia\", \"Austria\", \"Azerbaijan\", \"Belarus\", \"Belgium\", \"Bosnia & Herzegovina\", \"Bulgaria\", \"Croatia\", \"Cyprus\"  ];\n\n kendo.init($(\"#view\"), kendo.mobile.ui, kendo.ui);\n </script>"],["header",{"level":3},"observableHierarchy"],["para","Creates an ObservableArray instance that is bound to a HierarchicalDataSource. Required to bind a HierarchicalDataSource-enabled widget (such as the Kendo UI TreeView) to a view-model."],["header",{"level":4},"Example"],["code_block","<div data-role=\"treeview\" data-bind=\"source: products\"></div>\n<script>\nvar viewModel = kendo.observable({\n  products: kendo.observableHierarchy([\n    {\n      text: \"foo\",\n      items: [\n        { text: \"bar\" }\n      ]\n    },\n    { text: \"baz\" }\n   ])\n});\nkendo.bind(document.body, viewModel);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"array ",["inlinecode","Array"]],["para","The array that will be converted to an ObservableArray."],["header",{"level":3},"culture"],["para","Sets or gets the current culture. Uses the passed culture name to select a culture from the culture scripts that you have included and then sets the current culture.\nIf there is no corresponding culture then the method will try to find culture which is equal to the country part of the culture name.\nIf no culture is found the default one is used."],["header",{"level":4},"Example -  include a culture-specific JavaScript file and set the culture"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.en-GB.min.js\"></script>\n<script>\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"$99.00\" using the default en-US culture\n  kendo.culture(\"en-GB\"); // change the culture\n  console.log(kendo.format(\"{0:c}\", 99)); // outputs \"£99.00\"\n</script>"],["header",{"level":4},"Get the current culture"],["code_block","<script>\nvar culture = kendo.culture();\nconsole.log(culture.name); // outputs \"en-US\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"culture ",["inlinecode","String"]],["para","The culture to set."],["header",{"level":3},"destroy"],["para","Finds all Kendo widgets that are children of the specified element and calls their destroy method."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\">\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"true\"\n  kendo.destroy(document.body);\n  console.log($(\"#autocomplete\").data(\"kendoAutoComplete\") != null); // outputs \"false\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]],["header",{"level":3},"format"],["para","Replaces each format item in a specified string with the text equivalent of a corresponding object's value. Uses ",["link",{"href":"#methods-toString"},"toString"]," for every format item."],["header",{"level":4},"Example"],["code_block","<script>\nconsole.log(kendo.format(\"{0} - {1}\", 12, 24));  // outputs \"12 - 24\"\nconsole.log(kendo.format(\"{0:c} - {1:c}\", 12, 24)); // outputs \"$12.00 - $24.00\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The formatted string."],["header",{"level":3},"htmlEncode"],["para","Encodes HTML characters to entities."],["header",{"level":4},"Example"],["code_block","<script>\nvar html = kendo.htmlEncode(\"<span>Hello</span>\");\nconsole.log(html); // outputs \"&lt;span&gt;Hello&lt;/span&gt;\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string that needs to be HTML encoded."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The encoded string."],["header",{"level":3},"parseDate"],["para","Parses as a formatted string as a ",["inlinecode","Date"],"."],["header",{"level":4},"Example"],["code_block","<script>\n  console.log(kendo.parseDate(\"2013/3/4 10:00 AM\")); // outputs \"Mon Mar 04 2013 10:00:00\"\n  console.log(kendo.parseDate(\"3/4/2013\", \"MM/dd/yyyy\")); // outputs \"Mon Mar 04 2013 00:00:00\"\n  console.log(kendo.parseDate(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as ",["inlinecode","Date"],"."],["header",{"level":5},"formats ",["inlinecode","String|Array"]," ",["em","(optional)"]],["para","The format(s) that will be used to parse the date. By default all standard date formats of the current culture are used."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," the parsed date. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Date"],"."],["header",{"level":3},"parseFloat"],["para","Parses a string as a floating point number."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseFloat(\"12.22\")); // outputs \"12.22\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseFloat(\"1.212,22 €\")); // outputs \"1212.22\"\n  console.log(kendo.parseFloat(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the parsed number. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Number"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as a ",["inlinecode","Number"],"."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."],["header",{"level":3},"parseInt"],["para","Parses as a string as an integer."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  console.log(kendo.parseInt(\"12.22\")); // outputs \"12\"\n  kendo.culture(\"de-DE\");\n  console.log(kendo.parseInt(\"1.212,22 €\")); // outputs 1212\n  console.log(kendo.parseInt(\"invalid\")); // outputs \"null\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the parsed number. Returns ",["inlinecode","null"]," if the value cannot be parsed as a valid ",["inlinecode","Number"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The string which should be parsed as ",["inlinecode","Number"],"."],["header",{"level":5},"culture ",["inlinecode","String"]," ",["em","(optional)"]],["para","The culture used to parse the number. The current culture is used by default."],["header",{"level":3},"parseColor"],["para","Parse a color string to a Color object.  If the input is not valid throws an Error, unless the ",["inlinecode","noerror"]," argument is given."],["header",{"level":4},"Example"],["code_block","<script>\nvar red = kendo.parseColor(\"#ff0000\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]],["para","A string in one of the following (case-insensitive) CSS notations:"],["bulletlist",["listitem",["inlinecode","#F00"]," (optionally without the sharp: ",["inlinecode","F00"],")"],["listitem",["inlinecode","#FF0000"]," (optionally without the sharp: ",["inlinecode","FF0000"],")"],["listitem",["inlinecode","rgb(255, 0, 0)"]],["listitem",["inlinecode","rgba(255, 0, 0, 1)"]]],["para","Particularly if this argument is ",["inlinecode","null"]," or the string ",["inlinecode","\"transparent\""]," then this function will return ",["inlinecode","null"],"."],["header",{"level":5},"noerror ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If you pass ",["inlinecode","true"]," then this function will return ",["inlinecode","undefined"]," rather than throwing an error on invalid input."],["header",{"level":4},"Returns"],["para",["inlinecode","Color"]," A Color object."],["header",{"level":3},"render"],["para","Renders the specified template using the provided array."],["header",{"level":4},"Example"],["code_block","<ul></ul>\n<script>\nvar template = kendo.template(\"<li>#: name #</li>\");\nvar data = [ { name: \"John Doe\" }, { name: \"Jane Doe\" }];\nvar html = kendo.render(template, data);\n$(\"ul\").html(html);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"template ",["inlinecode","Function"]],["para","The Kendo UI template which should be rendered. Create one via the ",["link",{"href":"#methods-template"},"template"]," method."],["header",{"level":5},"data ",["inlinecode","Array"]],["para","The array of objects which contains the data that the template will render."],["header",{"level":3},"resize"],["para","Finds all Kendo widgets that are children of the specified element and calls their ",["inlinecode","resize"]," method."],["header",{"level":4},"Example"],["code_block","<div class=\"chart-wrapper\">\n   <div id=\"chart\" style=\"width:100%\"></div>\n</div>\n<script>\n    $(function() {\n        $(\"#chart\").kendoChart({\n            title: {\n                text: \"Gross domestic product growth /GDP annual %/\"\n            },\n            legend: {\n                position: \"bottom\"\n            },\n            seriesDefaults: {\n                type: \"area\"\n            },\n            series: [{\n                name: \"India\",\n                data: [3.907, 7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552, 6.855]\n            }],\n            valueAxis: {\n                labels: {\n                    format: \"{0}%\"\n                },\n                line: {\n                    visible: false\n                },\n                axisCrossingValue: -10\n            },\n            categoryAxis: {\n                categories: [2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011],\n                majorGridLines: {\n                    visible: false\n                }\n            },\n            tooltip: {\n                visible: true,\n                format: \"{0}%\",\n                template: \"#= series.name #: #= value #\"\n            }\n        });\n    });\n\n    $(window).on(\"resize\", function() {\n      kendo.resize($(\".chart-wrapper\"));\n    });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]],["header",{"level":3},"stringify"],["para","Converts a JavaScript object to ",["link",{"href":"http://en.wikipedia.org/wiki/JSON"},"JSON"],". Uses ",["link",{"href":"https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON/stringify"},"JSON.stringify"]," in browsers that support it."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Object"]],["para","The value to convert to a JSON string."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The JSON representation of the value."],["header",{"level":4},"Example"],["code_block","<script>\nvar json = kendo.stringify({ foo: \"bar\" });\nconsole.log(json); // displays {\"foo\":\"bar\"}\n</script>"],["header",{"level":3},"template"],["para","Compiles a template to a function that builds HTML. Useful when a template will be used several times.\nTemplates offer way of creating HTML chunks. Options such as HTML encoding and compilation for optimal\nperformance are available."],["header",{"level":4},"Example - Basic template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"Hello, #= firstName # #= lastName #\");\nvar data = { firstName: \"John\", lastName: \"Doe\" };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - encode HTML"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"HTML tags are encoded: #: html #\");\nvar data = { html: \"<strong>lorem ipsum</strong>\" };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - use JavaScript in the template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"#if (foo) {# foo is true #}#\");\nvar data = { foo: true };\n$(\"#output\").html(template(data));\n</script>"],["header",{"level":4},"Example - escape sharp (\"#\") symbols in an inline template"],["code_block","<span id=\"output\"></span>\n<script>\nvar template = kendo.template(\"<a href='\\\\#'>link</a>\");\n$(\"#output\").html(template({}));\n</script>"],["header",{"level":4},"Example - escape sharp (\"#\") symbols in a template defined in a script element"],["code_block","<span id=\"output\"></span>\n<script type=\"text/x-kendo-template\" id=\"template\">\n<a href=\"\\#\">link</a>\n</script>\n<script>\nvar template = kendo.template($(\"#template\").html());\n$(\"#output\").html(template({}));\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Function"]," the compiled template as a JavaScript function. When called this function will return the generated HTML string."],["header",{"level":4},"Parameters"],["header",{"level":5},"template ",["inlinecode","String"]],["para","The template that will be compiled."],["header",{"level":5},"options ",["inlinecode","Object"]," ",["em","(optional)"]],["para","Template compilation options."],["header",{"level":5},"options.paramName ",["inlinecode","String"]," ",["em","(default: \"data\")"]],["para","The name of the parameter used by the generated function. Useful when ",["inlinecode","useWithBlock"]," is set to ",["inlinecode","false"],"."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: d.name #</strong>\", { paramName: \"d\", useWithBlock: false });"],["header",{"level":5},"options.useWithBlock ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Wraps the generated code in a ",["inlinecode","with"]," block. This allows the usage of unqualified fields in the template. Disabling the ",["inlinecode","with"]," block will improve\nthe performance of the template."],["header",{"level":6},"Example"],["code_block","var template = kendo.template(\"<strong>#: data.name #</strong>\", { useWithBlock: false }); // Note that \"data.\" is used to qualify the field\n\nconsole.log(template({ name: \"John Doe\" })); // outputs \"<strong>John Doe</strong>\""],["header",{"level":3},"touchScroller"],["para","Enables kinetic scrolling on touch devices"],["header",{"level":4},"Example"],["code_block","<div id=\"scrollable\" style=\"height: 200px\">\n  Scrollable\n  <div style=\"height: 1000px\">content</div>\n</div>\n<script>\n  kendo.touchScroller($(\"#scrollable\"));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Element"]],["para","The container element to enable scrolling for."],["header",{"level":3},"toString"],["para","Formats a ",["inlinecode","Number"]," or ",["inlinecode","Date"]," using the specified format and the current culture."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\n  //format a number using standard number formats and default culture (en-US)\n  console.log(kendo.toString(10.12, \"n\")); // outputs \"10.12\"\n  console.log(kendo.toString(10.12, \"n0\")); // outputs \"10\"\n  console.log(kendo.toString(10.12, \"n5\")); // outputs \"10.12000\"\n  console.log(kendo.toString(10.12, \"c\")); // outputs \"$10.12\"\n  console.log(kendo.toString(0.12, \"p\")); // outputs \"12.00 %\"\n  //format a number using custom number formats\n  console.log(kendo.toString(19.12, \"00##\")); //outputs \"0019\"\n  //format a number using standard number format and a specific culture de-DE (default culture is en-US)\n  console.log(kendo.toString(10.12, \"c\", \"de-DE\")); //outputs \"10,12\" €\n  //format a date\n  console.log(kendo.toString(new Date(2010, 9, 5), \"yyyy/MM/dd\" )); // outputs \"2010/10/05\"\n  console.log(kendo.toString(new Date(2010, 9, 5), \"dddd MMMM d, yyyy\" )); // outputs \"Tuesday October 5, 2010\"\n  console.log(kendo.toString(new Date(2010, 10, 10, 22, 12), \"hh:mm tt\" )); // outputs \"10:12 PM\"\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the formatted value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|Number"]],["para","The ",["inlinecode","Date"]," or ",["inlinecode","Number"]," which should be formatted."],["header",{"level":5},"format ",["inlinecode","String"]],["para","The format string which should be used to format the value."],["header",{"level":5},"culture ",["inlinecode","String"]],["para","The name of the culture which should be used to format the value. [The culture should be registered on the page](http://docs.kendoui.com/getting-started/framework/globalization/overview#add culture scripts to the page)."],["header",{"level":3},"unbind"],["para","Unbinds a tree of HTML elements from a View-Model."],["header",{"level":4},"Example"],["code_block"," <div id=\"view\">\n   <label>First Name:<input data-bind=\"value: firstName\" /></label>\n   <label>Last Name:<input data-bind=\"value: lastName\" /></label>\n   <button data-bind=\"click: displayGreeting\">Display Greeting</button>\n </div>\n <script>\n var viewModel = kendo.observable({\n    firstName: \"John\",\n    lastName: \"Doe\",\n    displayGreeting: function() {\n        // Get the current values of \"firstName\" and \"lastName\"\n        var firstName = this.get(\"firstName\");\n        var lastName = this.get(\"lastName\");\n        alert(\"Hello, \" + firstName + \" \" + lastName + \"!!!\");\n    }\n });\n kendo.bind($(\"#view\"), viewModel);\n // unbind the view model\n kendo.unbind($(\"#view\"));\n </script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|jQuery|Node"]],["para","The root element(s) from which the unbinding starts. Can be a valid jQuery string selector, a DOM element or a jQuery object.\nAll child elements are traversed."],["header",{"level":3},"widgetInstance"],["para","Returns a Kendo UI widget instance, attached to the provided element.\nThis method can be used in scenarios when the page (e.g. a form) contains both generic HTML elements and Kendo UI widgets and the exact distribution is not clear."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The DOM element that may have a Kendo UI instance attached to it."],["header",{"level":5},"suite ",["inlinecode","Object"]],["para",["strong","Optional"],". The Kendo UI suite, that the widget is expected to be part of - ",["inlinecode","kendo.ui"]," (web widgets), ",["inlinecode","kendo.mobile.ui"]," or ",["inlinecode","kendo.dataviz.ui"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The Kendo UI widget instance with all applicable methods and fields, if the instance is attached to the provided element."],["para",["inlinecode","undefined"]," otherwise"],["header",{"level":4},"Example - using kendo.widgetInstance()"],["code_block","// get element\nvar textbox = $(\"#myTextBox\");\n// get widget object\nvar widget = kendo.widgetInstance(textbox);\nif (widget) {\n\t// execute an API method\n\twidget.value(/* ... */);\n} else {\n\t// execute generic jQuery method\n\ttextbox.val(/* ... */);\n}"],["header",{"level":2},"Fields"],["header",{"level":3},"support"],["para","A range of useful supported by the current browser capabilities and features."],["header",{"level":4},"support"],["header",{"level":5},"touch ",["inlinecode","Boolean"]],["para","Return true if the browser supports touch events."],["header",{"level":5},"pointers ",["inlinecode","Boolean"]],["para","Return true if the browser supports pointer events (IE10 and Metro apps currently)."],["header",{"level":5},"scrollbar ",["inlinecode","Function"]],["para","Checks for the browser scrollbar width, returns scrollbar width in pixels, 0 if no scrollbars available (e.g. in mobile)."],["header",{"level":5},"hasHW3D ",["inlinecode","Boolean"]],["para","Return true if the browser supports 3D transitions and transforms."],["header",{"level":5},"hasNativeScrolling ",["inlinecode","Boolean"]],["para","Returns true if the browser supports overflow-scrolling CSS property (currently only iOS 5+)."],["header",{"level":5},"devicePixelRatio ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","Returns the current device's Device to Pixel Ratio. Doesn't work in Windows Phone 8, where IE10 doesn't support it."],["header",{"level":5},"placeHolder ",["inlinecode","Boolean"]],["para","Retruns true if the browser supports input placeholders."],["header",{"level":5},"zoomLevel ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","Returns the current zoom level on a mobile browser (returns 1 on desktop)."],["header",{"level":3},"support.transforms ",["inlinecode","Object"]],["para","Returns a number of browser specific transformation properties"],["header",{"level":4},"support.transforms"],["header",{"level":5},"transforms.css ",["inlinecode","String"]],["para","Returns the CSS prefix of the current browser proprietary transform properties. E.g. \"-webkit-\", \"-moz-\", \"-o-\", \"-ms-\""],["header",{"level":5},"transforms.prefix ",["inlinecode","String"]],["para","Returns the JavaScript prefix of the current browser proprietary transform properties. E.g. \"webkit\", \"Moz\", \"O\", \"ms\""],["header",{"level":3},"support.transitions ",["inlinecode","Object"]],["para","Returns a number of browser specific transition properties"],["header",{"level":4},"support.transitions"],["header",{"level":5},"transitions.css ",["inlinecode","String"]],["para","Returns the CSS prefix of the current browser proprietary transition properties. E.g. \"-webkit-\", \"-moz-\", \"-o-\", \"-ms-\""],["header",{"level":5},"transitions.prefix ",["inlinecode","String"]],["para","Returns the JavaScript prefix of the current browser proprietary transition properties. E.g. \"webkit\", \"Moz\", \"O\", \"ms\""],["header",{"level":5},"transitions.event ",["inlinecode","String"]],["para","Returns the transition end event name in the current browser. E.g. \"webkitTransitionEnd\", \"transitionend\", \"oTransitionEnd\""],["header",{"level":3},"support.mobileOS ",["inlinecode","Object"]],["para","Returns a number of properties that identify the current mobile browser. Parses navigator.userAgent to do it. False on desktop."],["header",{"level":4},"support.mobileOS"],["header",{"level":5},"device ",["inlinecode","String"]],["para","Returns the current mobile device identifier, can be \"fire\", \"android\", \"iphone\", \"ipad\", \"meego\", \"webos\", \"blackberry\", \"playbook\", \"wp\", \"windows\"."],["header",{"level":5},"tablet ",["inlinecode","String"]," ",["em","(default: false)"]],["para","Returns the current tablet identifier or false if the current device is not a tablet, can be \"fire\", \"ipad\", \"playbook\" or false."],["header",{"level":5},"browser ",["inlinecode","String"]," ",["em","(default: \"default\")"]],["para","Returns the current browser identifier or \"default\" if the browser is the native one, can be \"omini\", \"omobile\", \"firefox\", \"mobilesafari\", \"webkit\", \"ie\", \"default\"."],["header",{"level":5},"name ",["inlinecode","String"]],["para","Returns the current os name identifier, can be \"ios\", \"android\", \"blackberry\", \"windows\", \"webos\", \"meego\". For convenience a property with the os name is also initialized,\nfor instance:"],["code_block","if (kendo.support.mobileOS.android) {\n    // Do something in Android\n}"],["header",{"level":5},"majorVersion ",["inlinecode","String"]],["para","The current OS major version, e.g. \"5\" in iOS 5.1."],["header",{"level":5},"minorVersion ",["inlinecode","String"]],["para","The current OS minor versions, e.g. \"1.1\" in iOS 5.1.1."],["header",{"level":5},"flatVersion ",["inlinecode","Number"]],["para","A convenience property to allow easier version checks, for instance:"],["code_block","var os = kendo.support.mobileOS;\nif (os.ios && os.flatVersion >= 400 && os.flatVersion < 500) {\n    // Do something in iOS 4.x\n}"],["header",{"level":5},"appMode ",["inlinecode","Boolean"]],["para","Returns true if running in application mode - pinned to desktop in iOS or running in PhoneGap/WebView."],["header",{"level":3},"version ",["inlinecode","String"]],["para","Returns the Kendo UI version as a string, for example ",["inlinecode","\"2013.3.1119\""]," or ",["inlinecode","\"2013.2.918\""],", etc. In general, Kendo UI version identifiers provide the following information:"],["bulletlist",["listitem","year in YYYY format (2013, 2012, etc);"],["listitem","major release as \"1\", \"2\" or \"3\" (derived from Q1, Q2 and Q3). All service packs and internal builds, which come after a given major release, share the same major release number;"],["listitem","month and day of the release in Mdd format (November 19, September 18, etc);"]],["para","Q3 service packs and internal builds may be released in the following year. In this case 12 is added to the month number, e.g. 13 means January, 14 means February and so on.\nFor example ",["inlinecode","\"2012.3.1315\""]," means a service pack (internal build) released after Q3 ",["strong","2012"]," on January 15, ",["strong","2013"],"."],["para","The returned value does not give clues whether the given Kendo UI version represents a major release, service pack, or the so-called internal (nightly) build."],["header",{"level":2},"Standard number formats"],["header",{"level":3},["em","n"]],["para","Formats the value as a number with decimal and thousand separators."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\nconsole.log(kendo.toString(1234.567, \"n\")); // outputs \"1,234.57\"\nkendo.culture(\"de-DE\");\nconsole.log(kendo.toString(1234.567, \"n3\")); //outputs \"1.234,567\"\n</script>"],["header",{"level":3},["em","c"]],["para","Formats the value by adding the currency symbol."],["header",{"level":4},"Example"],["code_block","<script src=\"http://cdn.kendostatic.com/2013.2.716/js/cultures/kendo.culture.de-DE.min.js\"></script>\n<script>\nconsole.log(kendo.toString(1234.567, \"c\")); // outputs \"$1,234.57\"\nkendo.culture(\"de-DE\");\nconsole.log(kendo.toString(1234.567, \"c3\")); // outputs \"1.234,567 €\"\n<script>"],["header",{"level":3},["em","p"]],["para","Formats the value as percentage (the value is multiplied by 100)."],["header",{"level":4},"Example"],["code_block","<script>\nconsole.log(kendo.toString(0.222, \"p\")); // outputs \"22.20 %\"\nconsole.log(kendo.toString(0.22, \"p3\")); // outputs \"22.000 %\"\n</script>"],["header",{"level":3},["em","e"]],["para","Returns the value in exponential format."],["header",{"level":4},"Example"],["code_block","<script>\nconsole.log(kendo.toString(0.122, \"e\")); // outputs \"1.22e-1\"\n</script>"],["header",{"level":2},"Custom number formats"],["para","Custom number formats can be created by using one or more custom numeric specifiers."],["header",{"level":3},"Format Specifiers"],["header",{"level":4},["em","0"]],["para","Zero placeholder. Replaces the zero with the corresponding digit if one is present; otherwise, zero appears in the result string."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(1234.5678, \"00000\")); // outputs \"01235\"\n</script>"],["header",{"level":4},["em","#"]],["para","Digit placeholder. Replaces the pound sign with the corresponding digit if one is present; otherwise, no digit appears in the result string."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(1234.5678, \"#####\")); // outputs \"1235\"\n</script>"],["header",{"level":4},["em","."]],["para","Decimal placeholder. Determines the position of the decimal separator in the result string."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(0.45678, \"0.00\")); // outputs \"0.46\"\n</script>"],["header",{"level":4},["em",","]],["para","Group separator. Inserts a group separator between each group of digits."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(12345678, \"##,#\")); // outputs \"12,345,678\"\n</script>"],["header",{"level":4},["em","%"]],["para","Percentage. Multiplies a number by 100 and inserts a the percentage symbol (according to the current culture) in the result string."],["header",{"level":5},"Example"],["code_block","<script>\n  console.log(kendo.toString(0.14, \"#%\")); // outputs \"14%\"\n</script>"],["header",{"level":4},["em","e"]],["para","Exponential notation."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(0.45678, \"e0\")); // outputs \"5e-1\"\n</script>"],["header",{"level":4},["em",";"]],["para","Section separator. Defines sections of separate format strings for positive, negative, and zero numbers."],["header",{"level":5},"Example"],["code_block","<script>\n  console.log(kendo.toString(3.14, \"0.0;0.00\")); // outputs \"3.1\"\n  console.log(kendo.toString(-3.14, \"0.0;-0.00\")); // outputs \"-3.14\"\n</script>"],["header",{"level":4},["em","\"string\"|'string'"]],["para","Literal string. Indicates literal strings which should be included in the result verbatim."],["header",{"level":5},"Example"],["header",{"level":2},"Standard date formats"],["header",{"level":4},["em","d"]],["para","Short date pattern."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"d\")); // outputs \"11/6/2000\"\n</script>"],["header",{"level":4},["em","D"]],["para","Long date pattern."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"D\")); // outputs \"Monday, November 06, 2000\"\n</script>"],["header",{"level":4},["em","F"]],["para","Full date time pattern."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"F\")); // outputs \"Monday, November 06, 2000 12:00:00 AM\"\n</script>"],["header",{"level":4},["em","g"]],["para","General date/time pattern (short time)."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"g\")); // outputs \"11/6/2000 12:00 AM\"\n</script>"],["header",{"level":4},["em","G"]],["para","General date/time pattern (long time)."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"G\")); // outputs \"11/6/2000 12:00:00 AM\"\n</script>"],["header",{"level":4},["em","m|M"]],["para","Day of month pattern."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"m\")); // outputs \"November 06\"\n</script>"],["header",{"level":4},["em","u"]],["para","Universal sortable date/time pattern"],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"u\")); // outputs \"2000-11-06 00:00:00Z\"\n</script>"],["header",{"level":4},["em","y|Y"]],["para","Month year pattern."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2000, 10, 6), \"y\")); // outputs \"November, 2000\"\n</script>"],["header",{"level":2},"Custom date formats"],["para","Custom date formats can be created by using one or more custom date specifiers."],["header",{"level":3},"Format Specifiers"],["header",{"level":4},["em","d"]],["para","The day of the month, from 1 to 31."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/M/d\")); // outputs \"2013/6/6\"\n</script>"],["header",{"level":4},["em","dd"]],["para","The zero-padded day of the month - from 01 to 31."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/M/dd\")); // outputs \"2013/6/06\"\n</script>"],["header",{"level":4},["em","ddd"]],["para","The abbreviated name of the day of the week."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"ddd,yyyy/M\")); // outputs \"Thu, 2013/6\"\n</script>"],["header",{"level":4},["em","dddd"]],["para","The full name of the day of the week."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"ddd,yyyy/M\")); // outputs \"Thursday, 2013/6\"\n</script>"],["header",{"level":4},["em","f"]],["para","The tenths of a second."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 5, 5, 5, 500), \"f\")); // outputs \"5\"\n</script>"],["header",{"level":4},["em","ff"]],["para","The hundreds of a second."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 5, 5, 5, 500), \"ff\")); // outputs \"50\"\n</script>"],["header",{"level":4},["em","fff"]],["para","The milliseconds."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 5, 5, 5, 500), \"fff\")); // outputs \"500\"\n</script>"],["header",{"level":4},["em","M"]],["para","The month, from 1 to 12."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/M/d\")); // outputs \"2013/6/6\"\n</script>"],["header",{"level":4},["em","MM"]],["para","The zero-padded month, from 01 to 12."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/MM/d\")); // outputs \"2013/06/6\"\n</script>"],["header",{"level":4},["em","MMM"]],["para","The abbreviated name of the month."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/MMM/d\")); // outputs \"2013/Jun/6\"\n</script>"],["header",{"level":4},["em","MMMM"]],["para","The full name of the month."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6), \"yyyy/MMM/d\")); // outputs \"2013/June/6\"\n</script>"],["header",{"level":4},["em","h"]],["para","The hour, using 12-hour clock from 1 to 12."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 0), \"h\")); // outputs \"6\"\n</script>"],["header",{"level":4},["em","hh"]],["para","The zero-padded hour, using 12-hour clock from 01 to 12."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 0), \"h\")); // outputs \"06\"\n</script>"],["header",{"level":4},["em","H"]],["para","The hour, using 24-hour clock from 0 to 23."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 13, 0), \"H\")); // outputs \"13\"\n</script>"],["header",{"level":4},["em","HH"]],["para","The zero-padded hour, using 24-hour clock from 00 to 23."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 0), \"HH\")); // outputs \"06\"\n</script>"],["header",{"level":4},["em","m"]],["para","The minute, from 0 to 59."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 30), \"m\")); // outputs \"30\"\n</script>"],["header",{"level":4},["em","mm"]],["para","The zero-padded minute, from 00 to 59."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 5), \"mm\")); // outputs \"05\"\n</script>"],["header",{"level":4},["em","s"]],["para","The second, from 0 to 59."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 5, 5), \"s\")); // outputs \"5\"\n</script>"],["header",{"level":4},["em","ss"]],["para","The zero-padded second, from 00 to 59."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 6, 5, 5), \"ss\")); // outputs \"05\"\n</script>"],["header",{"level":4},["em","tt"]],["para","The AM/PM designator."],["header",{"level":5},"Example"],["code_block","<script>\nconsole.log(kendo.toString(new Date(2013, 5, 6, 13, 0), \"HH tt\")); // outputs \"13 PM\"\n</script>"],["para","<a name=\"Color\"></a>\n## Color objects"],["para","These objects can be used to manipulate colors.  You cannot instantiate a\n",["inlinecode","Color"]," object directly, instead you should use ",["inlinecode","kendo.parseColor"]," or one of\nthe functions below:"],["code_block","var red = kendo.Color.fromRGB(1, 0, 0, 1);\nvar blue = kendo.Color.fromBytes(0, 0, 255, 1);\nvar green = kendo.Color.fromHSV(120, 1, 1, 1);"],["para","We support three color representations: as RGB (where the values are float\nnumbers between 0 and 1), as Bytes (where values are integers between 0 and\n255) or as ",["link",{"href":"http://en.wikipedia.org/wiki/HSL_and_HSV"},"HSV"],".  They all\nsupport transparency via the last argument, a float between 0 and 1.  If\nmissing it will default to 1 (fully opaque)."],["para","If you are not certain which representation is used internally for a\nparticular color object, you can convert it to the one you need using one of\nthe methods below."],["header",{"level":3},"Methods"],["header",{"level":4},"toHSV"],["para","Returns the color in HSV representation.  As HSV object, it has the\nfollowing properties:"],["bulletlist",["listitem",["inlinecode","h"]," -- hue, an integer between 0 and 360"],["listitem",["inlinecode","s"]," -- saturation, floating point between 0 and 1"],["listitem",["inlinecode","v"]," -- value, floating point between 0 and 1"],["listitem",["inlinecode","a"]," -- alpha, floating point between 0 and 1"]],["para","This does not modify the current object, it creates a new one instead."],["header",{"level":4},"toRGB"],["para","Returns the color in RGB representation.  The result has the following\nproperties:"],["bulletlist",["listitem",["inlinecode","r"]," -- red component as floating point between 0 and 1"],["listitem",["inlinecode","g"]," -- green component"],["listitem",["inlinecode","b"]," -- blue component"],["listitem",["inlinecode","a"]," -- alpha"]],["para","This does not modify the current object, it creates a new one instead."],["header",{"level":4},"toBytes"],["para","Returns the color in \"Bytes\" representation.  It has the same properties as\nRGB, but ",["inlinecode","r"],", ",["inlinecode","g"]," and ",["inlinecode","b"]," are integers between 0 and 255 instead of floats."],["para","This does not modify the current object, it creates a new one instead."],["header",{"level":4},"toHex"],["para","Returns a string in ",["inlinecode","\"FF0000\""]," form (without a leading ",["inlinecode","#"],")."],["header",{"level":4},"toCss"],["para","Like ",["inlinecode","toHex"],", but includes a leading ",["inlinecode","#"],"."],["header",{"level":4},"toCssRgba"],["para","Returns the color in RGBA notation (includes the opacity)."],["header",{"level":4},"toDisplay"],["para","Returns the color in the best notation supported by the current browser.  In\nIE < 9 this returns the ",["inlinecode","#FF0000"]," form; in all other browsers it returns the\nRGBA form."],["header",{"level":4},"equals"],["para","Returns ",["inlinecode","true"]," if two colors are identical."],["header",{"level":5},"Parameters"],["header",{"level":6},"other ",["inlinecode","Color"]],["para","This can also be a ",["inlinecode","String"]," parse-able with ",["inlinecode","kendo.parseColor"],"."],["header",{"level":3},"Examples"],["code_block","color = kendo.parseColor(\"rgba(255, 0, 0, 1)\");\n\ncolor = color.toHSV();\nconsole.log(color.h, color.s, color.v, color.a);\n\ncolor = color.toRGB(); // floating point values 0..1\nconsole.log(color.r, color.g, color.b, color.a);\n\ncolor = color.toBytes(); // bytes (0..255)\nconsole.log(color.r, color.g, color.b, color.a);\n\nconsole.log(color.equals(\"#f00\")); // true\nconsole.log(color.equals(\"rgb(255, 0, 0)\")); // true\nconsole.log(color.equals(kendo.Color.fromHSV(0, 1, 1)); // true\n\ncolor.g = 255; // current representation is Bytes\nconsole.log(color.equals(\"#ff0\")); // true"]]},"kendo.Layout":{"file":"api/framework/layout.md","name":"kendo.Layout","config":[],"methods":[{"name":"showIn","args":[{"name":"container","type":["String"],"short_doc":[["para","The selector of the container in which the view element will be appended."]],"doc":[["para","The selector of the container in which the view element will be appended."]]},{"name":"view","type":["kendo.View"],"short_doc":[["para","The view instance that will be rendered."]],"doc":[["para","The view instance that will be rendered."]]}],"short_doc":[["para","Renders the ",["strong","View"]," element in the element specified by the selector"]],"doc":[["para","Renders the ",["strong","View"]," element in the element specified by the selector"],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\n    var view = new kendo.View(\"<span>Foo</span>\");\n\n    var layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\n    layout.render($(\"#app\"));\n\n    layout.showIn(\"#content\", view);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","String"]],["para","The selector of the container in which the view element will be appended."],["header",{"level":5},"view ",["inlinecode","kendo.View"]],["para","The view instance that will be rendered."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\n    var view = new kendo.View(\"<span>Foo</span>\");\n\n    var layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\n    layout.render($(\"#app\"));\n\n    layout.showIn(\"#content\", view);\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","The Layout class inherits from the ",["link",{"href":"/api/framework/view"},"View"]," and provides the additional functionality of rendering other views/layouts in the element."]],"doc":[["para","The Layout class inherits from the ",["link",{"href":"/api/framework/view"},"View"]," and provides the additional functionality of rendering other views/layouts in the element."],["header",{"level":2},"Methods"],["header",{"level":3},"showIn"],["para","Renders the ",["strong","View"]," element in the element specified by the selector"],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\n    var view = new kendo.View(\"<span>Foo</span>\");\n\n    var layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\n    layout.render($(\"#app\"));\n\n    layout.showIn(\"#content\", view);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","String"]],["para","The selector of the container in which the view element will be appended."],["header",{"level":5},"view ",["inlinecode","kendo.View"]],["para","The view instance that will be rendered."]]},"kendo.mobile.ui.Widget":{"file":"api/framework/mobilewidget.md","name":"kendo.mobile.ui.Widget","config":[],"methods":[{"name":"view","args":[],"short_doc":[["para","Returns the ",["link",{"href":"/api/mobile/view"},"kendo.mobile.ui.View"]," which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned."]],"doc":[["para","Returns the ",["link",{"href":"/api/mobile/view"},"kendo.mobile.ui.View"]," which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"getButtonView\">\n    <a id=\"button\" data-role=\"button\">I am a mobile button</a>\n</div>\n\n<script>\n    new kendo.mobile.Application();\n    function getButtonView() {\n        console.log($(\"#button\").data(\"kendoMobileButton\").view()); // the foo mobile view instance\n    }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"getButtonView\">\n    <a id=\"button\" data-role=\"button\">I am a mobile button</a>\n</div>\n\n<script>\n    new kendo.mobile.Application();\n    function getButtonView() {\n        console.log($(\"#button\").data(\"kendoMobileButton\").view()); // the foo mobile view instance\n    }\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","Base class of all Kendo UI Mobile widgets. Inherits from ",["link",{"href":"/api/framework/widget"},"kendo.ui.Widget"],"."]],"doc":[["para","Base class of all Kendo UI Mobile widgets. Inherits from ",["link",{"href":"/api/framework/widget"},"kendo.ui.Widget"],"."],["header",{"level":2},"Methods"],["header",{"level":3},"view"],["para","Returns the ",["link",{"href":"/api/mobile/view"},"kendo.mobile.ui.View"]," which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"getButtonView\">\n    <a id=\"button\" data-role=\"button\">I am a mobile button</a>\n</div>\n\n<script>\n    new kendo.mobile.Application();\n    function getButtonView() {\n        console.log($(\"#button\").data(\"kendoMobileButton\").view()); // the foo mobile view instance\n    }\n</script>"]]},"kendo.data.Model":{"file":"api/framework/model.md","name":"kendo.data.Model","config":[{"name":"Example - defining a model","type":[],"short_doc":[["code_block","<script>\nvar Person = kendo.data.Model.define( {\n    id: \"personId\", // the identifier of the model\n    fields: {\n        \"name\": {\n            type: \"string\"\n        },\n        \"age\": {\n            type: \"number\"\n        }\n    }\n});\nvar person = new Person( {\n    name: \"John Doe\",\n    age: 42\n});\nconsole.log(person.get(\"name\")); // outputs \"John Doe\"\nconsole.log(person.get(\"age\")); // outputs 42\n</script>"]],"doc":[["code_block","<script>\nvar Person = kendo.data.Model.define( {\n    id: \"personId\", // the identifier of the model\n    fields: {\n        \"name\": {\n            type: \"string\"\n        },\n        \"age\": {\n            type: \"number\"\n        }\n    }\n});\nvar person = new Person( {\n    name: \"John Doe\",\n    age: 42\n});\nconsole.log(person.get(\"name\")); // outputs \"John Doe\"\nconsole.log(person.get(\"age\")); // outputs 42\n</script>"]]}],"methods":[{"name":"bind","args":[],"short_doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#methods-bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."]],"doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#methods-bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."]],"examples":[]},{"name":"Model.define","args":[{"name":"options","type":["Object"],"short_doc":[["para","Describes the configuration options of the new model type."]],"doc":[["para","Describes the configuration options of the new model type."]]},{"name":"options.id","type":["String"],"short_doc":[["para","The name of the field which acts as the identifier of the model. The identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."]],"doc":[["para","The name of the field which acts as the identifier of the model. The identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."]]},{"name":"options.fields","type":["Object","Array"],"short_doc":[["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."]],"doc":[["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."]]},{"name":"options.fields.fieldName.defaultValue","type":[],"short_doc":[["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."]],"doc":[["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."]]},{"name":"options.fields.fieldName.editable","type":["Boolean"],"short_doc":[["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."]],"doc":[["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."]]},{"name":"options.fields.fieldName.nullable","type":["Boolean"],"short_doc":[["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."]],"doc":[["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."]]},{"name":"options.fields.fieldName.parse","type":["Function"],"short_doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]]},{"name":"options.fields.fieldName.type","type":["String"],"short_doc":[["para","Specifies the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."]],"doc":[["para","Specifies the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."]]},{"name":"options.fields.fieldName.from","type":["String"],"short_doc":[["para","Specifies the field of the original record which value to be used for population of the Model field."]],"doc":[["para","Specifies the field of the original record which value to be used for population of the Model field."]]},{"name":"options.fields.fieldName.validation","type":["Object"],"short_doc":[["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."]],"doc":[["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."]]}],"short_doc":[["para","Defines a new ",["inlinecode","Model"]," type using the provided options. The returned value inherits from the ",["inlinecode","kendo.data.Model"]," class."]],"doc":[["para","Defines a new ",["inlinecode","Model"]," type using the provided options. The returned value inherits from the ",["inlinecode","kendo.data.Model"]," class."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Describes the configuration options of the new model type."],["header",{"level":5},"options.id ",["inlinecode","String"]],["para","The name of the field which acts as the identifier of the model. The identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":5},"options.fields ",["inlinecode","Object|Array"]],["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."],["header",{"level":5},"options.fields.fieldName.defaultValue"],["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."],["header",{"level":5},"options.fields.fieldName.editable ",["inlinecode","Boolean"]],["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."],["header",{"level":5},"options.fields.fieldName.nullable ",["inlinecode","Boolean"]],["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."],["header",{"level":5},"options.fields.fieldName.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":5},"options.fields.fieldName.type ",["inlinecode","String"]],["para","Specifies the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."],["header",{"level":5},"options.fields.fieldName.from ",["inlinecode","String"]],["para","Specifies the field of the original record which value to be used for population of the Model field."],["header",{"level":5},"options.fields.fieldName.validation ",["inlinecode","Object"]],["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."],["header",{"level":4},"Example - define the fields of a model"],["code_block","<script>\nvar Product = kendo.data.Model.define( {\n    id: \"id\", // the identifier is the \"id\" field (declared below)\n    fields: {\n        /* name of the field */ name: {\n            type: \"string\", // the field is a string\n            validation: { // validation rules\n                required: true // the field is required\n            },\n            defaultValue: \"<empty>\" // default field value\n        },\n\n        /* name of the field */ price: {\n            type: \"number\", // the field is a number\n            validation: { // validation rules\n                required: true, // the field is required\n                min: 1 // the minimum value is 1\n            },\n            defaultValue: 99.99 // default field value\n        },\n\n        /* name of the field */ id: {\n            editable: false, // this field is not editable\n            nullable: true // a default value will not be assigned\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.get(\"price\")); // outputs \"99.99\" which is the default value\n</script>"]],"examples":[[["header",{"level":4},"Example - define the fields of a model"],["code_block","<script>\nvar Product = kendo.data.Model.define( {\n    id: \"id\", // the identifier is the \"id\" field (declared below)\n    fields: {\n        /* name of the field */ name: {\n            type: \"string\", // the field is a string\n            validation: { // validation rules\n                required: true // the field is required\n            },\n            defaultValue: \"<empty>\" // default field value\n        },\n\n        /* name of the field */ price: {\n            type: \"number\", // the field is a number\n            validation: { // validation rules\n                required: true, // the field is required\n                min: 1 // the minimum value is 1\n            },\n            defaultValue: 99.99 // default field value\n        },\n\n        /* name of the field */ id: {\n            editable: false, // this field is not editable\n            nullable: true // a default value will not be assigned\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.get(\"price\")); // outputs \"99.99\" which is the default value\n</script>"]]]},{"name":"editable","args":[{"name":"field","type":["String"],"short_doc":[["para","The field to check."]],"doc":[["para","The field to check."]]}],"short_doc":[["para","Determines if the specified field is editable or not."]],"doc":[["para","Determines if the specified field is editable or not."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if the field is editable; ",["inlinecode","false"]," otherwise."],["header",{"level":4},"Parameters"],["header",{"level":5},"field ",["inlinecode","String"]],["para","The field to check."],["header",{"level":4},"Example - check if a field is editable or not"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    fields: {\n        id: {\n            editable: false\n        },\n        name: {\n            editable: true\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.editable(\"id\")); // outputs \"false\"\nconsole.log(product.editable(\"name\")); // outputs \"true\"\n</script>"]],"examples":[[["header",{"level":4},"Example - check if a field is editable or not"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    fields: {\n        id: {\n            editable: false\n        },\n        name: {\n            editable: true\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.editable(\"id\")); // outputs \"false\"\nconsole.log(product.editable(\"name\")); // outputs \"true\"\n</script>"]]]},{"name":"get","args":[],"short_doc":[["para","Gets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-get"},"get"]," section of the\nObservableObject API reference."]],"doc":[["para","Gets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-get"},"get"]," section of the\nObservableObject API reference."]],"examples":[]},{"name":"isNew","args":[],"short_doc":[["para","Checks if the ",["inlinecode","Model"]," is new or not. The ",["inlinecode","id"]," field is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."]],"doc":[["para","Checks if the ",["inlinecode","Model"]," is new or not. The ",["inlinecode","id"]," field is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if the model is new; ",["inlinecode","false"]," otherwise."],["header",{"level":4},"Example - check if a model is new"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    id: \"productId\",\n    fields: {\n        productId: {\n            editable: false\n        }\n    }\n});\nvar productOne = new Product();\nconsole.log(productOne.isNew()); // outputs \"true\"\nvar productTwo = new Product({ productId: 1 });\nconsole.log(productTwo.isNew()); // outputs \"false\" because productId is set to 1\n</script>"]],"examples":[[["header",{"level":4},"Example - check if a model is new"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    id: \"productId\",\n    fields: {\n        productId: {\n            editable: false\n        }\n    }\n});\nvar productOne = new Product();\nconsole.log(productOne.isNew()); // outputs \"true\"\nvar productTwo = new Product({ productId: 1 });\nconsole.log(productTwo.isNew()); // outputs \"false\" because productId is set to 1\n</script>"]]]},{"name":"set","args":[],"short_doc":[["para","Sets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-set"},"set"]," section of the\nObservableObject API reference."]],"doc":[["para","Sets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-set"},"set"]," section of the\nObservableObject API reference."]],"examples":[]},{"name":"toJSON","args":[],"short_doc":[["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-toJSON"},"toJSON"]," section of the\nObservableObject API reference."]],"doc":[["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-toJSON"},"toJSON"]," section of the\nObservableObject API reference."]],"examples":[]}],"events":[{"name":"change event","args":[],"short_doc":[["para","Raised when a field value is updated via the ",["inlinecode","set"]," method. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-change"},"change"]," section of the\nObservableObject API reference."]],"doc":[["para","Raised when a field value is updated via the ",["inlinecode","set"]," method. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-change"},"change"]," section of the\nObservableObject API reference."]],"examples":[],"type":["Function"]},{"name":"get event","args":[],"short_doc":[["para","Raised when the ",["inlinecode","get"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-get"},"get"]," section of the\nObservableObject API reference."]],"doc":[["para","Raised when the ",["inlinecode","get"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-get"},"get"]," section of the\nObservableObject API reference."]],"examples":[],"type":["Function"]},{"name":"set event","args":[],"short_doc":[["para","Raised when the ",["inlinecode","set"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-set"},"set"]," section of the\nObservableObject API reference."]],"doc":[["para","Raised when the ",["inlinecode","set"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-set"},"set"]," section of the\nObservableObject API reference."]],"examples":[],"type":["Function"]}],"fields":[{"name":"uid","type":[],"short_doc":[["para","The unique identifier of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","ObservableObject"],". More info can be found in the ",["link",{"href":"/api/framework/observableobject#fields-uid"},"uid"]," section of the\nObservableObject API reference."]],"doc":[["para","The unique identifier of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","ObservableObject"],". More info can be found in the ",["link",{"href":"/api/framework/observableobject#fields-uid"},"uid"]," section of the\nObservableObject API reference."]]},{"name":"dirty","type":["Boolean"],"short_doc":[["para","Indicates whether the model is modified."]],"doc":[["para","Indicates whether the model is modified."]]},{"name":"Example - use the dirty field","type":[],"short_doc":[["code_block","<script>\nvar model = new kendo.data.Model({\n    name: \"John Doe\"\n});\nconsole.log(model.dirty); // outputs \"false\"\nmodel.set(\"name\", \"Jane Doe\");\nconsole.log(model.dirty); // outputs \"true\"\n</script>"]],"doc":[["code_block","<script>\nvar model = new kendo.data.Model({\n    name: \"John Doe\"\n});\nconsole.log(model.dirty); // outputs \"false\"\nmodel.set(\"name\", \"Jane Doe\");\nconsole.log(model.dirty); // outputs \"true\"\n</script>"]]}],"short_doc":[["para","The ",["inlinecode","Model"]," inherits from the ",["link",{"href":"/api/framework/observableobject"},"ObservableObject"]," and extends it with the ability to define schema - fields and methods. The\n",["link",{"href":"/api/framework/datasource"},"DataSource"]," contains instances of the ",["inlinecode","Model"]," when the ",["link",{"href":"/api/framework/datasource#schema.model-object"},"schema.model"]," setting is specified."]],"doc":[["para","The ",["inlinecode","Model"]," inherits from the ",["link",{"href":"/api/framework/observableobject"},"ObservableObject"]," and extends it with the ability to define schema - fields and methods. The\n",["link",{"href":"/api/framework/datasource"},"DataSource"]," contains instances of the ",["inlinecode","Model"]," when the ",["link",{"href":"/api/framework/datasource#schema.model-object"},"schema.model"]," setting is specified."],["header",{"level":2},"Configuration"],["para","To define a new model use the ",["inlinecode","Model.define"]," method."],["header",{"level":3},"Example - defining a model"],["code_block","<script>\nvar Person = kendo.data.Model.define( {\n    id: \"personId\", // the identifier of the model\n    fields: {\n        \"name\": {\n            type: \"string\"\n        },\n        \"age\": {\n            type: \"number\"\n        }\n    }\n});\nvar person = new Person( {\n    name: \"John Doe\",\n    age: 42\n});\nconsole.log(person.get(\"name\")); // outputs \"John Doe\"\nconsole.log(person.get(\"age\")); // outputs 42\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"uid"],["para","The unique identifier of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","ObservableObject"],". More info can be found in the ",["link",{"href":"/api/framework/observableobject#fields-uid"},"uid"]," section of the\nObservableObject API reference."],["header",{"level":3},"dirty ",["inlinecode","Boolean"]],["para","Indicates whether the model is modified."],["header",{"level":3},"Example - use the dirty field"],["code_block","<script>\nvar model = new kendo.data.Model({\n    name: \"John Doe\"\n});\nconsole.log(model.dirty); // outputs \"false\"\nmodel.set(\"name\", \"Jane Doe\");\nconsole.log(model.dirty); // outputs \"true\"\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#methods-bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."],["header",{"level":3},"Model.define"],["para","Defines a new ",["inlinecode","Model"]," type using the provided options. The returned value inherits from the ",["inlinecode","kendo.data.Model"]," class."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Describes the configuration options of the new model type."],["header",{"level":5},"options.id ",["inlinecode","String"]],["para","The name of the field which acts as the identifier of the model. The identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":5},"options.fields ",["inlinecode","Object|Array"]],["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."],["header",{"level":5},"options.fields.fieldName.defaultValue"],["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."],["header",{"level":5},"options.fields.fieldName.editable ",["inlinecode","Boolean"]],["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."],["header",{"level":5},"options.fields.fieldName.nullable ",["inlinecode","Boolean"]],["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."],["header",{"level":5},"options.fields.fieldName.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":5},"options.fields.fieldName.type ",["inlinecode","String"]],["para","Specifies the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."],["header",{"level":5},"options.fields.fieldName.from ",["inlinecode","String"]],["para","Specifies the field of the original record which value to be used for population of the Model field."],["header",{"level":5},"options.fields.fieldName.validation ",["inlinecode","Object"]],["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."],["header",{"level":4},"Example - define the fields of a model"],["code_block","<script>\nvar Product = kendo.data.Model.define( {\n    id: \"id\", // the identifier is the \"id\" field (declared below)\n    fields: {\n        /* name of the field */ name: {\n            type: \"string\", // the field is a string\n            validation: { // validation rules\n                required: true // the field is required\n            },\n            defaultValue: \"<empty>\" // default field value\n        },\n\n        /* name of the field */ price: {\n            type: \"number\", // the field is a number\n            validation: { // validation rules\n                required: true, // the field is required\n                min: 1 // the minimum value is 1\n            },\n            defaultValue: 99.99 // default field value\n        },\n\n        /* name of the field */ id: {\n            editable: false, // this field is not editable\n            nullable: true // a default value will not be assigned\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.get(\"price\")); // outputs \"99.99\" which is the default value\n</script>"],["header",{"level":3},"editable"],["para","Determines if the specified field is editable or not."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if the field is editable; ",["inlinecode","false"]," otherwise."],["header",{"level":4},"Parameters"],["header",{"level":5},"field ",["inlinecode","String"]],["para","The field to check."],["header",{"level":4},"Example - check if a field is editable or not"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    fields: {\n        id: {\n            editable: false\n        },\n        name: {\n            editable: true\n        }\n    }\n});\nvar product = new Product();\nconsole.log(product.editable(\"id\")); // outputs \"false\"\nconsole.log(product.editable(\"name\")); // outputs \"true\"\n</script>"],["header",{"level":3},"get"],["para","Gets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-get"},"get"]," section of the\nObservableObject API reference."],["header",{"level":3},"isNew"],["para","Checks if the ",["inlinecode","Model"]," is new or not. The ",["inlinecode","id"]," field is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if the model is new; ",["inlinecode","false"]," otherwise."],["header",{"level":4},"Example - check if a model is new"],["code_block","<script>\nvar Product = kendo.data.Model.define({\n    id: \"productId\",\n    fields: {\n        productId: {\n            editable: false\n        }\n    }\n});\nvar productOne = new Product();\nconsole.log(productOne.isNew()); // outputs \"true\"\nvar productTwo = new Product({ productId: 1 });\nconsole.log(productTwo.isNew()); // outputs \"false\" because productId is set to 1\n</script>"],["header",{"level":3},"set"],["para","Sets the value of the specified field. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-set"},"set"]," section of the\nObservableObject API reference."],["header",{"level":3},"toJSON"],["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","Model"],". Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#methods-toJSON"},"toJSON"]," section of the\nObservableObject API reference."],["header",{"level":2},"Events"],["header",{"level":3},"change event"],["para","Raised when a field value is updated via the ",["inlinecode","set"]," method. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-change"},"change"]," section of the\nObservableObject API reference."],["header",{"level":3},"get event"],["para","Raised when the ",["inlinecode","get"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-get"},"get"]," section of the\nObservableObject API reference."],["header",{"level":3},"set event"],["para","Raised when the ",["inlinecode","set"]," method is invoked. Inherited from ",["inlinecode","kendo.data.ObservableObject"],". Examples and more info can be found in the ",["link",{"href":"/api/framework/observableobject#events-set"},"set"]," section of the\nObservableObject API reference."]]},"kendo.data.Node":{"file":"api/framework/node.md","name":"kendo.data.Node","config":[],"methods":[{"name":"append","args":[{"name":"model","type":["Object","kendo.data.Node"],"short_doc":[["para","The data for the new item"]],"doc":[["para","The data for the new item"]]}],"short_doc":[["para","Appends a new item to the children data source, and initializes it if necessary."]],"doc":[["para","Appends a new item to the children data source, and initializes it if necessary."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.Node"]],["para","The data for the new item"],["header",{"level":4},"Example - append child nodes"],["code_block","<script>\nvar parent = new kendo.data.Node({ text: \"Parent\" });\nparent.append({ text: \"Child\" });\nconsole.log(parent.children.data().length); // outputs \"1\"\nvar child = parent.children.at(0);\nconsole.log(child.text); // outputs \"Child\"\n</script>"]],"examples":[[["header",{"level":4},"Example - append child nodes"],["code_block","<script>\nvar parent = new kendo.data.Node({ text: \"Parent\" });\nparent.append({ text: \"Child\" });\nconsole.log(parent.children.data().length); // outputs \"1\"\nvar child = parent.children.at(0);\nconsole.log(child.text); // outputs \"Child\"\n</script>"]]]},{"name":"level","args":[],"short_doc":[["para","Gets the current nesting level of the node within the data source."]],"doc":[["para","Gets the current nesting level of the node within the data source."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the zero based level of the node."],["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    data: [\n        {\n            id: 1,\n            text: \"Root\",\n            items: [\n                { id: 2, text: \"Child\" }\n            ]\n        }\n    ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.level()); // outputs \"0\"\nroot.load(); // Load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.level()); // outputs \"1\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    data: [\n        {\n            id: 1,\n            text: \"Root\",\n            items: [\n                { id: 2, text: \"Child\" }\n            ]\n        }\n    ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.level()); // outputs \"0\"\nroot.load(); // Load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.level()); // outputs \"1\"\n</script>"]]]},{"name":"load","args":[],"short_doc":[["para","Loads the child nodes in the child data source, supplying the ",["inlinecode","id"]," of the Node to the request."]],"doc":[["para","Loads the child nodes in the child data source, supplying the ",["inlinecode","id"]," of the Node to the request."],["header",{"level":4},"Example - load the child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - load the child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n});\n</script>"]]]},{"name":"loaded","args":[],"short_doc":[["para","Gets or sets the loaded flag of the Node. Setting the loaded flag to ",["inlinecode","false"]," allows reloading of child items."]],"doc":[["para","Gets or sets the loaded flag of the Node. Setting the loaded flag to ",["inlinecode","false"]," allows reloading of child items."],["header",{"level":4},"Example - reloading child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\n\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n  node.loaded(false); // clear the loaded flag\n  node.load(); // load the child nodes again\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - reloading child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\n\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n  node.loaded(false); // clear the loaded flag\n  node.load(); // load the child nodes again\n});\n</script>"]]]},{"name":"parentNode","args":[],"short_doc":[["para","Gets the parent node."]],"doc":[["para","Gets the parent node."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Node"]," the parent of the node; ",["inlinecode","null"]," if the node is a root node or doesn't have a parent."],["header",{"level":4},"Example - get the parent node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n   data: [\n       {\n           id: 1,\n           text: \"Root\",\n           items: [\n               { id: 2, text: \"Child\" }\n           ]\n       }\n   ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.parentNode()); // outputs \"null\"\nroot.load(); // load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.parentNode().text); // outputs \"Root\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the parent node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n   data: [\n       {\n           id: 1,\n           text: \"Root\",\n           items: [\n               { id: 2, text: \"Child\" }\n           ]\n       }\n   ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.parentNode()); // outputs \"null\"\nroot.load(); // load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.parentNode().text); // outputs \"Root\"\n</script>"]]]}],"events":[],"fields":[{"name":"children","type":[],"short_doc":[["para","The child ",["inlinecode","kendo.data.HierarchicalDataSource"]," of the node. This field is initialized lazily, if the ",["inlinecode","hasChildren"]," field is set,\nor when the ",["link",{"href":"#methods-load"},"load"]," or ",["link",{"href":"#methods-append"},"append"]," methods have been called."]],"doc":[["para","The child ",["inlinecode","kendo.data.HierarchicalDataSource"]," of the node. This field is initialized lazily, if the ",["inlinecode","hasChildren"]," field is set,\nor when the ",["link",{"href":"#methods-load"},"load"]," or ",["link",{"href":"#methods-append"},"append"]," methods have been called."],["header",{"level":4},"Example - get the child nodes"],["code_block","<script>\nvar parent = new kendo.data.Node({ text: \"Parent\" });\nparent.append({ text: \"Child\" });\nconsole.log(parent.children.data().length); // outputs \"1\"\nvar child = parent.children.at(0);\nconsole.log(child.text); // outputs \"Child\"\n</script>"]]}],"short_doc":[["para","The ",["inlinecode","Node"]," is an extended type of ",["link",{"href":"/api/framework/model"},"Model"]," that works with hierarchical data. The ",["link",{"href":"/api/framework/hierarchicaldatasource"},"HierarchicalDataSource"]," contains instances of the ",["inlinecode","Node"]," type."]],"doc":[["para","The ",["inlinecode","Node"]," is an extended type of ",["link",{"href":"/api/framework/model"},"Model"]," that works with hierarchical data. The ",["link",{"href":"/api/framework/hierarchicaldatasource"},"HierarchicalDataSource"]," contains instances of the ",["inlinecode","Node"]," type."],["header",{"level":2},"Fields"],["para","See the ",["link",{"href":"/api/framework/model#fields"},"Model fields"]," for all inherited fields."],["header",{"level":3},"children"],["para","The child ",["inlinecode","kendo.data.HierarchicalDataSource"]," of the node. This field is initialized lazily, if the ",["inlinecode","hasChildren"]," field is set,\nor when the ",["link",{"href":"#methods-load"},"load"]," or ",["link",{"href":"#methods-append"},"append"]," methods have been called."],["header",{"level":4},"Example - get the child nodes"],["code_block","<script>\nvar parent = new kendo.data.Node({ text: \"Parent\" });\nparent.append({ text: \"Child\" });\nconsole.log(parent.children.data().length); // outputs \"1\"\nvar child = parent.children.at(0);\nconsole.log(child.text); // outputs \"Child\"\n</script>"],["header",{"level":2},"Methods"],["para","See the ",["link",{"href":"/api/framework/model#methods"},"Model methods"]," for all inherited methods."],["header",{"level":3},"append"],["para","Appends a new item to the children data source, and initializes it if necessary."],["header",{"level":4},"Parameters"],["header",{"level":5},"model ",["inlinecode","Object|kendo.data.Node"]],["para","The data for the new item"],["header",{"level":4},"Example - append child nodes"],["code_block","<script>\nvar parent = new kendo.data.Node({ text: \"Parent\" });\nparent.append({ text: \"Child\" });\nconsole.log(parent.children.data().length); // outputs \"1\"\nvar child = parent.children.at(0);\nconsole.log(child.text); // outputs \"Child\"\n</script>"],["header",{"level":3},"level"],["para","Gets the current nesting level of the node within the data source."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the zero based level of the node."],["header",{"level":4},"Example - get the level of the node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    data: [\n        {\n            id: 1,\n            text: \"Root\",\n            items: [\n                { id: 2, text: \"Child\" }\n            ]\n        }\n    ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.level()); // outputs \"0\"\nroot.load(); // Load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.level()); // outputs \"1\"\n</script>"],["header",{"level":3},"load"],["para","Loads the child nodes in the child data source, supplying the ",["inlinecode","id"]," of the Node to the request."],["header",{"level":4},"Example - load the child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n});\n</script>"],["header",{"level":3},"loaded"],["para","Gets or sets the loaded flag of the Node. Setting the loaded flag to ",["inlinecode","false"]," allows reloading of child items."],["header",{"level":4},"Example - reloading child nodes"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/Employees\",\n            dataType: \"jsonp\"\n        }\n    },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\n\ndataSource.fetch(function() {\n  var node = dataSource.at(0);\n  node.load(); // load the child nodes\n  node.loaded(false); // clear the loaded flag\n  node.load(); // load the child nodes again\n});\n</script>"],["header",{"level":3},"parentNode"],["para","Gets the parent node."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Node"]," the parent of the node; ",["inlinecode","null"]," if the node is a root node or doesn't have a parent."],["header",{"level":4},"Example - get the parent node"],["code_block","<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n   data: [\n       {\n           id: 1,\n           text: \"Root\",\n           items: [\n               { id: 2, text: \"Child\" }\n           ]\n       }\n   ]\n});\ndataSource.read();\nvar root = dataSource.get(1);\nconsole.log(root.parentNode()); // outputs \"null\"\nroot.load(); // load child nodes\nvar child = dataSource.get(2);\nconsole.log(child.parentNode().text); // outputs \"Root\"\n</script>"],["header",{"level":2},"Events"],["para","See the ",["link",{"href":"/api/framework/model#events"},"Model events"]," for all inherited events."]]},"kendo.Observable":{"file":"api/framework/observable.md","name":"kendo.Observable","config":[],"methods":[{"name":"bind","args":[{"name":"eventName","type":["String"],"short_doc":[["para","The name of the event."]],"doc":[["para","The name of the event."]]},{"name":"handler","type":["Function"],"short_doc":[["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]]],"doc":[["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]]]}],"short_doc":[["para","Attaches a handler to an event."]],"doc":[["para","Attaches a handler to an event."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]],["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.sender === obj); // outputs \"true\"\n    console.log(this === obj); // also outputs \"true\"\n});\nobj.trigger(\"myevent\"); // causes the handler to be executed\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.sender === obj); // outputs \"true\"\n    console.log(this === obj); // also outputs \"true\"\n});\nobj.trigger(\"myevent\"); // causes the handler to be executed\n</script>"]]]},{"name":"one","args":[{"name":"eventName","type":["String"],"short_doc":[["para","The name of the event."]],"doc":[["para","The name of the event."]]},{"name":"handler","type":["Function"],"short_doc":[["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]]],"doc":[["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]]]}],"short_doc":[["para","Attaches a handler to an event. The handler is executed only once."]],"doc":[["para","Attaches a handler to an event. The handler is executed only once."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]],["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nobj.one(\"myevent\", function() {\n    numberOfCalls ++; // increment the counter every time the handler is executed\n});\nobj.trigger(\"myevent\"); // fire the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nobj.one(\"myevent\", function() {\n    numberOfCalls ++; // increment the counter every time the handler is executed\n});\nobj.trigger(\"myevent\"); // fire the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"]]]},{"name":"trigger","args":[{"name":"eventName","type":["String"],"short_doc":[["para","The name of the event to trigger."]],"doc":[["para","The name of the event to trigger."]]},{"name":"eventData","type":["Object"],"short_doc":[["para","Optional event data which will be passed as an argument to the event handlers."]],"doc":[["para","Optional event data which will be passed as an argument to the event handlers."]]}],"short_doc":[["para","Executes all handlers attached to the given event."]],"doc":[["para","Executes all handlers attached to the given event."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event to trigger."],["header",{"level":5},"eventData ",["inlinecode","Object"]],["para","Optional event data which will be passed as an argument to the event handlers."],["header",{"level":4},"Example - trigger an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.data); // outputs \"data\"\n});\nobj.trigger(\"myevent\", { data: \"data\" });\n</script>"]],"examples":[[["header",{"level":4},"Example - trigger an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.data); // outputs \"data\"\n});\nobj.trigger(\"myevent\", { data: \"data\" });\n</script>"]]]},{"name":"unbind","args":[{"name":"eventName","type":["String"],"short_doc":[["para","The name of the event. If not specified all handlers of all events will be removed."]],"doc":[["para","The name of the event. If not specified all handlers of all events will be removed."]]},{"name":"handler","type":["Function"],"short_doc":[["para","The handler which should no longer be executed. If not specified all handlers listening to that event will be removed."]],"doc":[["para","The handler which should no longer be executed. If not specified all handlers listening to that event will be removed."]]}],"short_doc":[["para","Remove a previously attached event handler."]],"doc":[["para","Remove a previously attached event handler."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]," ",["em","(optional)"]],["para","The name of the event. If not specified all handlers of all events will be removed."],["header",{"level":5},"handler ",["inlinecode","Function"]," ",["em","(optional)"]],["para","The handler which should no longer be executed. If not specified all handlers listening to that event will be removed."],["header",{"level":4},"Example"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nfunction handler(e) {\n    numberOfCalls ++;\n}\nobj.bind(\"myevent\", handler); // subscribe to the event\nobj.trigger(\"myevent\"); // fire the event\nobj.unbind(\"myevent\", handler); // unsubscribe from the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nfunction handler(e) {\n    numberOfCalls ++;\n}\nobj.bind(\"myevent\", handler); // subscribe to the event\nobj.trigger(\"myevent\"); // fire the event\nobj.unbind(\"myevent\", handler); // unsubscribe from the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","Provides support for firing events. Inherits from ",["link",{"href":"/api/framework/class"},"kendo.Class"],"."]],"doc":[["para","Provides support for firing events. Inherits from ",["link",{"href":"/api/framework/class"},"kendo.Class"],"."],["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Attaches a handler to an event."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]],["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.sender === obj); // outputs \"true\"\n    console.log(this === obj); // also outputs \"true\"\n});\nobj.trigger(\"myevent\"); // causes the handler to be executed\n</script>"],["header",{"level":3},"one"],["para","Attaches a handler to an event. The handler is executed only once."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data."],["blockquote",["para","Important: The context (",["inlinecode","this"],") of the ",["inlinecode","handler"]," function is set to the observable object itself."]],["header",{"level":4},"Example - subscribing to an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nobj.one(\"myevent\", function() {\n    numberOfCalls ++; // increment the counter every time the handler is executed\n});\nobj.trigger(\"myevent\"); // fire the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"],["header",{"level":3},"trigger"],["para","Executes all handlers attached to the given event."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event to trigger."],["header",{"level":5},"eventData ",["inlinecode","Object"]],["para","Optional event data which will be passed as an argument to the event handlers."],["header",{"level":4},"Example - trigger an event"],["code_block","<script>\nvar obj = new kendo.Observable();\nobj.bind(\"myevent\", function(e) {\n    console.log(e.data); // outputs \"data\"\n});\nobj.trigger(\"myevent\", { data: \"data\" });\n</script>"],["header",{"level":3},"unbind"],["para","Remove a previously attached event handler."],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]," ",["em","(optional)"]],["para","The name of the event. If not specified all handlers of all events will be removed."],["header",{"level":5},"handler ",["inlinecode","Function"]," ",["em","(optional)"]],["para","The handler which should no longer be executed. If not specified all handlers listening to that event will be removed."],["header",{"level":4},"Example"],["code_block","<script>\nvar obj = new kendo.Observable();\nvar numberOfCalls = 0;\nfunction handler(e) {\n    numberOfCalls ++;\n}\nobj.bind(\"myevent\", handler); // subscribe to the event\nobj.trigger(\"myevent\"); // fire the event\nobj.unbind(\"myevent\", handler); // unsubscribe from the event\nobj.trigger(\"myevent\"); // fire the event\nconsole.log(numberOfCalls); // outputs \"1\"\n</script>"]]},"kendo.data.ObservableArray":{"file":"api/framework/observablearray.md","name":"kendo.data.ObservableArray","config":[],"methods":[{"name":"bind","args":[{"name":"eventName","type":["String"],"short_doc":[["para","The name of the event."]],"doc":[["para","The name of the event."]]},{"name":"handler","type":["Function"],"short_doc":[["para","The function which will be invoked when the event is raised."]],"doc":[["para","The function which will be invoked when the event is raised."]]}],"short_doc":[["para","Attaches an event handler for the specified event."]],"doc":[["para","Attaches an event handler for the specified event."],["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\narray.bind(\"change\", function(e) {\n    console.log(\"changed\");\n});\narray.push(3); // raises the \"change\" event and the handler outputs \"changed\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","The function which will be invoked when the event is raised."]],"examples":[[["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\narray.bind(\"change\", function(e) {\n    console.log(\"changed\");\n});\narray.push(3); // raises the \"change\" event and the handler outputs \"changed\"\n</script>"]]]},{"name":"join","args":[{"name":"separator","type":["String"],"short_doc":[["para","Specifies the string to separate each item of the array. If omitted the array items are\nseparated with a comma (",["inlinecode",","],")"]],"doc":[["para","Specifies the string to separate each item of the array. If omitted the array items are\nseparated with a comma (",["inlinecode",","],")"]]}],"short_doc":[["para","Joins all items of an ",["inlinecode","ObservableArray"]," into a string. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/join"},"Array.prototype.join"],"."]],"doc":[["para","Joins all items of an ",["inlinecode","ObservableArray"]," into a string. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/join"},"Array.prototype.join"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"separator ",["inlinecode","String"]],["para","Specifies the string to separate each item of the array. If omitted the array items are\nseparated with a comma (",["inlinecode",","],")"],["header",{"level":4},"Example"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nconsole.log(array.join(\"-\")); // outputs \"1-2-3\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nconsole.log(array.join(\"-\")); // outputs \"1-2-3\"\n</script>"]]]},{"name":"parent","args":[],"short_doc":[["para","Gets the parent of the array if such parent exists."]],"doc":[["para","Gets the parent of the array if such parent exists."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the parent of the array; ",["inlinecode","undefined"]," if the array is not nested and doesn't have a parent."],["header",{"level":4},"Example - get the parent"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\nconsole.log(array.parent()); // outputs \"undefined\"\nvar observable = kendo.observable({ numbers: [1, 2] });\nvar numbers = observable.get(\"numbers\");\nconsole.log(numbersperson.parent() === observable); // outputs \"true\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the parent"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\nconsole.log(array.parent()); // outputs \"undefined\"\nvar observable = kendo.observable({ numbers: [1, 2] });\nvar numbers = observable.get(\"numbers\");\nconsole.log(numbersperson.parent() === observable); // outputs \"true\"\n</script>"]]]},{"name":"pop","args":[],"short_doc":[["para","Removes the last item from an array and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/pop"},"Array.prototype.pop"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","pop"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the removed item."]]],"doc":[["para","Removes the last item from an array and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/pop"},"Array.prototype.pop"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","pop"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the removed item."]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the item which was removed."],["header",{"level":4},"Example - remove the last item from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar result = array.pop();\nconsole.log(array.length); // outputs \"0\"\nconsole.log(result.get(\"name\")); // outputs \"John Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - remove the last item from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar result = array.pop();\nconsole.log(array.length); // outputs \"0\"\nconsole.log(result.get(\"name\")); // outputs \"John Doe\"\n</script>"]]]},{"name":"push","args":[{"name":"item1, ..., itemN","type":[],"short_doc":[["para","The item(s) to append to the array."]],"doc":[["para","The item(s) to append to the array."]]}],"short_doc":[["para","Appends the given items to the array and returns the new length of the array. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/push"},"Array.prototype.push"],".\nThe new items are wrapped as ",["inlinecode","ObservableObject"]," if they are complex objects."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","push"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the appended items."]]],"doc":[["para","Appends the given items to the array and returns the new length of the array. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/push"},"Array.prototype.push"],".\nThe new items are wrapped as ",["inlinecode","ObservableObject"]," if they are complex objects."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","push"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the appended items."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the new length of the array."],["header",{"level":4},"Parameters"],["header",{"level":5},"item1, ..., itemN"],["para","The item(s) to append to the array."],["header",{"level":4},"Example - append an item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar length = array.push({ name: \"Jane Doe\" });\nconsole.log(length); // outputs \"2\"\nconsole.log(array[1] instanceof kendo.data.ObservableObject); // outputs \"true\"\nconsole.log(array[1].get(\"name\")); // outputs \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - append more than one item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([ 1 ]);\nvar length = array.push(2, 3);\nconsole.log(length); // outputs \"3\"\nconsole.log(array[1]); // outputs \"2\"\n</script>"]],"examples":[[["header",{"level":4},"Example - append an item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar length = array.push({ name: \"Jane Doe\" });\nconsole.log(length); // outputs \"2\"\nconsole.log(array[1] instanceof kendo.data.ObservableObject); // outputs \"true\"\nconsole.log(array[1].get(\"name\")); // outputs \"Jane Doe\"\n</script>"]],[["header",{"level":4},"Example - append more than one item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([ 1 ]);\nvar length = array.push(2, 3);\nconsole.log(length); // outputs \"3\"\nconsole.log(array[1]); // outputs \"2\"\n</script>"]]]},{"name":"slice","args":[{"name":"begin","type":["Number"],"short_doc":[["para","Zero-based index at which to begin extraction."]],"doc":[["para","Zero-based index at which to begin extraction."]]},{"name":"end","type":["Number"],"short_doc":[["para","Zero-based index at which to end extraction. If ",["inlinecode","end"]," is omitted, ",["inlinecode","slice"]," extracts to the\nend of the sequence."]],"doc":[["para","Zero-based index at which to end extraction. If ",["inlinecode","end"]," is omitted, ",["inlinecode","slice"]," extracts to the\nend of the sequence."]]}],"short_doc":[["para","Returns a one-level deep copy of a portion of an array. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/slice"},"Array.prototype.slice"],".\nThe result of the ",["inlinecode","slice"]," method is ",["strong","not"]," an instance of ",["inlinecode","ObvservableArray"],". It is a regular JavaScript Array object."],["blockquote",["para",["strong","Important:"]," The ",["inlinecode","slice"]," method does not modify the original ",["inlinecode","ObservableArray"],"."]]],"doc":[["para","Returns a one-level deep copy of a portion of an array. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/slice"},"Array.prototype.slice"],".\nThe result of the ",["inlinecode","slice"]," method is ",["strong","not"]," an instance of ",["inlinecode","ObvservableArray"],". It is a regular JavaScript Array object."],["blockquote",["para",["strong","Important:"]," The ",["inlinecode","slice"]," method does not modify the original ",["inlinecode","ObservableArray"],"."]],["header",{"level":4},"Parameters"],["header",{"level":5},"begin ",["inlinecode","Number"]],["para","Zero-based index at which to begin extraction."],["header",{"level":5},"end ",["inlinecode","Number"]],["para","Zero-based index at which to end extraction. If ",["inlinecode","end"]," is omitted, ",["inlinecode","slice"]," extracts to the\nend of the sequence."],["header",{"level":4},"Example - slice items from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar firstAndSecond = array.slice(0, 2);\nconsole.log(firstAndSecond); // outputs [1, 2]\n</script>"]],"examples":[[["header",{"level":4},"Example - slice items from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar firstAndSecond = array.slice(0, 2);\nconsole.log(firstAndSecond); // outputs [1, 2]\n</script>"]]]},{"name":"splice","args":[{"name":"index","type":["Number"],"short_doc":[["para","Index at which to start changing the array. If negative, will begin that many elements from the end."]],"doc":[["para","Index at which to start changing the array. If negative, will begin that many elements from the end."]]},{"name":"howMany","type":["Number"],"short_doc":[["para","An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item."]],"doc":[["para","An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item."]]},{"name":"item1, ..., itemN","type":[],"short_doc":[["para","The items to add to the array. If you don't specify any items, ",["inlinecode","splice"]," simply removes items from the array."]],"doc":[["para","The items to add to the array. If you don't specify any items, ",["inlinecode","splice"]," simply removes items from the array."]]}],"short_doc":[["para","Changes an ",["inlinecode","ObservableArray"],", by adding new items while removing old items. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/splice"},"Array.prototype.splice"]],["blockquote",["para",["strong","Important"],": The ",["inlinecode","splice"]," method raises the ",["link",{"href":"#events-change"},"change"]," event once or twice depending on the change. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""]," (if items are added) or ",["inlinecode","\"remove"]," (if items are removed). The ",["inlinecode","items"]," field of the event argument is the array that\ncontains the appended items or removed items. In the above example the ",["inlinecode","change"]," event will be raised two times - first because \"baseball\" is removed and\nsecond because \"tennis\" and \"hockey\" are added."]]],"doc":[["para","Changes an ",["inlinecode","ObservableArray"],", by adding new items while removing old items. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/splice"},"Array.prototype.splice"]],["blockquote",["para",["strong","Important"],": The ",["inlinecode","splice"]," method raises the ",["link",{"href":"#events-change"},"change"]," event once or twice depending on the change. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""]," (if items are added) or ",["inlinecode","\"remove"]," (if items are removed). The ",["inlinecode","items"]," field of the event argument is the array that\ncontains the appended items or removed items. In the above example the ",["inlinecode","change"]," event will be raised two times - first because \"baseball\" is removed and\nsecond because \"tennis\" and \"hockey\" are added."]],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," containing the removed items. The result of the ",["inlinecode","splice"]," method is ",["strong","not"]," an instance of ",["inlinecode","ObvservableArray"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","Index at which to start changing the array. If negative, will begin that many elements from the end."],["header",{"level":5},"howMany ",["inlinecode","Number"]],["para","An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item."],["header",{"level":5},"item1, ..., itemN ",["em","(optional)"]],["para","The items to add to the array. If you don't specify any items, ",["inlinecode","splice"]," simply removes items from the array."],["header",{"level":4},"Example - splice array items"],["code_block","<script>\nvar sports = new kendo.data.ObservableArray([\"football\", \"basketball\", \"volleyball\"]);\nvar removed = sports.splice(1, 1, \"tennis\", \"hockey\");\nconsole.log(removed); // outputs [\"basketball\"]\nconsole.log(sports); // outputs [\"football\", \"tennis\", \"hockey\", \"volleyball\"]\n</script>"]],"examples":[[["header",{"level":4},"Example - splice array items"],["code_block","<script>\nvar sports = new kendo.data.ObservableArray([\"football\", \"basketball\", \"volleyball\"]);\nvar removed = sports.splice(1, 1, \"tennis\", \"hockey\");\nconsole.log(removed); // outputs [\"basketball\"]\nconsole.log(sports); // outputs [\"football\", \"tennis\", \"hockey\", \"volleyball\"]\n</script>"]]]},{"name":"shift","args":[],"short_doc":[["para","Removes the first item from an ",["inlinecode","ObvservableArray"]," and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/shift"},"Array.prototype.shift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","shift"]," method raises the ",["inlinecode","change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the removed item."]]],"doc":[["para","Removes the first item from an ",["inlinecode","ObvservableArray"]," and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/shift"},"Array.prototype.shift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","shift"]," method raises the ",["inlinecode","change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the removed item."]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the item which was removed."],["header",{"level":4},"Example - remove the first item"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar removed = array.shift();\nconsole.log(removed); // outputs \"1\"\nconsole.log(array.length); // outputs \"2\"\n</script>"]],"examples":[[["header",{"level":4},"Example - remove the first item"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar removed = array.shift();\nconsole.log(removed); // outputs \"1\"\nconsole.log(array.length); // outputs \"2\"\n</script>"]]]},{"name":"toJSON","args":[],"short_doc":[["para","Returns a JavaScript Array which represents the contents of the ",["inlinecode","ObservableArray"],"."]],"doc":[["para","Returns a JavaScript Array which represents the contents of the ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - return the raw array representation"],["code_block","<script>\nvar people = new kendo.data.ObservableArray([\n    { name: \"John Doe\" },\n    { name: \"Jane Doe\" }\n]);\nvar json = people.toJSON();\nconsole.log(JSON.stringify(json)); // outputs [{\"name\":\"John Doe\"},{\"name\":\"Jane Doe\"}]\n</script>"]],"examples":[[["header",{"level":4},"Example - return the raw array representation"],["code_block","<script>\nvar people = new kendo.data.ObservableArray([\n    { name: \"John Doe\" },\n    { name: \"Jane Doe\" }\n]);\nvar json = people.toJSON();\nconsole.log(JSON.stringify(json)); // outputs [{\"name\":\"John Doe\"},{\"name\":\"Jane Doe\"}]\n</script>"]]]},{"name":"unshift","args":[{"name":"item1, ..., itemN","type":[],"short_doc":[["para","The items to add to the beginning of the ",["inlinecode","ObservableArray"],"."]],"doc":[["para","The items to add to the beginning of the ",["inlinecode","ObservableArray"],"."]]}],"short_doc":[["para","Adds one or more items to the beginning of an ",["inlinecode","ObservableArray"]," and returns the new length.  Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift"},"Array.prototype.unshift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","unshift"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the new items."]]],"doc":[["para","Adds one or more items to the beginning of an ",["inlinecode","ObservableArray"]," and returns the new length.  Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift"},"Array.prototype.unshift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","unshift"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the new items."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the new length of the array."],["header",{"level":4},"Parameters"],["header",{"level":5},"item1, ..., itemN"],["para","The items to add to the beginning of the ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - add items to the beginning of an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([2, 3]);\nvar result = array.unshift(0, 1);\nconsole.log(result); // outputs \"4\"\nconsole.log(result); // outputs [0, 1, 2, 3]\n</script>"]],"examples":[[["header",{"level":4},"Example - add items to the beginning of an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([2, 3]);\nvar result = array.unshift(0, 1);\nconsole.log(result); // outputs \"4\"\nconsole.log(result); // outputs [0, 1, 2, 3]\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.action","type":["String"],"short_doc":[["para","Specifies the type of change. Possible values are: ",["inlinecode","\"add\""],"- items are added to the ",["inlinecode","ObservableArray"],", ",["inlinecode","\"itemchange\""]," - a field of an item changed, ",["inlinecode","\"remove\""]," - items are removed from the ",["inlinecode","ObservableArray"],"."]],"doc":[["para","Specifies the type of change. Possible values are: ",["inlinecode","\"add\""],"- items are added to the ",["inlinecode","ObservableArray"],", ",["inlinecode","\"itemchange\""]," - a field of an item changed, ",["inlinecode","\"remove\""]," - items are removed from the ",["inlinecode","ObservableArray"],"."]]},{"name":"e.index","type":["Number"],"short_doc":[["para","The index at which items are removed or added. Set to ",["inlinecode","undefined"]," if ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."]],"doc":[["para","The index at which items are removed or added. Set to ",["inlinecode","undefined"]," if ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."]]},{"name":"e.items","type":["Array"],"short_doc":[["para","The items which were changed."]],"doc":[["para","The items which were changed."]]},{"name":"e.field","type":["String"],"short_doc":[["para","The name of the field of an item that changed. Available only when ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."]],"doc":[["para","The name of the field of an item that changed. Available only when ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."]]}],"short_doc":[["para","Fired when the items of the ",["inlinecode","ObservableArray"]," change in some way."]],"doc":[["para","Fired when the items of the ",["inlinecode","ObservableArray"]," change in some way."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.action ",["inlinecode","String"]],["para","Specifies the type of change. Possible values are: ",["inlinecode","\"add\""],"- items are added to the ",["inlinecode","ObservableArray"],", ",["inlinecode","\"itemchange\""]," - a field of an item changed, ",["inlinecode","\"remove\""]," - items are removed from the ",["inlinecode","ObservableArray"],"."],["header",{"level":5},"e.index ",["inlinecode","Number"]],["para","The index at which items are removed or added. Set to ",["inlinecode","undefined"]," if ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."],["header",{"level":5},"e.items ",["inlinecode","Array"]],["para","The items which were changed."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field of an item that changed. Available only when ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."],["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\narray.bind(\"change\", function(e) {\n    console.log(e.action, e.index, e.items);\n});\narray.push(4, 5); // outputs \"add\", 3, [4, 5]\narray.pop(); // outputs \"remove\", 4, [5]\nvar people = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\npeople.bind(\"change\", function(e) {\n    console.log(e.action, e.field, e.items[0].get(\"name\"));\n});\npeople[0].set(\"name\", \"Jane Doe\"); // outputs \"itemchange\", \"name\", \"Jane Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\narray.bind(\"change\", function(e) {\n    console.log(e.action, e.index, e.items);\n});\narray.push(4, 5); // outputs \"add\", 3, [4, 5]\narray.pop(); // outputs \"remove\", 4, [5]\nvar people = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\npeople.bind(\"change\", function(e) {\n    console.log(e.action, e.field, e.items[0].get(\"name\"));\n});\npeople[0].set(\"name\", \"Jane Doe\"); // outputs \"itemchange\", \"name\", \"Jane Doe\"\n</script>"]]],"type":["Function"]}],"fields":[{"name":"length","type":[],"short_doc":[["para","An unsigned, 32-bit integer that specifies the number of items in an ",["inlinecode","ObservableArray"],"."]],"doc":[["para","An unsigned, 32-bit integer that specifies the number of items in an ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - iterating over ObservableArray"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nfor (var i = 0; i < array.length; i++) {\n    console.log(array[i]); // outputs the current item\n}\n</script>"]]}],"short_doc":[["para","The ",["inlinecode","ObservableArray"]," wraps an existing Array object with change tracking capabilities. It is used by ",["link",{"href":"/getting-started/framework/mvvm/overview"},"Kendo MVVM"]," and\nthe ",["link",{"href":"/getting-started/framework/datasource/overview"},"kendo.data.DataSource"],". Inherits from ",["link",{"href":"/api/framework/observable"},"kendo.Observable"],"."]],"doc":[["para","The ",["inlinecode","ObservableArray"]," wraps an existing Array object with change tracking capabilities. It is used by ",["link",{"href":"/getting-started/framework/mvvm/overview"},"Kendo MVVM"]," and\nthe ",["link",{"href":"/getting-started/framework/datasource/overview"},"kendo.data.DataSource"],". Inherits from ",["link",{"href":"/api/framework/observable"},"kendo.Observable"],"."],["header",{"level":2},"Configuration"],["para","To create a new ",["inlinecode","ObservableArray"],", use its constructor or the ",["inlinecode","kendo.observable"]," method."],["header",{"level":4},"Example - use the ObservableArray constructor"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([\n    { name: \"John Doe\" },\n    { name: \"Jane Doe\" }\n]);\nconsole.log(array[0].name); // outputs \"John Doe\"\nconsole.log(array.length); // outputs \"2\"\n</script>"],["header",{"level":4},"Example - use the kendo.observable method"],["code_block","<script>\nvar observable = kendo.observable({\n    people: [\n        { name: \"John Doe\" },\n        { name: \"Jane Doe\" }\n    ]\n});\nconsole.log(observable.people instanceof kendo.data.ObservableArray); // outputs \"true\"\n</script>"],["blockquote",["para",["strong","Important"],": The ",["inlinecode","kendo.data.ObservableArray"]," wraps its items ",["link",{"href":"/api/framework/observableobject"},"kendo.data.ObservableObject"]," instances (unless the items are of primitive type)."]],["header",{"level":4},"Example - array of complex and primitive Type"],["code_block","<script>\nvar complex = new kendo.data.ObservableArray([\n    { name: \"John Doe\" },\n    { name: \"Jane Doe\" }\n]);\nconsole.log(complex[0] instanceof kendo.data.ObservableObject); // outputs \"true\"\nvar primitive = new kendo.data.ObservableArray([\n    \"John Doe\", \"Jane Doe\"\n]);\nconsole.log(typeof (primitive[0]) ); // outputs \"string\"\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"length"],["para","An unsigned, 32-bit integer that specifies the number of items in an ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - iterating over ObservableArray"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nfor (var i = 0; i < array.length; i++) {\n    console.log(array[i]); // outputs the current item\n}\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Attaches an event handler for the specified event."],["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\narray.bind(\"change\", function(e) {\n    console.log(\"changed\");\n});\narray.push(3); // raises the \"change\" event and the handler outputs \"changed\"\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"eventName ",["inlinecode","String"]],["para","The name of the event."],["header",{"level":5},"handler ",["inlinecode","Function"]],["para","The function which will be invoked when the event is raised."],["header",{"level":3},"join"],["para","Joins all items of an ",["inlinecode","ObservableArray"]," into a string. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/join"},"Array.prototype.join"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"separator ",["inlinecode","String"]],["para","Specifies the string to separate each item of the array. If omitted the array items are\nseparated with a comma (",["inlinecode",","],")"],["header",{"level":4},"Example"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nconsole.log(array.join(\"-\")); // outputs \"1-2-3\"\n</script>"],["header",{"level":3},"parent"],["para","Gets the parent of the array if such parent exists."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the parent of the array; ",["inlinecode","undefined"]," if the array is not nested and doesn't have a parent."],["header",{"level":4},"Example - get the parent"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2]);\nconsole.log(array.parent()); // outputs \"undefined\"\nvar observable = kendo.observable({ numbers: [1, 2] });\nvar numbers = observable.get(\"numbers\");\nconsole.log(numbersperson.parent() === observable); // outputs \"true\"\n</script>"],["header",{"level":3},"pop"],["para","Removes the last item from an array and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/pop"},"Array.prototype.pop"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","pop"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the removed item."]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the item which was removed."],["header",{"level":4},"Example - remove the last item from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar result = array.pop();\nconsole.log(array.length); // outputs \"0\"\nconsole.log(result.get(\"name\")); // outputs \"John Doe\"\n</script>"],["header",{"level":3},"push"],["para","Appends the given items to the array and returns the new length of the array. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/push"},"Array.prototype.push"],".\nThe new items are wrapped as ",["inlinecode","ObservableObject"]," if they are complex objects."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","push"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is the array that contains the appended items."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the new length of the array."],["header",{"level":4},"Parameters"],["header",{"level":5},"item1, ..., itemN"],["para","The item(s) to append to the array."],["header",{"level":4},"Example - append an item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\nvar length = array.push({ name: \"Jane Doe\" });\nconsole.log(length); // outputs \"2\"\nconsole.log(array[1] instanceof kendo.data.ObservableObject); // outputs \"true\"\nconsole.log(array[1].get(\"name\")); // outputs \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - append more than one item to an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([ 1 ]);\nvar length = array.push(2, 3);\nconsole.log(length); // outputs \"3\"\nconsole.log(array[1]); // outputs \"2\"\n</script>"],["header",{"level":3},"slice"],["para","Returns a one-level deep copy of a portion of an array. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/slice"},"Array.prototype.slice"],".\nThe result of the ",["inlinecode","slice"]," method is ",["strong","not"]," an instance of ",["inlinecode","ObvservableArray"],". It is a regular JavaScript Array object."],["blockquote",["para",["strong","Important:"]," The ",["inlinecode","slice"]," method does not modify the original ",["inlinecode","ObservableArray"],"."]],["header",{"level":4},"Parameters"],["header",{"level":5},"begin ",["inlinecode","Number"]],["para","Zero-based index at which to begin extraction."],["header",{"level":5},"end ",["inlinecode","Number"]],["para","Zero-based index at which to end extraction. If ",["inlinecode","end"]," is omitted, ",["inlinecode","slice"]," extracts to the\nend of the sequence."],["header",{"level":4},"Example - slice items from an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar firstAndSecond = array.slice(0, 2);\nconsole.log(firstAndSecond); // outputs [1, 2]\n</script>"],["header",{"level":3},"splice"],["para","Changes an ",["inlinecode","ObservableArray"],", by adding new items while removing old items. Equivalent of\n",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/splice"},"Array.prototype.splice"]],["blockquote",["para",["strong","Important"],": The ",["inlinecode","splice"]," method raises the ",["link",{"href":"#events-change"},"change"]," event once or twice depending on the change. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""]," (if items are added) or ",["inlinecode","\"remove"]," (if items are removed). The ",["inlinecode","items"]," field of the event argument is the array that\ncontains the appended items or removed items. In the above example the ",["inlinecode","change"]," event will be raised two times - first because \"baseball\" is removed and\nsecond because \"tennis\" and \"hockey\" are added."]],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," containing the removed items. The result of the ",["inlinecode","splice"]," method is ",["strong","not"]," an instance of ",["inlinecode","ObvservableArray"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]],["para","Index at which to start changing the array. If negative, will begin that many elements from the end."],["header",{"level":5},"howMany ",["inlinecode","Number"]],["para","An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item."],["header",{"level":5},"item1, ..., itemN ",["em","(optional)"]],["para","The items to add to the array. If you don't specify any items, ",["inlinecode","splice"]," simply removes items from the array."],["header",{"level":4},"Example - splice array items"],["code_block","<script>\nvar sports = new kendo.data.ObservableArray([\"football\", \"basketball\", \"volleyball\"]);\nvar removed = sports.splice(1, 1, \"tennis\", \"hockey\");\nconsole.log(removed); // outputs [\"basketball\"]\nconsole.log(sports); // outputs [\"football\", \"tennis\", \"hockey\", \"volleyball\"]\n</script>"],["header",{"level":3},"shift"],["para","Removes the first item from an ",["inlinecode","ObvservableArray"]," and returns that item. Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/shift"},"Array.prototype.shift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","shift"]," method raises the ",["inlinecode","change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"remove\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the removed item."]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the item which was removed."],["header",{"level":4},"Example - remove the first item"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\nvar removed = array.shift();\nconsole.log(removed); // outputs \"1\"\nconsole.log(array.length); // outputs \"2\"\n</script>"],["header",{"level":3},"toJSON"],["para","Returns a JavaScript Array which represents the contents of the ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - return the raw array representation"],["code_block","<script>\nvar people = new kendo.data.ObservableArray([\n    { name: \"John Doe\" },\n    { name: \"Jane Doe\" }\n]);\nvar json = people.toJSON();\nconsole.log(JSON.stringify(json)); // outputs [{\"name\":\"John Doe\"},{\"name\":\"Jane Doe\"}]\n</script>"],["header",{"level":3},"unshift"],["para","Adds one or more items to the beginning of an ",["inlinecode","ObservableArray"]," and returns the new length.  Equivalent of ",["link",{"href":"http://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/unshift"},"Array.prototype.unshift"],"."],["blockquote",["para",["strong","Important"],": The ",["inlinecode","unshift"]," method raises the ",["link",{"href":"#events-change"},"change"]," event. The ",["inlinecode","action"]," field of the\nevent argument is set to ",["inlinecode","\"add\""],". The ",["inlinecode","items"]," field of the event argument is an array that\ncontains the new items."]],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the new length of the array."],["header",{"level":4},"Parameters"],["header",{"level":5},"item1, ..., itemN"],["para","The items to add to the beginning of the ",["inlinecode","ObservableArray"],"."],["header",{"level":4},"Example - add items to the beginning of an ",["inlinecode","ObservableArray"]],["code_block","<script>\nvar array = new kendo.data.ObservableArray([2, 3]);\nvar result = array.unshift(0, 1);\nconsole.log(result); // outputs \"4\"\nconsole.log(result); // outputs [0, 1, 2, 3]\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the items of the ",["inlinecode","ObservableArray"]," change in some way."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.action ",["inlinecode","String"]],["para","Specifies the type of change. Possible values are: ",["inlinecode","\"add\""],"- items are added to the ",["inlinecode","ObservableArray"],", ",["inlinecode","\"itemchange\""]," - a field of an item changed, ",["inlinecode","\"remove\""]," - items are removed from the ",["inlinecode","ObservableArray"],"."],["header",{"level":5},"e.index ",["inlinecode","Number"]],["para","The index at which items are removed or added. Set to ",["inlinecode","undefined"]," if ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."],["header",{"level":5},"e.items ",["inlinecode","Array"]],["para","The items which were changed."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field of an item that changed. Available only when ",["inlinecode","e.action"]," is ",["inlinecode","\"itemchange\""],"."],["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar array = new kendo.data.ObservableArray([1, 2, 3]);\narray.bind(\"change\", function(e) {\n    console.log(e.action, e.index, e.items);\n});\narray.push(4, 5); // outputs \"add\", 3, [4, 5]\narray.pop(); // outputs \"remove\", 4, [5]\nvar people = new kendo.data.ObservableArray([{ name: \"John Doe\" }]);\npeople.bind(\"change\", function(e) {\n    console.log(e.action, e.field, e.items[0].get(\"name\"));\n});\npeople[0].set(\"name\", \"Jane Doe\"); // outputs \"itemchange\", \"name\", \"Jane Doe\"\n</script>"]]},"kendo.data.ObservableObject":{"file":"api/framework/observableobject.md","name":"kendo.data.ObservableObject","config":[],"methods":[{"name":"bind","args":[],"short_doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the\nkendo.Observable API reference."]],"doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the\nkendo.Observable API reference."],["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the changed field once the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the changed field once the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"]]]},{"name":"get","args":[{"name":"name","type":["String"],"short_doc":[["para","The name of the field whose value is going to be returned."]],"doc":[["para","The name of the field whose value is going to be returned."]]}],"short_doc":[["para","Gets the value of the specified field."]],"doc":[["para","Gets the value of the specified field."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the value of the specified field."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the field whose value is going to be returned."],["header",{"level":4},"Example - get the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nvar name = observable.get(\"name\");\nconsole.log(name); //outputs \"John Doe\"\n</script>"],["header",{"level":4},"Example - get the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar name = observable.get(\"person.name\"); // use dot notation to denote nested fields\nconsole.log(name); //outputs \"John Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nvar name = observable.get(\"name\");\nconsole.log(name); //outputs \"John Doe\"\n</script>"]],[["header",{"level":4},"Example - get the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar name = observable.get(\"person.name\"); // use dot notation to denote nested fields\nconsole.log(name); //outputs \"John Doe\"\n</script>"]]]},{"name":"parent","args":[],"short_doc":[["para","Gets the parent of the object if such parent exists."]],"doc":[["para","Gets the parent of the object if such parent exists."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the parent of the object; ",["inlinecode","undefined"]," if the object is not nested and doesn't have a parent."],["header",{"level":4},"Example - get the parent object"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar person = observable.get(\"person\");\nconsole.log(observable.parent()); // outputs \"undefined\"\nconsole.log(person.parent() === observable); // outputs \"true\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the parent object"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar person = observable.get(\"person\");\nconsole.log(observable.parent()); // outputs \"undefined\"\nconsole.log(person.parent() === observable); // outputs \"true\"\n</script>"]]]},{"name":"set","args":[{"name":"name","type":["String"],"short_doc":[["para","The name of the field whose value is going to be returned."]],"doc":[["para","The name of the field whose value is going to be returned."]]},{"name":"value","type":["Number","String","Date","Object"],"short_doc":[["para","The new value of the field."]],"doc":[["para","The new value of the field."]]}],"short_doc":[["para","Sets the value of the specified field."]],"doc":[["para","Sets the value of the specified field."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the field whose value is going to be returned."],["header",{"level":5},"value ",["inlinecode","Number|String|Date|Object"]],["para","The new value of the field."],["header",{"level":4},"Example - set the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.set(\"name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"name\")); //outputs the new value \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - set the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nobservable.set(\"person.name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"person.name\")); //outputs the new value \"Jane Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - set the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.set(\"name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"name\")); //outputs the new value \"Jane Doe\"\n</script>"]],[["header",{"level":4},"Example - set the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nobservable.set(\"person.name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"person.name\")); //outputs the new value \"Jane Doe\"\n</script>"]]]},{"name":"toJSON","args":[],"short_doc":[["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","ObservableObject"],"."]],"doc":[["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," which contains only the fields of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Example"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar json = observable.toJSON();\nconsole.log(JSON.stringify(json)); // outputs {\"person\":{\"name\":\"John Doe\"}}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar json = observable.toJSON();\nconsole.log(JSON.stringify(json)); // outputs {\"person\":{\"name\":\"John Doe\"}}\n</script>"]]]}],"events":[{"name":"change event","args":[{"name":"e.field","type":["String"],"short_doc":[["para","The name of the field which has changed."]],"doc":[["para","The name of the field which has changed."]]}],"short_doc":[["para","Fired when a field value is updated via the ",["inlinecode","set"]," method."],["blockquote",["para","The ",["inlinecode","change"]," event is raised ",["strong","after"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the new value."]]],"doc":[["para","Fired when a field value is updated via the ",["inlinecode","set"]," method."],["blockquote",["para","The ",["inlinecode","change"]," event is raised ",["strong","after"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the new value."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which has changed."],["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"]]],"type":["Function"]},{"name":"get event","args":[{"name":"e.field","type":["String"],"short_doc":[["para","The name of the field which is retrieved."]],"doc":[["para","The name of the field which is retrieved."]]}],"short_doc":[["para","Fired when the ",["inlinecode","get"]," method is invoked."]],"doc":[["para","Fired when the ",["inlinecode","get"]," method is invoked."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which is retrieved."],["header",{"level":4},"Example - subscribe to the get event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"get\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.get(\"name\"); // raises the \"get\" event and the handler outputs \"name\"\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the get event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"get\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.get(\"name\"); // raises the \"get\" event and the handler outputs \"name\"\n</script>"]]],"type":["Function"]},{"name":"set event","args":[{"name":"e.field","type":["String"],"short_doc":[["para","The name of the field which is retrieved."]],"doc":[["para","The name of the field which is retrieved."]]},{"name":"e.value","type":["Number","String","Data","Object"],"short_doc":[["para","The new value."]],"doc":[["para","The new value."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","A function which may prevent the update of the value. Can be used to perform validation."]],"doc":[["para","A function which may prevent the update of the value. Can be used to perform validation."]]}],"short_doc":[["para","Fired when the ",["inlinecode","set"]," method is invoked."],["blockquote",["para","The ",["inlinecode","set"]," event is raised ",["strong","before"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the old value. Calling\n",["inlinecode","e.preventDefault"]," will prevent the update of the field and the ",["inlinecode","change"]," event will not be raised."]]],"doc":[["para","Fired when the ",["inlinecode","set"]," method is invoked."],["blockquote",["para","The ",["inlinecode","set"]," event is raised ",["strong","before"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the old value. Calling\n",["inlinecode","e.preventDefault"]," will prevent the update of the field and the ",["inlinecode","change"]," event will not be raised."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which is retrieved."],["header",{"level":5},"e.value ",["inlinecode","Number|String|Data|Object"]],["para","The new value."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","A function which may prevent the update of the value. Can be used to perform validation."],["header",{"level":4},"Example - subscribe to the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"set\" event and the handler outputs \"name\"\n</script>"],["header",{"level":4},"Example - perform validation by preventing the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    if (e.field == \"name\") {\n        if (!e.value) {\n            // avoid emtpy value for the \"name\" field\n            e.preventDefault();\n        }\n    }\n});\nobservable.set(\"name\", \"Jane Doe\");\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"set\" event and the handler outputs \"name\"\n</script>"]],[["header",{"level":4},"Example - perform validation by preventing the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    if (e.field == \"name\") {\n        if (!e.value) {\n            // avoid emtpy value for the \"name\" field\n            e.preventDefault();\n        }\n    }\n});\nobservable.set(\"name\", \"Jane Doe\");\n</script>"]]],"type":["Function"]}],"fields":[{"name":"uid","type":["String"],"short_doc":[["para","The unique identifier of the ",["inlinecode","ObservableObject"],"."]],"doc":[["para","The unique identifier of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Example - using the uid field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nconsole.log(observable.uid); // outputs \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\" where \"x\" is a number or letter\n</script>"]]}],"short_doc":[["para","The ",["inlinecode","kendo.data.ObservableObject"]," is the building block of ",["link",{"href":"/getting-started/framework/mvvm/overview"},"Kendo MVVM"],". In addition\nthe items of the ",["link",{"href":"/getting-started/framework/datasource/overview"},"kendo.dat.DataSource"]," are ",["inlinecode","kendo.data.ObservableObject"]," instances."],["para","Inherits from ",["link",{"href":"/api/framework/observable"},"kendo.Observable"],"."]],"doc":[["para","The ",["inlinecode","kendo.data.ObservableObject"]," is the building block of ",["link",{"href":"/getting-started/framework/mvvm/overview"},"Kendo MVVM"],". In addition\nthe items of the ",["link",{"href":"/getting-started/framework/datasource/overview"},"kendo.dat.DataSource"]," are ",["inlinecode","kendo.data.ObservableObject"]," instances."],["para","Inherits from ",["link",{"href":"/api/framework/observable"},"kendo.Observable"],"."],["header",{"level":2},"Configuration"],["para","To create a new ",["inlinecode","ObservableObject"]," use its constructor or the ",["inlinecode","kendo.observable"]," method."],["header",{"level":4},"Example - creating a new ObservableObject via its constructor"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nconsole.log(observable.name); // outputs \"John Doe\"\n</script>"],["header",{"level":4},"Example - using the kendo.observable method"],["code_block","<script>\nvar observable = kendo.observable({ name: \"John Doe\" });\nconsole.log(observable.name); // outputs \"John Doe\"\n</script>"],["blockquote",["para",["strong","Important:"]," Complex fields are automatically wrapped in nested ",["inlinecode","ObservableObject"]," instances.\nArray fields are wrapped as ",["inlinecode","kendo.data.ObservableArray"]," objects.\nThe ",["inlinecode","change"]," event of the child objects will bubble to the parent ",["inlinecode","ObservableObject"],".\nFields, which name are prefixed with an underscore will not be wrapped."]],["header",{"level":4},"Example - creating ObservableObject with complex and array fields"],["code_block","<script>\nvar observable = kendo.observable({\n    // complex object field\n    person: {\n        name: \"John Doe\"\n    },\n    // array field\n    numbers: [1, 2, 3]\n});\n\nconsole.log(observable.person instanceof kendo.data.ObservableObject); // outputs \"true\"\nconsole.log(observable.numbers instanceof kendo.data.ObservableArray); // outputs \"true\"\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"uid ",["inlinecode","String"]],["para","The unique identifier of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Example - using the uid field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nconsole.log(observable.uid); // outputs \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\" where \"x\" is a number or letter\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the\nkendo.Observable API reference."],["header",{"level":4},"Example - subscribe to an event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the changed field once the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"],["header",{"level":3},"get"],["para","Gets the value of the specified field."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the value of the specified field."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the field whose value is going to be returned."],["header",{"level":4},"Example - get the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nvar name = observable.get(\"name\");\nconsole.log(name); //outputs \"John Doe\"\n</script>"],["header",{"level":4},"Example - get the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar name = observable.get(\"person.name\"); // use dot notation to denote nested fields\nconsole.log(name); //outputs \"John Doe\"\n</script>"],["header",{"level":3},"parent"],["para","Gets the parent of the object if such parent exists."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the parent of the object; ",["inlinecode","undefined"]," if the object is not nested and doesn't have a parent."],["header",{"level":4},"Example - get the parent object"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar person = observable.get(\"person\");\nconsole.log(observable.parent()); // outputs \"undefined\"\nconsole.log(person.parent() === observable); // outputs \"true\"\n</script>"],["header",{"level":3},"set"],["para","Sets the value of the specified field."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the field whose value is going to be returned."],["header",{"level":5},"value ",["inlinecode","Number|String|Date|Object"]],["para","The new value of the field."],["header",{"level":4},"Example - set the value of a field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.set(\"name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"name\")); //outputs the new value \"Jane Doe\"\n</script>"],["header",{"level":4},"Example - set the value of a nested field"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nobservable.set(\"person.name\", \"Jane Doe\"); // set the value\nconsole.log(observable.get(\"person.name\")); //outputs the new value \"Jane Doe\"\n</script>"],["header",{"level":3},"toJSON"],["para","Creates a plain JavaScript object which contains all fields of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," which contains only the fields of the ",["inlinecode","ObservableObject"],"."],["header",{"level":4},"Example"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ person: { name: \"John Doe\" } });\nvar json = observable.toJSON();\nconsole.log(JSON.stringify(json)); // outputs {\"person\":{\"name\":\"John Doe\"}}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change event"],["para","Fired when a field value is updated via the ",["inlinecode","set"]," method."],["blockquote",["para","The ",["inlinecode","change"]," event is raised ",["strong","after"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the new value."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which has changed."],["header",{"level":4},"Example - subscribe to the change event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"change\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"change\" event and the handler outputs \"name\"\n</script>"],["header",{"level":3},"get event"],["para","Fired when the ",["inlinecode","get"]," method is invoked."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which is retrieved."],["header",{"level":4},"Example - subscribe to the get event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"get\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.get(\"name\"); // raises the \"get\" event and the handler outputs \"name\"\n</script>"],["header",{"level":3},"set event"],["para","Fired when the ",["inlinecode","set"]," method is invoked."],["blockquote",["para","The ",["inlinecode","set"]," event is raised ",["strong","before"]," the field value is updated. Calling the ",["inlinecode","get"]," method from the event handler will return the old value. Calling\n",["inlinecode","e.preventDefault"]," will prevent the update of the field and the ",["inlinecode","change"]," event will not be raised."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The name of the field which is retrieved."],["header",{"level":5},"e.value ",["inlinecode","Number|String|Data|Object"]],["para","The new value."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","A function which may prevent the update of the value. Can be used to perform validation."],["header",{"level":4},"Example - subscribe to the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    console.log(e.field); // will output the field name when the event is raised\n});\nobservable.set(\"name\", \"Jane Doe\"); // raises the \"set\" event and the handler outputs \"name\"\n</script>"],["header",{"level":4},"Example - perform validation by preventing the set event"],["code_block","<script>\nvar observable = new kendo.data.ObservableObject({ name: \"John Doe\" });\nobservable.bind(\"set\", function(e) {\n    if (e.field == \"name\") {\n        if (!e.value) {\n            // avoid emtpy value for the \"name\" field\n            e.preventDefault();\n        }\n    }\n});\nobservable.set(\"name\", \"Jane Doe\");\n</script>"]]},"kendo.Router":{"file":"api/framework/router.md","name":"kendo.Router","config":[],"methods":[{"name":"start","args":[],"short_doc":[["para","Activates the router binding to the URL fragment part changes."]],"doc":[["para","Activates the router binding to the URL fragment part changes."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\n$(function() {\n    router.start();\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\n$(function() {\n    router.start();\n});\n</script>"]]]},{"name":"route","args":[{"name":"route","type":["String"],"short_doc":[["para","The route definition."]],"doc":[["para","The route definition."]]},{"name":"callback","type":["Function"],"short_doc":[["para","The callback to be executed when the route is matched."]],"doc":[["para","The callback to be executed when the route is matched."]]}],"short_doc":[["para","Specifies a callback for the given route. The route definition can contain ",["strong","bound parameters"],", ",["strong","optional segments"],", and ",["strong","route globbing"],".\nThe parsed parts of the URL are passed as parameters to the route callback. Query string parameters are parsed and passed as last argument of the callback function."]],"doc":[["para","Specifies a callback for the given route. The route definition can contain ",["strong","bound parameters"],", ",["strong","optional segments"],", and ",["strong","route globbing"],".\nThe parsed parts of the URL are passed as parameters to the route callback. Query string parameters are parsed and passed as last argument of the callback function."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n    console.log(category, \"item with id\", id, \"was requested by\", params.user);\n});\n\n$(function() {\n    router.start();\n    // ...\n    router.navigate(\"/items/books/59?user=John\");\n});\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"route ",["inlinecode","String"]],["para","The route definition."],["header",{"level":5},"callback ",["inlinecode","Function"]],["para","The callback to be executed when the route is matched."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n    console.log(category, \"item with id\", id, \"was requested by\", params.user);\n});\n\n$(function() {\n    router.start();\n    // ...\n    router.navigate(\"/items/books/59?user=John\");\n});\n</script>"]]]},{"name":"navigate","args":[{"name":"route","type":["String"],"short_doc":[["para","The route to navigate to."]],"doc":[["para","The route to navigate to."]]},{"name":"silent","type":["Boolean"],"short_doc":[["para","If set to true, the router callbacks will not be called."]],"doc":[["para","If set to true, the router callbacks will not be called."]]}],"short_doc":[["para","Navigates to the given route."]],"doc":[["para","Navigates to the given route."],["header",{"level":4},"Parameters"],["header",{"level":5},"route ",["inlinecode","String"]],["para","The route to navigate to."],["header",{"level":5},"silent ",["inlinecode","Boolean"]," ",["strong","(default: false)"]],["para","If set to true, the router callbacks will not be called."],["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id) {\n  console.log(category, \"item with\", id, \" was requested\");\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59\");\n    return false;\n  });\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id) {\n  console.log(category, \"item with\", id, \" was requested\");\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59\");\n    return false;\n  });\n});\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Unbinds the router instance listeners from the URL fragment part changes."]],"doc":[["para","Unbinds the router instance listeners from the URL fragment part changes."]],"examples":[]}],"events":[{"name":"back","args":[{"name":"e.url","type":["String"],"short_doc":[["para","The current part of the URL"]],"doc":[["para","The current part of the URL"]]},{"name":"e.to","type":["String"],"short_doc":[["para","The fragment part of the previous URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]],"doc":[["para","The fragment part of the previous URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]]}],"short_doc":[["para","Triggered when the user navigates back to the previous URL."]],"doc":[["para","Triggered when the user navigates back to the previous URL."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The current part of the URL"],["header",{"level":5},"e.to ",["inlinecode","String"]],["para","The fragment part of the previous URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]],"examples":[],"type":["Function"]},{"name":"change","args":[{"name":"e.url","type":["String"],"short_doc":[["para","The fragment part of the URL"]],"doc":[["para","The fragment part of the URL"]]},{"name":"e.params","type":["Object"],"short_doc":[["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]],"doc":[["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]]}],"short_doc":[["para","Triggered when the fragment part of the URL changes."]],"doc":[["para","Triggered when the fragment part of the URL changes."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The fragment part of the URL"],["header",{"level":5},"e.params ",["inlinecode","Object"]],["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]],["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n  console.log(category, \"item with\", id, \" was requested by\", params.user);\n});\n\nrouter.bind(\"change\", function(e) {\n  console.log(\"change event\", e);\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59?user=John\");\n    return false;\n  });\n\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n  console.log(category, \"item with\", id, \" was requested by\", params.user);\n});\n\nrouter.bind(\"change\", function(e) {\n  console.log(\"change event\", e);\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59?user=John\");\n    return false;\n  });\n\n});\n</script>"]]],"type":["Function"]},{"name":"routeMissing","args":[{"name":"e.url","type":["String"],"short_doc":[["para","The fragment part of the URL"]],"doc":[["para","The fragment part of the URL"]]},{"name":"e.params","type":["Object"],"short_doc":[["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]],"doc":[["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]]}],"short_doc":[["para","Triggered when the URL does not match any of the provided routes."]],"doc":[["para","Triggered when the URL does not match any of the provided routes."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router({ routeMissing: function(e) { console.log(e.url, e.params) } });\n\n$(function() {\n    router.start();\n    router.navigate(\"/foo?bar=baz\");\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The fragment part of the URL"],["header",{"level":5},"e.params ",["inlinecode","Object"]],["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]],"examples":[[["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router({ routeMissing: function(e) { console.log(e.url, e.params) } });\n\n$(function() {\n    router.start();\n    router.navigate(\"/foo?bar=baz\");\n});\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Methods"],["header",{"level":3},"start"],["para","Activates the router binding to the URL fragment part changes."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\n$(function() {\n    router.start();\n});\n</script>"],["header",{"level":3},"route"],["para","Specifies a callback for the given route. The route definition can contain ",["strong","bound parameters"],", ",["strong","optional segments"],", and ",["strong","route globbing"],".\nThe parsed parts of the URL are passed as parameters to the route callback. Query string parameters are parsed and passed as last argument of the callback function."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n    console.log(category, \"item with id\", id, \"was requested by\", params.user);\n});\n\n$(function() {\n    router.start();\n    // ...\n    router.navigate(\"/items/books/59?user=John\");\n});\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"route ",["inlinecode","String"]],["para","The route definition."],["header",{"level":5},"callback ",["inlinecode","Function"]],["para","The callback to be executed when the route is matched."],["header",{"level":3},"navigate"],["para","Navigates to the given route."],["header",{"level":4},"Parameters"],["header",{"level":5},"route ",["inlinecode","String"]],["para","The route to navigate to."],["header",{"level":5},"silent ",["inlinecode","Boolean"]," ",["strong","(default: false)"]],["para","If set to true, the router callbacks will not be called."],["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id) {\n  console.log(category, \"item with\", id, \" was requested\");\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59\");\n    return false;\n  });\n});\n</script>"],["header",{"level":3},"destroy"],["para","Unbinds the router instance listeners from the URL fragment part changes."],["header",{"level":2},"Events"],["header",{"level":3},"back"],["para","Triggered when the user navigates back to the previous URL."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The current part of the URL"],["header",{"level":5},"e.to ",["inlinecode","String"]],["para","The fragment part of the previous URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]],["header",{"level":3},"change"],["para","Triggered when the fragment part of the URL changes."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The fragment part of the URL"],["header",{"level":5},"e.params ",["inlinecode","Object"]],["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]],["header",{"level":4},"Example"],["code_block","<a id=\"link\" href=\"#\">Click me</a>\n<script>\nvar router = new kendo.Router();\n\nrouter.route(\"/items/:category/:id\", function(category, id, params) {\n  console.log(category, \"item with\", id, \" was requested by\", params.user);\n});\n\nrouter.bind(\"change\", function(e) {\n  console.log(\"change event\", e);\n});\n\n$(function() {\n  router.start();\n  $(\"#link\").click(function() {\n    router.navigate(\"/items/books/59?user=John\");\n    return false;\n  });\n\n});\n</script>"],["header",{"level":3},"routeMissing"],["para","Triggered when the URL does not match any of the provided routes."],["header",{"level":4},"Example"],["code_block","<script>\nvar router = new kendo.Router({ routeMissing: function(e) { console.log(e.url, e.params) } });\n\n$(function() {\n    router.start();\n    router.navigate(\"/foo?bar=baz\");\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","String"]],["para","The fragment part of the URL"],["header",{"level":5},"e.params ",["inlinecode","Object"]],["para","The parsed query string parameters of the URL"],["blockquote",["para","Calling the ",["inlinecode","preventDefault"]," method of the event object will stop the change and restore the previous URL."]]]},"kendo.data.SchedulerDataSource":{"file":"api/framework/schedulerdatasource.md","name":"kendo.data.SchedulerDataSource","config":[{"name":"schema","type":["Object"],"short_doc":[["para","The schema configuration of the SchedulerDataSource."]],"doc":[["para","The schema configuration of the SchedulerDataSource."]],"sub":[{"name":"model","type":["Object"],"short_doc":[["para","The model configuration of the SchedulerDataSource. See ",["link",{"href":"/api/framework/schedulerevent#configuration"},"SchedulerEvent"]," for more info."]],"doc":[["para","The model configuration of the SchedulerDataSource. See ",["link",{"href":"/api/framework/schedulerevent#configuration"},"SchedulerEvent"]," for more info."],["header",{"level":4},"Example - configure the data source model model"],["code_block","<script>\nvar dataSource = new kendo.data.SchedulerDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/tasks\",\n            dataType: \"jsonp\"\n        },\n        update: {\n            url: \"http://demos.kendoui.com/service/tasks/update\",\n            dataType: \"jsonp\"\n        },\n        create: {\n            url: \"http://demos.kendoui.com/service/tasks/create\",\n            dataType: \"jsonp\"\n        },\n        destroy: {\n            url: \"http://demos.kendoui.com/service/tasks/destroy\",\n            dataType: \"jsonp\"\n        }\n    },\n    schema: {\n        model: {\n            id: \"taskId\",\n            fields: {\n                taskId: { from: \"TaskID\", type: \"number\" },\n                title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n                start: { type: \"date\", from: \"Start\" },\n                end: { type: \"date\", from: \"End\" },\n                startTimezone: { from: \"StartTimezone\" },\n                endTimezone: { from: \"EndTimezone\" },\n                description: { from: \"Description\" },\n                recurrenceId: { from: \"RecurrenceID\" },\n                recurrenceRule: { from: \"RecurrenceRule\" },\n                recurrenceException: { from: \"RecurrenceException\" },\n                ownerId: { from: \"OwnerID\", defaultValue: 1 },\n                isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n            }\n        }\n    }\n});\ndataSource.fetch(function() {\n    var event = this.at(0);\n    console.log(event.title); // outputs \"Bowling tournament\"\n});\n</script>"]],"orig":"schema.model"}]}],"methods":[{"name":"expand","args":[{"name":"start","type":["Date"],"short_doc":[["para","The start date of the period."]],"doc":[["para","The start date of the period."]]},{"name":"end","type":["Date"],"short_doc":[["para","The end date of the period."]],"doc":[["para","The end date of the period."]]}],"short_doc":[["para","Expands all recurring events in the data and returns a list of events for a specific period."]],"doc":[["para","Expands all recurring events in the data and returns a list of events for a specific period."],["header",{"level":4},"Parameters"],["header",{"level":5},"start ",["inlinecode","Date"]],["para","The start date of the period."],["header",{"level":5},"end ",["inlinecode","Date"]],["para","The end date of the period."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the expanded list of scheduler events filtered by the specified start/end period."],["header",{"level":4},"Example - get all occurrences for a specific period"],["code_block","<script>\n    var dataSource = new kendo.data.SchedulerDataSource({\n        data: [\n            new kendo.data.SchedulerEvent({\n                title: \"Event1\",\n                start: new Date(\"2013/4/4 12:00\"),\n                start: new Date(\"2013/4/4 14:00\")\n            }),\n            new kendo.data.SchedulerEvent({\n                title: \"Recurring event\",\n                start: new Date(\"2013/4/4 15:00\"),\n                start: new Date(\"2013/4/4 17:00\"),\n                recurrenceRule: \"FREQ=DAILY\"\n            })\n        ]\n    });\n\n    //returns list of expanded occurrences\n    var occurrences = dataSource.expand(new Date(\"2013/4/1\"), new Date(\"2013/5/1\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - get all occurrences for a specific period"],["code_block","<script>\n    var dataSource = new kendo.data.SchedulerDataSource({\n        data: [\n            new kendo.data.SchedulerEvent({\n                title: \"Event1\",\n                start: new Date(\"2013/4/4 12:00\"),\n                start: new Date(\"2013/4/4 14:00\")\n            }),\n            new kendo.data.SchedulerEvent({\n                title: \"Recurring event\",\n                start: new Date(\"2013/4/4 15:00\"),\n                start: new Date(\"2013/4/4 17:00\"),\n                recurrenceRule: \"FREQ=DAILY\"\n            })\n        ]\n    });\n\n    //returns list of expanded occurrences\n    var occurrences = dataSource.expand(new Date(\"2013/4/1\"), new Date(\"2013/5/1\"));\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","The data source used by the ",["link",{"href":"/api/web/scheduler"},"kendo.ui.Scheduler"]," widget.\nInherits from ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],". The SchedulerDataSource contains instances of the\n",["link",{"href":"/api/framework/schedulerevent"},"kendo.data.SchedulerEvent"]," class."]],"doc":[["para","The data source used by the ",["link",{"href":"/api/web/scheduler"},"kendo.ui.Scheduler"]," widget.\nInherits from ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],". The SchedulerDataSource contains instances of the\n",["link",{"href":"/api/framework/schedulerevent"},"kendo.data.SchedulerEvent"]," class."],["header",{"level":2},"Configuration"],["para","See the ",["link",{"href":"/api/framework/datasource#configuration"},"DataSource configuration"]," for all inherited configuration options."],["header",{"level":3},"schema ",["inlinecode","Object"]],["para","The schema configuration of the SchedulerDataSource."],["header",{"level":3},"schema.model ",["inlinecode","Object"]],["para","The model configuration of the SchedulerDataSource. See ",["link",{"href":"/api/framework/schedulerevent#configuration"},"SchedulerEvent"]," for more info."],["header",{"level":4},"Example - configure the data source model model"],["code_block","<script>\nvar dataSource = new kendo.data.SchedulerDataSource({\n    transport: {\n        read: {\n            url: \"http://demos.kendoui.com/service/tasks\",\n            dataType: \"jsonp\"\n        },\n        update: {\n            url: \"http://demos.kendoui.com/service/tasks/update\",\n            dataType: \"jsonp\"\n        },\n        create: {\n            url: \"http://demos.kendoui.com/service/tasks/create\",\n            dataType: \"jsonp\"\n        },\n        destroy: {\n            url: \"http://demos.kendoui.com/service/tasks/destroy\",\n            dataType: \"jsonp\"\n        }\n    },\n    schema: {\n        model: {\n            id: \"taskId\",\n            fields: {\n                taskId: { from: \"TaskID\", type: \"number\" },\n                title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n                start: { type: \"date\", from: \"Start\" },\n                end: { type: \"date\", from: \"End\" },\n                startTimezone: { from: \"StartTimezone\" },\n                endTimezone: { from: \"EndTimezone\" },\n                description: { from: \"Description\" },\n                recurrenceId: { from: \"RecurrenceID\" },\n                recurrenceRule: { from: \"RecurrenceRule\" },\n                recurrenceException: { from: \"RecurrenceException\" },\n                ownerId: { from: \"OwnerID\", defaultValue: 1 },\n                isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n            }\n        }\n    }\n});\ndataSource.fetch(function() {\n    var event = this.at(0);\n    console.log(event.title); // outputs \"Bowling tournament\"\n});\n</script>"],["header",{"level":2},"Methods"],["para","See the ",["link",{"href":"/api/framework/datasource#methods"},"DataSource methods"]," for all inherited methods."],["header",{"level":3},"expand"],["para","Expands all recurring events in the data and returns a list of events for a specific period."],["header",{"level":4},"Parameters"],["header",{"level":5},"start ",["inlinecode","Date"]],["para","The start date of the period."],["header",{"level":5},"end ",["inlinecode","Date"]],["para","The end date of the period."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the expanded list of scheduler events filtered by the specified start/end period."],["header",{"level":4},"Example - get all occurrences for a specific period"],["code_block","<script>\n    var dataSource = new kendo.data.SchedulerDataSource({\n        data: [\n            new kendo.data.SchedulerEvent({\n                title: \"Event1\",\n                start: new Date(\"2013/4/4 12:00\"),\n                start: new Date(\"2013/4/4 14:00\")\n            }),\n            new kendo.data.SchedulerEvent({\n                title: \"Recurring event\",\n                start: new Date(\"2013/4/4 15:00\"),\n                start: new Date(\"2013/4/4 17:00\"),\n                recurrenceRule: \"FREQ=DAILY\"\n            })\n        ]\n    });\n\n    //returns list of expanded occurrences\n    var occurrences = dataSource.expand(new Date(\"2013/4/1\"), new Date(\"2013/5/1\"));\n</script>"]]},"kendo.data.SchedulerEvent":{"file":"api/framework/schedulerevent.md","name":"kendo.data.SchedulerEvent","config":[{"name":"description","type":["String"],"default":"\"\"","short_doc":[["para","The optional event description."]],"doc":[["para","The optional event description."],["header",{"level":4},"Example - set the description of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    description: \"Lunch with Harry and Steve\"\n});\n</script>"]]},{"name":"end","type":["Date"],"short_doc":[["para","The date at which the scheduler event ends. The ",["inlinecode","end"]," date is mandatory."]],"doc":[["para","The date at which the scheduler event ends. The ",["inlinecode","end"]," date is mandatory."],["header",{"level":4},"Example - set the end date of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"]]},{"name":"endTimezone","type":["String"],"default":"undefined","short_doc":[["para","The timezone of the ",["inlinecode","end"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."]],"doc":[["para","The timezone of the ",["inlinecode","end"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["header",{"level":4},"Example - set the end timezone of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    endTimezone: \"Europe/Sofia\"\n});\n</script>"]]},{"name":"id","type":["String","Number","Object"],"short_doc":[["para","The mandatory unique identifier of the event."]],"doc":[["para","The mandatory unique identifier of the event."],["header",{"level":4},"Example - set the identifier of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"]]},{"name":"isAllDay","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the event is \"all day\". By default events are not all day."],["blockquote",["para",["strong","Important"],": When ",["inlinecode","isAllDay"]," is set to ",["inlinecode","true"]," the ",["inlinecode","start"]," and ",["inlinecode","end"]," fields must be set to the same date."]]],"doc":[["para","If set to ",["inlinecode","true"]," the event is \"all day\". By default events are not all day."],["blockquote",["para",["strong","Important"],": When ",["inlinecode","isAllDay"]," is set to ",["inlinecode","true"]," the ",["inlinecode","start"]," and ",["inlinecode","end"]," fields must be set to the same date."]],["header",{"level":4},"Example - create all day event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Birthday\",\n    start: new Date(\"2013/4/4 00:00\"),\n    end: new Date(\"2013/4/4 00:00\"),\n    isAllDay: true\n});\n</script>"]]},{"name":"recurrenceException","type":["String"],"default":"undefined","short_doc":[["para","The recurrence exceptions. A list of semicolon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."],["blockquote",["para",["strong","Important"],": The dates should be encoded in UTC."]]],"doc":[["para","The recurrence exceptions. A list of semicolon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."],["blockquote",["para",["strong","Important"],": The dates should be encoded in UTC."]],["header",{"level":4},"Example - set recurrence exceptions"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\n</script>"]]},{"name":"recurrenceId","type":["String","Number","Object"],"default":"undefined","short_doc":[["para","The ",["inlinecode","id"]," of the recurrence parent event. Required for events that are recurrence exceptions."]],"doc":[["para","The ",["inlinecode","id"]," of the recurrence parent event. Required for events that are recurrence exceptions."],["header",{"level":4},"Example - set recurrence exceptions"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\n</script>"]]},{"name":"recurrenceRule","type":["String"],"default":"undefined","short_doc":[["para","The recurrence rule describing the recurring pattern of the event. The format follows the ",["link",{"href":"http://tools.ietf.org/html/rfc5545"},"iCal specification"],"."]],"doc":[["para","The recurrence rule describing the recurring pattern of the event. The format follows the ",["link",{"href":"http://tools.ietf.org/html/rfc5545"},"iCal specification"],"."],["header",{"level":4},"Example - set the recurrence rule"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\"\n});\n</script>"]]},{"name":"start","type":["Date"],"short_doc":[["para","The date at which the scheduler event starts. The ",["inlinecode","start"]," date is mandatory."]],"doc":[["para","The date at which the scheduler event starts. The ",["inlinecode","start"]," date is mandatory."],["header",{"level":4},"Example - set the start date of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"]]},{"name":"startTimezone","type":["String"],"default":"undefined","short_doc":[["para","The timezone of the ",["inlinecode","start"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."]],"doc":[["para","The timezone of the ",["inlinecode","start"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["header",{"level":4},"Example - set the end timezone of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    startTimezone: \"Europe/Sofia\",\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"]]},{"name":"title","type":["String"],"default":"\"\"","short_doc":[["para","The title of the event which is displayed by the scheduler widget."]],"doc":[["para","The title of the event which is displayed by the scheduler widget."],["header",{"level":4},"Example - set the title of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"]]}],"methods":[{"name":"SchedulerEvent.define","args":[{"name":"options","type":["Object"],"short_doc":[["para","Describes the configuration options of the new scheduler event class."]],"doc":[["para","Describes the configuration options of the new scheduler event class."]]},{"name":"options.id","type":["String"],"short_doc":[["para","The name of the field which acts as an identifier of the scheduler event.\nThe identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."]],"doc":[["para","The name of the field which acts as an identifier of the scheduler event.\nThe identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."]]},{"name":"options.fields","type":["Object"],"short_doc":[["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."]],"doc":[["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."]]},{"name":"options.fields.fieldName.defaultValue","type":[],"short_doc":[["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."]],"doc":[["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."]]},{"name":"options.fields.fieldName.editable","type":["Boolean"],"short_doc":[["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."]],"doc":[["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."]]},{"name":"options.fields.fieldName.nullable","type":["Boolean"],"short_doc":[["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."]],"doc":[["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."]]},{"name":"options.fields.fieldName.parse","type":["Function"],"short_doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]]},{"name":"options.fields.fieldName.type","type":["String"],"short_doc":[["para","Specifies the the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."]],"doc":[["para","Specifies the the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."]]},{"name":"options.fields.fieldName.validation","type":["Object"],"short_doc":[["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."]],"doc":[["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."]]}],"short_doc":[["para","Defines a new ",["inlinecode","SchedulerEvent"]," type using the provided options."]],"doc":[["para","Defines a new ",["inlinecode","SchedulerEvent"]," type using the provided options."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Describes the configuration options of the new scheduler event class."],["header",{"level":5},"options.id ",["inlinecode","String"]],["para","The name of the field which acts as an identifier of the scheduler event.\nThe identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":5},"options.fields ",["inlinecode","Object"]],["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."],["header",{"level":5},"options.fields.fieldName.defaultValue"],["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."],["header",{"level":5},"options.fields.fieldName.editable ",["inlinecode","Boolean"]],["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."],["header",{"level":5},"options.fields.fieldName.nullable ",["inlinecode","Boolean"]],["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."],["header",{"level":5},"options.fields.fieldName.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":5},"options.fields.fieldName.type ",["inlinecode","String"]],["para","Specifies the the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."],["header",{"level":5},"options.fields.fieldName.validation ",["inlinecode","Object"]],["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."],["header",{"level":4},"Example - define custom scheduler event"],["code_block","var Task = kendo.data.SchedulerEvent.define({\n    id: \"taskId\",\n    fields: {\n        taskId: { from: \"TaskID\", type: \"number\" },\n        title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n        start: { type: \"date\", from: \"Start\" },\n        end: { type: \"date\", from: \"End\" },\n        startTimezone: { from: \"StartTimezone\" },\n        endTimezone: { from: \"EndTimezone\" },\n        description: { from: \"Description\" },\n        recurrenceId: { from: \"RecurrenceID\" },\n        recurrenceRule: { from: \"RecurrenceRule\" },\n        recurrenceException: { from: \"RecurrenceException\" },\n        ownerId: { from: \"OwnerID\", defaultValue: 1 },\n        isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n    }\n});"]],"examples":[[["header",{"level":4},"Example - define custom scheduler event"],["code_block","var Task = kendo.data.SchedulerEvent.define({\n    id: \"taskId\",\n    fields: {\n        taskId: { from: \"TaskID\", type: \"number\" },\n        title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n        start: { type: \"date\", from: \"Start\" },\n        end: { type: \"date\", from: \"End\" },\n        startTimezone: { from: \"StartTimezone\" },\n        endTimezone: { from: \"EndTimezone\" },\n        description: { from: \"Description\" },\n        recurrenceId: { from: \"RecurrenceID\" },\n        recurrenceRule: { from: \"RecurrenceRule\" },\n        recurrenceException: { from: \"RecurrenceException\" },\n        ownerId: { from: \"OwnerID\", defaultValue: 1 },\n        isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n    }\n});"]]]},{"name":"clone","args":[{"name":"options","type":["Object"],"short_doc":[["para","Additional options passed to the SchedulerEvent constructor."],["blockquote",["para","By default, ",["inlinecode","uid"]," property will be preserved."]]],"doc":[["para","Additional options passed to the SchedulerEvent constructor."],["blockquote",["para","By default, ",["inlinecode","uid"]," property will be preserved."]]]}],"short_doc":[["para","Clones the scheduler event."]],"doc":[["para","Clones the scheduler event."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Additional options passed to the SchedulerEvent constructor."],["blockquote",["para","By default, ",["inlinecode","uid"]," property will be preserved."]],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Scheduler"]," the cloned scheduler event."],["header",{"level":4},"Example - clone the scheduler event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(2013, 10, 11, 12),\n        end: new Date(2013, 10, 11, 14)\n    });\n\n    var clone = event.clone();\n</script>"],["header",{"level":4},"Example - override start and end dates of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    var clone = event.clone({\n        start: new Date(\"2013/4/4 2:00\"),\n        end: new Date(\"2013/4/4 4:00\")\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - clone the scheduler event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(2013, 10, 11, 12),\n        end: new Date(2013, 10, 11, 14)\n    });\n\n    var clone = event.clone();\n</script>"]],[["header",{"level":4},"Example - override start and end dates of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    var clone = event.clone({\n        start: new Date(\"2013/4/4 2:00\"),\n        end: new Date(\"2013/4/4 4:00\")\n    });\n</script>"]]]},{"name":"duration","args":[],"short_doc":[["para","Returns the scheduler event length in milliseconds."]],"doc":[["para","Returns the scheduler event length in milliseconds."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the length of the event."],["header",{"level":4},"Example - get length of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    console.log(event.duration());\n</script>"]],"examples":[[["header",{"level":4},"Example - get length of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    console.log(event.duration());\n</script>"]]]},{"name":"expand","args":[{"name":"start","type":["Date"],"short_doc":[["para","The start date of the occurrence period."]],"doc":[["para","The start date of the occurrence period."]]},{"name":"end","type":["Date"],"short_doc":[["para","The end date of the occurrence period."]],"doc":[["para","The end date of the occurrence period."]]},{"name":"timeZoneId","type":["String"],"short_doc":[["para","The time zone ID used to convert the recurrence rule dates."]],"doc":[["para","The time zone ID used to convert the recurrence rule dates."]]}],"short_doc":[["para","Expands the event for a specific period based on the ",["inlinecode","recurrenceRule"]," option."]],"doc":[["para","Expands the event for a specific period based on the ",["inlinecode","recurrenceRule"]," option."],["header",{"level":4},"Parameters"],["header",{"level":5},"start ",["inlinecode","Date"]],["para","The start date of the occurrence period."],["header",{"level":5},"end ",["inlinecode","Date"]],["para","The end date of the occurrence period."],["header",{"level":5},"timeZoneId ",["inlinecode","String"]],["para","The time zone ID used to convert the recurrence rule dates."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the list of the occurrences."],["header",{"level":4},"Example - get the occurrences"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    recurrenceRule: \"FREQ=DAILY\"\n});\n\nvar occurrences = event.expand(new Date(\"2013/4/4\"), new Date(\"2013/5/4\"), \"Etc/UTC\");\n</script>"]],"examples":[[["header",{"level":4},"Example - get the occurrences"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    recurrenceRule: \"FREQ=DAILY\"\n});\n\nvar occurrences = event.expand(new Date(\"2013/4/4\"), new Date(\"2013/5/4\"), \"Etc/UTC\");\n</script>"]]]}],"events":[],"fields":[{"name":"description","type":["String"],"short_doc":[["para","The optional event description."]],"doc":[["para","The optional event description."],["header",{"level":4},"Example - get the event description"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    description: \"Lunch with Harry and Steve\"\n});\nconsole.log(event.description); // outputs \"Lunch with Harry and Steve\"\n</script>"]]},{"name":"end","type":["Date"],"short_doc":[["para","The date at which the scheduler event ends."]],"doc":[["para","The date at which the scheduler event ends."],["header",{"level":4},"Example - get the event end date"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.end); // outputs the end date\n</script>"]]},{"name":"endTimezone","type":["String"],"short_doc":[["para","The timezone of the ",["inlinecode","end"]," date."]],"doc":[["para","The timezone of the ",["inlinecode","end"]," date."],["header",{"level":4},"Example - get the event end timezone"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    endTimezone: \"Europe/Sofia\"\n});\nconsole.log(event.endTimezone); // outputs \"Europe/Sofia\"\n</script>"]]},{"name":"id","type":["String","Number","Object"],"short_doc":[["para","The unique identifier of the event."]],"doc":[["para","The unique identifier of the event."],["header",{"level":4},"Example - get the event id"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.id); // outputs \"1\"\n</script>"]]},{"name":"isAllDay","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the event is \"all day\"."]],"doc":[["para","If set to ",["inlinecode","true"]," the event is \"all day\"."],["header",{"level":4},"Example - get the event isAllDay field"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Birthday\",\n    start: new Date(\"2013/4/4 00:00\"),\n    end: new Date(\"2013/4/4 00:00\"),\n    isAllDay: true\n});\nconsole.log(event.isAllDay); // outputs \"true\"\n</script>"]]},{"name":"recurrenceException","type":["String"],"short_doc":[["para","The recurrence exceptions. A list of colon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."]],"doc":[["para","The recurrence exceptions. A list of colon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."],["header",{"level":4},"Example - get the event recurrence exception field"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nconsole.log(event.recurrenceException); // outputs the recurrence exception\n</script>"]]},{"name":"recurrenceId","type":["String","Number","Object"],"short_doc":[["para","The ",["inlinecode","id"]," of the recurrence parent event."]],"doc":[["para","The ",["inlinecode","id"]," of the recurrence parent event."],["header",{"level":4},"Example - get the event recurrence parent id"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\nconsole.log(exception.recurrenceId); // outputs \"1\"\n</script>"]]},{"name":"recurrenceRule","type":["String"],"short_doc":[["para","The recurrence rule describing the recurring pattern of the event."]],"doc":[["para","The recurrence rule describing the recurring pattern of the event."],["header",{"level":4},"Example - get the event recurrence rule"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\"\n});\nconsole.log(event.recurrenceRule); // outputs \"FREQ=DAILY\"\n</script>"]]},{"name":"start","type":["Date"],"short_doc":[["para","The date at which the scheduler event starts."]],"doc":[["para","The date at which the scheduler event starts."],["header",{"level":4},"Example - get the event start date"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.start); // outputs the end date\n</script>"]]},{"name":"startTimezone","type":["String"],"short_doc":[["para","The timezone of the ",["inlinecode","start"]," date."]],"doc":[["para","The timezone of the ",["inlinecode","start"]," date."],["header",{"level":4},"Example - get the event start timezone"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    startTimezone: \"Europe/Sofia\"\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.startTimezone); // outputs \"Europe/Sofia\"\n</script>"]]},{"name":"title","type":["String"],"short_doc":[["para","The title of the event which is displayed by the scheduler widget."]],"doc":[["para","The title of the event which is displayed by the scheduler widget."],["header",{"level":4},"Example - get the event title"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.title); // outputs \"Lunch\"\n</script>"]]}],"short_doc":[["para","The ",["inlinecode","kendo.data.SchedulerEvent"]," class represents a data item from the ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"],". Inherits from ",["link",{"href":"/api/framework/model"},"kendo.data.Model"],"."]],"doc":[["para","The ",["inlinecode","kendo.data.SchedulerEvent"]," class represents a data item from the ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"],". Inherits from ",["link",{"href":"/api/framework/model"},"kendo.data.Model"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"description ",["inlinecode","String"]," ",["em","(default: \"\")"]],["para","The optional event description."],["header",{"level":4},"Example - set the description of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    description: \"Lunch with Harry and Steve\"\n});\n</script>"],["header",{"level":3},"end ",["inlinecode","Date"]],["para","The date at which the scheduler event ends. The ",["inlinecode","end"]," date is mandatory."],["header",{"level":4},"Example - set the end date of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"],["header",{"level":3},"endTimezone ",["inlinecode","String"]," ",["em","(default: undefined)"]],["para","The timezone of the ",["inlinecode","end"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["header",{"level":4},"Example - set the end timezone of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    endTimezone: \"Europe/Sofia\"\n});\n</script>"],["header",{"level":3},"id ",["inlinecode","String|Number|Object"]],["para","The mandatory unique identifier of the event."],["header",{"level":4},"Example - set the identifier of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"],["header",{"level":3},"isAllDay ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the event is \"all day\". By default events are not all day."],["blockquote",["para",["strong","Important"],": When ",["inlinecode","isAllDay"]," is set to ",["inlinecode","true"]," the ",["inlinecode","start"]," and ",["inlinecode","end"]," fields must be set to the same date."]],["header",{"level":4},"Example - create all day event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Birthday\",\n    start: new Date(\"2013/4/4 00:00\"),\n    end: new Date(\"2013/4/4 00:00\"),\n    isAllDay: true\n});\n</script>"],["header",{"level":3},"recurrenceException ",["inlinecode","String"]," ",["em","(default: undefined)"]],["para","The recurrence exceptions. A list of semicolon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."],["blockquote",["para",["strong","Important"],": The dates should be encoded in UTC."]],["header",{"level":4},"Example - set recurrence exceptions"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\n</script>"],["header",{"level":3},"recurrenceId ",["inlinecode","String|Number|Object"]," ",["em","(default: undefined)"]],["para","The ",["inlinecode","id"]," of the recurrence parent event. Required for events that are recurrence exceptions."],["header",{"level":4},"Example - set recurrence exceptions"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\n</script>"],["header",{"level":3},"recurrenceRule ",["inlinecode","String"]," ",["em","(default: undefined)"]],["para","The recurrence rule describing the recurring pattern of the event. The format follows the ",["link",{"href":"http://tools.ietf.org/html/rfc5545"},"iCal specification"],"."],["header",{"level":4},"Example - set the recurrence rule"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\"\n});\n</script>"],["header",{"level":3},"start ",["inlinecode","Date"]],["para","The date at which the scheduler event starts. The ",["inlinecode","start"]," date is mandatory."],["header",{"level":4},"Example - set the start date of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"],["header",{"level":3},"startTimezone ",["inlinecode","String"]," ",["em","(default: undefined)"]],["para","The timezone of the ",["inlinecode","start"]," date. If not specified the ",["link",{"href":"/api/web/scheduler#configuration-timezone"},"timezone"]," will be used."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["header",{"level":4},"Example - set the end timezone of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    startTimezone: \"Europe/Sofia\",\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"],["header",{"level":3},"title ",["inlinecode","String"]," ",["em","(default: \"\")"]],["para","The title of the event which is displayed by the scheduler widget."],["header",{"level":4},"Example - set the title of an event"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"description ",["inlinecode","String"]],["para","The optional event description."],["header",{"level":4},"Example - get the event description"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    description: \"Lunch with Harry and Steve\"\n});\nconsole.log(event.description); // outputs \"Lunch with Harry and Steve\"\n</script>"],["header",{"level":3},"end ",["inlinecode","Date"]],["para","The date at which the scheduler event ends."],["header",{"level":4},"Example - get the event end date"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.end); // outputs the end date\n</script>"],["header",{"level":3},"endTimezone ",["inlinecode","String"]],["para","The timezone of the ",["inlinecode","end"]," date."],["header",{"level":4},"Example - get the event end timezone"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    endTimezone: \"Europe/Sofia\"\n});\nconsole.log(event.endTimezone); // outputs \"Europe/Sofia\"\n</script>"],["header",{"level":3},"id ",["inlinecode","String|Number|Object"]],["para","The unique identifier of the event."],["header",{"level":4},"Example - get the event id"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.id); // outputs \"1\"\n</script>"],["header",{"level":3},"isAllDay ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the event is \"all day\"."],["header",{"level":4},"Example - get the event isAllDay field"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Birthday\",\n    start: new Date(\"2013/4/4 00:00\"),\n    end: new Date(\"2013/4/4 00:00\"),\n    isAllDay: true\n});\nconsole.log(event.isAllDay); // outputs \"true\"\n</script>"],["header",{"level":3},"recurrenceException ",["inlinecode","String"]],["para","The recurrence exceptions. A list of colon separated dates formatted using the ",["inlinecode","yyyyMMddTHHmmssZ"]," format string."],["header",{"level":4},"Example - get the event recurrence exception field"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nconsole.log(event.recurrenceException); // outputs the recurrence exception\n</script>"],["header",{"level":3},"recurrenceId ",["inlinecode","String|Number|Object"]],["para","The ",["inlinecode","id"]," of the recurrence parent event."],["header",{"level":4},"Example - get the event recurrence parent id"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\",\n    recurrenceException: new Date(\"2013/9/3 12:00\").toISOString()\n});\nvar exception =  new kendo.data.SchedulerEvent({\n    id: 2,\n    start: new Date(\"2013/9/3 12:30\"),\n    end: new Date(\"2013/9/3 13:00\"),\n    title: \"Lunch\",\n    recurrenceId: 1\n});\nconsole.log(exception.recurrenceId); // outputs \"1\"\n</script>"],["header",{"level":3},"recurrenceRule ",["inlinecode","String"]],["para","The recurrence rule describing the recurring pattern of the event."],["header",{"level":4},"Example - get the event recurrence rule"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    start: new Date(\"2013/9/2 12:00\"),\n    end: new Date(\"2013/9/2 12:30\"),\n    title: \"Lunch\",\n    recurrenceRule: \"FREQ=DAILY\"\n});\nconsole.log(event.recurrenceRule); // outputs \"FREQ=DAILY\"\n</script>"],["header",{"level":3},"start ",["inlinecode","Date"]],["para","The date at which the scheduler event starts."],["header",{"level":4},"Example - get the event start date"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.start); // outputs the end date\n</script>"],["header",{"level":3},"startTimezone ",["inlinecode","String"]],["para","The timezone of the ",["inlinecode","start"]," date."],["header",{"level":4},"Example - get the event start timezone"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    startTimezone: \"Europe/Sofia\"\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.startTimezone); // outputs \"Europe/Sofia\"\n</script>"],["header",{"level":3},"title ",["inlinecode","String"]],["para","The title of the event which is displayed by the scheduler widget."],["header",{"level":4},"Example - get the event title"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\")\n});\nconsole.log(event.title); // outputs \"Lunch\"\n</script>"],["header",{"level":2},"Methods"],["para","See the ",["link",{"href":"/api/framework/model#methods"},"Model methods"]," for all inherited methods."],["header",{"level":3},"SchedulerEvent.define"],["para","Defines a new ",["inlinecode","SchedulerEvent"]," type using the provided options."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Describes the configuration options of the new scheduler event class."],["header",{"level":5},"options.id ",["inlinecode","String"]],["para","The name of the field which acts as an identifier of the scheduler event.\nThe identifier is used to determine if a model instance is new or existing one.\nIf the value of the field specified is equal to the default value (specified through the ",["inlinecode","fields"]," configuration) the model is considered as new."],["header",{"level":5},"options.fields ",["inlinecode","Object"]],["para","A set of key/value pairs the configure the model fields. The key specifies the name of the field.\nQuote the key if it contains spaces or other symbols which are not valid for a JavaScript identifier."],["header",{"level":5},"options.fields.fieldName.defaultValue"],["para","Specifies the which will be used for the field when a new model instance is created. Default settings depend on the type of the field. Default for \"string\" is ",["inlinecode","\"\""],",\nfor \"number\" is ",["inlinecode","0"]," and for \"date\" is ",["inlinecode","new Date()"]," (today)."],["header",{"level":5},"options.fields.fieldName.editable ",["inlinecode","Boolean"]],["para","Specifies if the field is editable or not. The default value is ",["inlinecode","true"],"."],["header",{"level":5},"options.fields.fieldName.nullable ",["inlinecode","Boolean"]],["para","Specifies if the ",["inlinecode","defaultValue"]," setting should be used. The default is ",["inlinecode","false"],"."],["header",{"level":5},"options.fields.fieldName.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":5},"options.fields.fieldName.type ",["inlinecode","String"]],["para","Specifies the the type of the field. The available options are ",["inlinecode","\"string\""],", ",["inlinecode","\"number\""],", ",["inlinecode","\"boolean\""],", ",["inlinecode","\"date"],"\". The default is ",["inlinecode","\"string\""],"."],["header",{"level":5},"options.fields.fieldName.validation ",["inlinecode","Object"]],["para","Specifies the validation options which will be used by ",["link",{"href":"/api/framework/validator"},"Kendo Validator"],"."],["header",{"level":4},"Example - define custom scheduler event"],["code_block","var Task = kendo.data.SchedulerEvent.define({\n    id: \"taskId\",\n    fields: {\n        taskId: { from: \"TaskID\", type: \"number\" },\n        title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n        start: { type: \"date\", from: \"Start\" },\n        end: { type: \"date\", from: \"End\" },\n        startTimezone: { from: \"StartTimezone\" },\n        endTimezone: { from: \"EndTimezone\" },\n        description: { from: \"Description\" },\n        recurrenceId: { from: \"RecurrenceID\" },\n        recurrenceRule: { from: \"RecurrenceRule\" },\n        recurrenceException: { from: \"RecurrenceException\" },\n        ownerId: { from: \"OwnerID\", defaultValue: 1 },\n        isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n    }\n});"],["header",{"level":3},"clone"],["para","Clones the scheduler event."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","Additional options passed to the SchedulerEvent constructor."],["blockquote",["para","By default, ",["inlinecode","uid"]," property will be preserved."]],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Scheduler"]," the cloned scheduler event."],["header",{"level":4},"Example - clone the scheduler event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(2013, 10, 11, 12),\n        end: new Date(2013, 10, 11, 14)\n    });\n\n    var clone = event.clone();\n</script>"],["header",{"level":4},"Example - override start and end dates of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    var clone = event.clone({\n        start: new Date(\"2013/4/4 2:00\"),\n        end: new Date(\"2013/4/4 4:00\")\n    });\n</script>"],["header",{"level":3},"duration"],["para","Returns the scheduler event length in milliseconds."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the length of the event."],["header",{"level":4},"Example - get length of the event"],["code_block","<script>\n    var event = new kendo.data.SchedulerEvent({\n        id: 1,\n        title: \"Task1\",\n        start: new Date(\"2013/4/4 12:00\"),\n        end: new Date(\"2013/4/4 14:00\")\n    });\n\n    console.log(event.duration());\n</script>"],["header",{"level":3},"expand"],["para","Expands the event for a specific period based on the ",["inlinecode","recurrenceRule"]," option."],["header",{"level":4},"Parameters"],["header",{"level":5},"start ",["inlinecode","Date"]],["para","The start date of the occurrence period."],["header",{"level":5},"end ",["inlinecode","Date"]],["para","The end date of the occurrence period."],["header",{"level":5},"timeZoneId ",["inlinecode","String"]],["para","The time zone ID used to convert the recurrence rule dates."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," the list of the occurrences."],["header",{"level":4},"Example - get the occurrences"],["code_block","<script>\nvar event = new kendo.data.SchedulerEvent({\n    id: 1,\n    title: \"Lunch\",\n    start: new Date(\"2013/4/4 12:00\"),\n    end: new Date(\"2013/4/4 13:00\"),\n    recurrenceRule: \"FREQ=DAILY\"\n});\n\nvar occurrences = event.expand(new Date(\"2013/4/4\"), new Date(\"2013/5/4\"), \"Etc/UTC\");\n</script>"],["header",{"level":2},"Events"],["para","See the ",["link",{"href":"/api/framework/model#events"},"Model events"]," for all inherited events."]]},"kendo.ui.Validator":{"file":"api/framework/validator.md","name":"kendo.ui.Validator","config":[{"name":"errorTemplate","type":["String"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the validation message."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the validation message."]]},{"name":"Defining custom error template","type":[],"short_doc":[["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n        errorTemplate: \"<span>#=message#</span>\"\n    });\n</script>"]],"doc":[["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n        errorTemplate: \"<span>#=message#</span>\"\n    });\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","Set of messages (either strings or functions) which will be shown when given validation rule fails.\nBy setting already existing key the appropriate built-in message will be overridden."]],"doc":[["para","Set of messages (either strings or functions) which will be shown when given validation rule fails.\nBy setting already existing key the appropriate built-in message will be overridden."]]},{"name":"Defining custom messages","type":[],"short_doc":[["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input type=\"email\" name=\"userEmail\" required data-message=\"My custom email message\" /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n         messages: {\n             // defines a message for the 'custom' validation rule\n             custom: \"Please enter valid value for my custom rule\",\n\n             // overrides the built-in message for the required rule\n             required: \"My custom required message\",\n\n             // overrides the built-in message for the email rule\n             // with a custom function that returns the actual message\n             email: function(input) {\n                 return getMessage(input);\n             }\n         },\n         rules: {\n           custom: function(input) {\n             if (input.is(\"[name=username]\")) {\n                 return input.val() === \"Tom\";\n             }\n             return true;\n           }\n         }\n    });\n\n    function getMessage(input) {\n      return input.data(\"message\");\n    }\n</script>"]],"doc":[["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input type=\"email\" name=\"userEmail\" required data-message=\"My custom email message\" /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n         messages: {\n             // defines a message for the 'custom' validation rule\n             custom: \"Please enter valid value for my custom rule\",\n\n             // overrides the built-in message for the required rule\n             required: \"My custom required message\",\n\n             // overrides the built-in message for the email rule\n             // with a custom function that returns the actual message\n             email: function(input) {\n                 return getMessage(input);\n             }\n         },\n         rules: {\n           custom: function(input) {\n             if (input.is(\"[name=username]\")) {\n                 return input.val() === \"Tom\";\n             }\n             return true;\n           }\n         }\n    });\n\n    function getMessage(input) {\n      return input.data(\"message\");\n    }\n</script>"]]},{"name":"rules","type":["Object"],"short_doc":[["para","Set of custom validation rules. Those rules will extend the ",["link",{"href":"/getting-started/framework/validator/overview#default-validation-rules"},"built-in ones"],"."]],"doc":[["para","Set of custom validation rules. Those rules will extend the ",["link",{"href":"/getting-started/framework/validator/overview#default-validation-rules"},"built-in ones"],"."],["header",{"level":4},"Defining custom rules"],["code_block","<form id=\"myform\">\n    <input name=\"username\"/> <br />\n    <input name=\"town\" /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n      rules: {\n        customRule1: function(input){\n          // all of the input must have a value\n          return $.trim(input.val()) !== \"\";\n        },\n        customRule2: function(input) {\n          //only 'Tom' will be valid value for the username input\n          if (input.is(\"[name=username]\")) {\n            return input.val() === \"Tom\";\n          }\n          return true;\n        }\n      },\n      messages: {\n        customRule1: \"All fields are required\",\n        customRule2: \"Your UserName must be Tom\"\n      }\n    });\n</script>"]]},{"name":"validateOnBlur","type":["Boolean"],"short_doc":[["para","Determines if validation will be triggered when element loses focus. Default value is true."]],"doc":[["para","Determines if validation will be triggered when element loses focus. Default value is true."],["header",{"level":4},"Example"],["code_block","<form id=\"myform\">\n    <input name=\"username\"/> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n      validateOnBlur: false\n    });\n</script>"]]}],"methods":[{"name":"errors","args":[],"short_doc":[["para","Get the error messages if any."]],"doc":[["para","Get the error messages if any."],["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n    <div id=\"errors\"></div>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate() === false) {\n        // get the errors and write them out to the \"errors\" html container\n        var errors = validatable.errors();\n        $(errors).each(function() {\n          $(\"#errors\").html(this);\n        });\n      }\n    });\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," Messages for the failed validation rules."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n    <div id=\"errors\"></div>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate() === false) {\n        // get the errors and write them out to the \"errors\" html container\n        var errors = validatable.errors();\n        $(errors).each(function() {\n          $(\"#errors\").html(this);\n        });\n      }\n    });\n</script>"]]]},{"name":"hideMessages","args":[],"short_doc":[["para","Hides the validation messages."]],"doc":[["para","Hides the validation messages."],["header",{"level":4},"Example"],["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Save</button>\n    <button id=\"hide\" type=\"button\">Hide Messages</button>\n</form>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //hide the validation messages when hide button is clicked\n    $(\"#hide\").click(function() {\n        validator.hideMessages();\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Save</button>\n    <button id=\"hide\" type=\"button\">Hide Messages</button>\n</form>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //hide the validation messages when hide button is clicked\n    $(\"#hide\").click(function() {\n        validator.hideMessages();\n    });\n</script>"]]]},{"name":"validate","args":[],"short_doc":[["para","Validates the input element(s) against the declared validation rules."]],"doc":[["para","Validates the input element(s) against the declared validation rules."],["header",{"level":4},"Example"],["code_block","  <div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </div>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the state on button click\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate()) {\n        //save the form\n      }\n    });\n  </script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if all validation rules passed successfully."],["para","Note that if a HTML form element is set as validation container, the form submits will be automatically prevented if validation fails."]],"examples":[[["header",{"level":4},"Example"],["code_block","  <div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </div>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the state on button click\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate()) {\n        //save the form\n      }\n    });\n  </script>"]]]},{"name":"validateInput","args":[{"name":"input","type":["Element","jQuery"],"short_doc":[["para","Input element to be validated."]],"doc":[["para","Input element to be validated."]]}],"short_doc":[["para","Validates the input element against the declared validation rules."]],"doc":[["para","Validates the input element against the declared validation rules."],["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input name=\"location\" required /> <br />\n\n    <button>Validate only userName field</button>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the userName input state on button click\n    $(\"button\").click(function() {\n      if (!validator.validateInput($(\"input[name=username]\"))) {\n        alert(\"UserName is not valid!\");\n      } else {\n        alert(\"UserName is valid!\");\n      }\n    });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"input ",["inlinecode","Element|jQuery"]],["para","Input element to be validated."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if all validation rules passed successfully."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input name=\"location\" required /> <br />\n\n    <button>Validate only userName field</button>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the userName input state on button click\n    $(\"button\").click(function() {\n      if (!validator.validateInput($(\"input[name=username]\"))) {\n        alert(\"UserName is not valid!\");\n      } else {\n        alert(\"UserName is valid!\");\n      }\n    });\n</script>"]]]}],"events":[{"name":"validate","args":[{"name":"e.sender","type":["kendo.ui.Validator"],"short_doc":[["para","The validator instance which fired the event."]],"doc":[["para","The validator instance which fired the event."]]}],"short_doc":[["para","Fired when validation completes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."]],"doc":[["para","Fired when validation completes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Validator"]],["para","The validator instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"validate\" event during initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container\n    $(\"form\").kendoValidator({\n        validate: function(e) {\n            console.log(\"valid\" + e.valid);\n        }\n    });\n  </script>"],["header",{"level":4},"Example - subscribe to the \"validate\" event after initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"form\").kendoValidator().data(\"kendoValidator\");\n\n    validatable.bind(\"validate\", function(e) {\n        console.log(\"valid\" + e.valid);\n    });\n  </script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"validate\" event during initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container\n    $(\"form\").kendoValidator({\n        validate: function(e) {\n            console.log(\"valid\" + e.valid);\n        }\n    });\n  </script>"]],[["header",{"level":4},"Example - subscribe to the \"validate\" event after initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"form\").kendoValidator().data(\"kendoValidator\");\n\n    validatable.bind(\"validate\", function(e) {\n        console.log(\"valid\" + e.valid);\n    });\n  </script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"errorTemplate ",["inlinecode","String"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the validation message."],["header",{"level":3},"Defining custom error template"],["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n        errorTemplate: \"<span>#=message#</span>\"\n    });\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","Set of messages (either strings or functions) which will be shown when given validation rule fails.\nBy setting already existing key the appropriate built-in message will be overridden."],["header",{"level":3},"Defining custom messages"],["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input type=\"email\" name=\"userEmail\" required data-message=\"My custom email message\" /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n         messages: {\n             // defines a message for the 'custom' validation rule\n             custom: \"Please enter valid value for my custom rule\",\n\n             // overrides the built-in message for the required rule\n             required: \"My custom required message\",\n\n             // overrides the built-in message for the email rule\n             // with a custom function that returns the actual message\n             email: function(input) {\n                 return getMessage(input);\n             }\n         },\n         rules: {\n           custom: function(input) {\n             if (input.is(\"[name=username]\")) {\n                 return input.val() === \"Tom\";\n             }\n             return true;\n           }\n         }\n    });\n\n    function getMessage(input) {\n      return input.data(\"message\");\n    }\n</script>"],["header",{"level":3},"rules ",["inlinecode","Object"]],["para","Set of custom validation rules. Those rules will extend the ",["link",{"href":"/getting-started/framework/validator/overview#default-validation-rules"},"built-in ones"],"."],["header",{"level":4},"Defining custom rules"],["code_block","<form id=\"myform\">\n    <input name=\"username\"/> <br />\n    <input name=\"town\" /> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n      rules: {\n        customRule1: function(input){\n          // all of the input must have a value\n          return $.trim(input.val()) !== \"\";\n        },\n        customRule2: function(input) {\n          //only 'Tom' will be valid value for the username input\n          if (input.is(\"[name=username]\")) {\n            return input.val() === \"Tom\";\n          }\n          return true;\n        }\n      },\n      messages: {\n        customRule1: \"All fields are required\",\n        customRule2: \"Your UserName must be Tom\"\n      }\n    });\n</script>"],["header",{"level":3},"validateOnBlur ",["inlinecode","Boolean"]],["para","Determines if validation will be triggered when element loses focus. Default value is true."],["header",{"level":4},"Example"],["code_block","<form id=\"myform\">\n    <input name=\"username\"/> <br />\n    <button>Validate</button>\n</form>\n\n<script>\n    $(\"#myform\").kendoValidator({\n      validateOnBlur: false\n    });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"errors"],["para","Get the error messages if any."],["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n    <div id=\"errors\"></div>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate() === false) {\n        // get the errors and write them out to the \"errors\" html container\n        var errors = validatable.errors();\n        $(errors).each(function() {\n          $(\"#errors\").html(this);\n        });\n      }\n    });\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," Messages for the failed validation rules."],["header",{"level":3},"hideMessages"],["para","Hides the validation messages."],["header",{"level":4},"Example"],["code_block","<form id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button>Save</button>\n    <button id=\"hide\" type=\"button\">Hide Messages</button>\n</form>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //hide the validation messages when hide button is clicked\n    $(\"#hide\").click(function() {\n        validator.hideMessages();\n    });\n</script>"],["header",{"level":3},"validate"],["para","Validates the input element(s) against the declared validation rules."],["header",{"level":4},"Example"],["code_block","  <div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </div>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the state on button click\n    $(\"#save\").click(function() {\n      //validate the input elements and check if there are any errors\n      if (validatable.validate()) {\n        //save the form\n      }\n    });\n  </script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if all validation rules passed successfully."],["para","Note that if a HTML form element is set as validation container, the form submits will be automatically prevented if validation fails."],["header",{"level":3},"validateInput"],["para","Validates the input element against the declared validation rules."],["header",{"level":4},"Example"],["code_block","<div id=\"myform\">\n    <input name=\"username\" required /> <br />\n    <input name=\"location\" required /> <br />\n\n    <button>Validate only userName field</button>\n</div>\n\n<script>\n    // attach a validator to the container and get a reference\n    var validator = $(\"#myform\").kendoValidator().data(\"kendoValidator\");\n\n    //validate the userName input state on button click\n    $(\"button\").click(function() {\n      if (!validator.validateInput($(\"input[name=username]\"))) {\n        alert(\"UserName is not valid!\");\n      } else {\n        alert(\"UserName is valid!\");\n      }\n    });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"input ",["inlinecode","Element|jQuery"]],["para","Input element to be validated."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," ",["inlinecode","true"]," if all validation rules passed successfully."],["header",{"level":2},"Events"],["header",{"level":3},"validate"],["para","Fired when validation completes."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the data source instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Validator"]],["para","The validator instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"validate\" event during initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container\n    $(\"form\").kendoValidator({\n        validate: function(e) {\n            console.log(\"valid\" + e.valid);\n        }\n    });\n  </script>"],["header",{"level":4},"Example - subscribe to the \"validate\" event after initialization"],["code_block","  <form>\n    <input name=\"username\" required /> <br />\n    <button id=\"save\">Save</button>\n  </form>\n\n  <script>\n    // attach a validator to the container and get a reference\n    var validatable = $(\"form\").kendoValidator().data(\"kendoValidator\");\n\n    validatable.bind(\"validate\", function(e) {\n        console.log(\"valid\" + e.valid);\n    });\n  </script>"]]},"kendo.View":{"file":"api/framework/view.md","name":"kendo.View","config":[{"name":"model","type":["ObservableObject"],"default":"null","short_doc":[["para","The MVVM model to bind the element to."]],"doc":[["para","The MVVM model to bind the element to."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n<script>\n var foo = { foo: \"foo\" }\n var view = new kendo.View('<span data-bind=\"text:foo\"></span>', { model: foo });\n view.render($(\"#app\"));\n</script>"]]},{"name":"tagName","type":["String"],"default":"\"div\"","short_doc":[["para","The tag used for the root element of the view."]],"doc":[["para","The tag used for the root element of the view."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { tagName: \"span\" });\nview.render($(\"#app\"));\n</script>"]]},{"name":"wrap","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","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."]],"doc":[["para","If set to ",["inlinecode","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."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View('<div id=\"foo\"></div>', { wrap: false });\nview.render($(\"#app\"));\nconsole.log(view.element.attr('id')) // foo\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Removes the ",["strong","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."]],"doc":[["para","Removes the ",["strong","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."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { tagName: \"span\" });\nview.render($(\"#app\"));\nview.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { tagName: \"span\" });\nview.render($(\"#app\"));\nview.destroy();\n</script>"]]]},{"name":"render","args":[{"name":"container","type":["jQuery"],"short_doc":[["para","(optional) the element in which the view element will be appended."]],"doc":[["para","(optional) the element in which the view element will be appended."]]}],"short_doc":[["para","Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended.\nAlternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation."]],"doc":[["para","Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended.\nAlternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\nindex.render(\"#app\");\n</script>"],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\n$(\"#app\").append(index.render());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","jQuery"]],["para","(optional) the element in which the view element will be appended."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the view element."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\nindex.render(\"#app\");\n</script>"]],[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\n$(\"#app\").append(index.render());\n</script>"]]]}],"events":[{"name":"hide","args":[],"short_doc":[["para","Fires when the View is replaced in a layout placeholder."]],"doc":[["para","Fires when the View is replaced in a layout placeholder."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar foo = new kendo.View(\"<span>Foo</span>\", { hide: function() { console.log(\"Foo is hidden now\"); });\nvar bar = new kendo.View(\"<span>Bar</span>\");\n\nvar layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\nlayout.render($(\"#app\"));\n\nlayout.showIn(\"#content\", foo);\nlayout.showIn(\"#content\", bar);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar foo = new kendo.View(\"<span>Foo</span>\", { hide: function() { console.log(\"Foo is hidden now\"); });\nvar bar = new kendo.View(\"<span>Bar</span>\");\n\nvar layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\nlayout.render($(\"#app\"));\n\nlayout.showIn(\"#content\", foo);\nlayout.showIn(\"#content\", bar);\n</script>"]]],"type":["Function"]},{"name":"init","args":[],"short_doc":[["para","Fires the first time the view renders."]],"doc":[["para","Fires the first time the view renders."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { init: function() { console.log(\"View is initiated\") } });\nview.render($(\"#app\"));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { init: function() { console.log(\"View is initiated\") } });\nview.render($(\"#app\"));\n</script>"]]],"type":["Function"]},{"name":"show","args":[],"short_doc":[["para","Fires when after the mobile View is rendered (either by calling ",["inlinecode","render"],", or by being rendered from the ",["strong","Layout"]," ",["inlinecode","showIn"]," method)."]],"doc":[["para","Fires when after the mobile View is rendered (either by calling ",["inlinecode","render"],", or by being rendered from the ",["strong","Layout"]," ",["inlinecode","showIn"]," method)."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { show: function() { console.log(\"View is rendered\") } });\nview.render($(\"#app\"));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { show: function() { console.log(\"View is rendered\") } });\nview.render($(\"#app\"));\n</script>"]]],"type":["Function"]}],"fields":[{"name":"element","type":["jQuery"],"short_doc":[["para","The element of the ",["strong","View"],". Gets instantiated after the ",["inlinecode","render"]," method is called."]],"doc":[["para","The element of the ",["strong","View"],". Gets instantiated after the ",["inlinecode","render"]," method is called."]]}],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"model ",["inlinecode","ObservableObject"],["em","(default: null)"]],["para","The MVVM model to bind the element to."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n<script>\n var foo = { foo: \"foo\" }\n var view = new kendo.View('<span data-bind=\"text:foo\"></span>', { model: foo });\n view.render($(\"#app\"));\n</script>"],["header",{"level":3},"tagName ",["inlinecode","String"]," ",["em","(default: \"div\")"]],["para","The tag used for the root element of the view."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { tagName: \"span\" });\nview.render($(\"#app\"));\n</script>"],["header",{"level":3},"wrap ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","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."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View('<div id=\"foo\"></div>', { wrap: false });\nview.render($(\"#app\"));\nconsole.log(view.element.attr('id')) // foo\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Removes the ",["strong","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."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { tagName: \"span\" });\nview.render($(\"#app\"));\nview.destroy();\n</script>"],["header",{"level":3},"render"],["para","Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended.\nAlternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\nindex.render(\"#app\");\n</script>"],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar index = new kendo.View('<span>Hello World!</span>');\n$(\"#app\").append(index.render());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","jQuery"]],["para","(optional) the element in which the view element will be appended."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the view element."],["header",{"level":2},"Events"],["header",{"level":3},"hide"],["para","Fires when the View is replaced in a layout placeholder."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar foo = new kendo.View(\"<span>Foo</span>\", { hide: function() { console.log(\"Foo is hidden now\"); });\nvar bar = new kendo.View(\"<span>Bar</span>\");\n\nvar layout = new kendo.Layout(\"<header>Header</header><section id=\"content\"></section><footer></footer>\");\n\nlayout.render($(\"#app\"));\n\nlayout.showIn(\"#content\", foo);\nlayout.showIn(\"#content\", bar);\n</script>"],["header",{"level":3},"init"],["para","Fires the first time the view renders."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { init: function() { console.log(\"View is initiated\") } });\nview.render($(\"#app\"));\n</script>"],["header",{"level":3},"show"],["para","Fires when after the mobile View is rendered (either by calling ",["inlinecode","render"],", or by being rendered from the ",["strong","Layout"]," ",["inlinecode","showIn"]," method)."],["header",{"level":4},"Example"],["code_block","<div id=\"app\"></div>\n\n<script>\nvar view = new kendo.View(\"Hi!\", { show: function() { console.log(\"View is rendered\") } });\nview.render($(\"#app\"));\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"element ",["inlinecode","jQuery"]],["para","The element of the ",["strong","View"],". Gets instantiated after the ",["inlinecode","render"]," method is called."]]},"kendo.ui.Widget":{"file":"api/framework/widget.md","name":"kendo.ui.Widget","config":[],"methods":[{"name":"bind","args":[],"short_doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."]],"doc":[["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."]],"examples":[]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes ",["inlinecode","jQuery.data"]," attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets."]],"doc":[["para","Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes ",["inlinecode","jQuery.data"]," attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets."]],"examples":[]},{"name":"one","args":[],"short_doc":[["para","Attaches a handler to an event. The handler is executed only once. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#one"},"one"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"doc":[["para","Attaches a handler to an event. The handler is executed only once. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#one"},"one"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"examples":[]},{"name":"trigger","args":[],"short_doc":[["para","Executes all handlers attached to the given event. More info can be found in the ",["link",{"href":"/api/framework/observable#trigger"},"trigger"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"doc":[["para","Executes all handlers attached to the given event. More info can be found in the ",["link",{"href":"/api/framework/observable#trigger"},"trigger"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"examples":[]},{"name":"unbind","args":[],"short_doc":[["para","Remove a previously attached event handler. More info can be found in the ",["link",{"href":"/api/framework/observable#unbind"},"unbind"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"doc":[["para","Remove a previously attached event handler. More info can be found in the ",["link",{"href":"/api/framework/observable#unbind"},"unbind"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]],"examples":[]}],"events":[],"fields":[],"short_doc":[["para","Base class of all Kendo UI widgets. Inherits from ",["link",{"href":"/api/framework/observable"},"Observable"],"."]],"doc":[["para","Base class of all Kendo UI widgets. Inherits from ",["link",{"href":"/api/framework/observable"},"Observable"],"."],["header",{"level":2},"Methods"],["header",{"level":3},"bind"],["para","Attaches a handler to an event. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#bind"},"bind"]," section of the ",["inlinecode","kendo.Observable"]," API reference."],["header",{"level":3},"destroy"],["para","Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes ",["inlinecode","jQuery.data"]," attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets."],["header",{"level":3},"one"],["para","Attaches a handler to an event. The handler is executed only once. Examples and more info can be found in the ",["link",{"href":"/api/framework/observable#one"},"one"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."],["header",{"level":3},"trigger"],["para","Executes all handlers attached to the given event. More info can be found in the ",["link",{"href":"/api/framework/observable#trigger"},"trigger"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."],["header",{"level":3},"unbind"],["para","Remove a previously attached event handler. More info can be found in the ",["link",{"href":"/api/framework/observable#unbind"},"unbind"]," section of the\n",["inlinecode","kendo.Observable"]," API reference."]]},"kendo.mobile.ui.ActionSheet":{"file":"api/mobile/actionsheet.md","name":"kendo.mobile.ui.ActionSheet","config":[{"name":"cancel","type":["String"],"default":"\"Cancel\"","short_doc":[["para"," The text of the cancel button."]],"doc":[["para"," The text of the cancel button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-cancel=\"Close\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"popup","type":["Object"],"short_doc":[["para","The popup configuration options (tablet only)."]],"doc":[["para","The popup configuration options (tablet only)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"height\": \"auto\", \"width\": 200, \"direction\": \"left\" }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"sub":[{"name":"width","type":["Number","String"],"default":"240","short_doc":[["para"," The width of the popup in pixels."]],"doc":[["para"," The width of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"width\": 400 }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.width"},{"name":"height","type":["Number","String"],"default":"\"auto\"","short_doc":[["para"," The height of the popup in pixels."]],"doc":[["para"," The height of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"height\": 400 }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.height"},{"name":"direction","type":["Number","String"],"default":"\"down\"","short_doc":[["para"," The direction to which the popup will expand, relative to the target that opened it."]],"doc":[["para"," The direction to which the popup will expand, relative to the target that opened it."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"direction\": \"left\" }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.direction"}]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Close the ActionSheet."]],"doc":[["para","Close the ActionSheet."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n      <li><a data-action=\"close\">Close</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction close() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").close();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n      <li><a data-action=\"close\">Close</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction close() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").close();\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ActionSheet"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ActionSheet element from DOM."]]],"doc":[["para","Prepares the ",["strong","ActionSheet"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ActionSheet element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  // detach events\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").destroy();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  // detach events\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").destroy();\n}\n</script>"]]]},{"name":"open","args":[{"name":"target","type":["jQuery"],"short_doc":[["para","(optional) The target element of the ActionSheet, available in the callback methods."],["para",["strong","Notice"]," The target element is ",["strong","mandatory"]," on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected."]],"doc":[["para","(optional) The target element of the ActionSheet, available in the callback methods."],["para",["strong","Notice"]," The target element is ",["strong","mandatory"]," on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected."]]},{"name":"context","type":["Object"],"short_doc":[["para","(optional) The context of the ActionSheet, available in the callback methods."]],"doc":[["para","(optional) The context of the ActionSheet, available in the callback methods."]]}],"short_doc":[["para","Open the ActionSheet."]],"doc":[["para","Open the ActionSheet."],["header",{"level":4},"Example - opens the widget each time the View becomes visible"],["code_block","<div data-role=\"view\" data-show=\"onShow\">\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").open();\n}\n</script>"],["header",{"level":4},"Example"],["code_block","<ul data-role=\"listview\">\n  <li> Foo <a data-role=\"button\" id=\"button\">Delete</a></li>\n</ul>\n\n<ul data-role=\"actionsheet\" id=\"actionsheet\">\n  <li><a>Foo</a></li>\n  <li><a>Bar</a></li>\n</ul>\n\n<script>\n$(\"#actionsheet\").data(\"kendoMobileActionSheet\").open($(\"#button\"));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","(optional) The target element of the ActionSheet, available in the callback methods."],["para",["strong","Notice"]," The target element is ",["strong","mandatory"]," on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected."],["header",{"level":5},"context ",["inlinecode","Object"]],["para","(optional) The context of the ActionSheet, available in the callback methods."]],"examples":[[["header",{"level":4},"Example - opens the widget each time the View becomes visible"],["code_block","<div data-role=\"view\" data-show=\"onShow\">\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").open();\n}\n</script>"]],[["header",{"level":4},"Example"],["code_block","<ul data-role=\"listview\">\n  <li> Foo <a data-role=\"button\" id=\"button\">Delete</a></li>\n</ul>\n\n<ul data-role=\"actionsheet\" id=\"actionsheet\">\n  <li><a>Foo</a></li>\n  <li><a>Bar</a></li>\n</ul>\n\n<script>\n$(\"#actionsheet\").data(\"kendoMobileActionSheet\").open($(\"#button\"));\n</script>"]]]}],"events":[{"name":"close","args":[],"short_doc":[["para","Fires when the ActionSheet is closed."]],"doc":[["para","Fires when the ActionSheet is closed."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-close=\"onClose\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onClose() {\n    console.log(\"closed\");\n  }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-close=\"onClose\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onClose() {\n    console.log(\"closed\");\n  }\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The invocation target of the ActionSheet."]],"doc":[["para","The invocation target of the ActionSheet."]]},{"name":"e.context","type":["jQuery"],"short_doc":[["para","The defined ActionSheet context."]],"doc":[["para","The defined ActionSheet context."]]}],"short_doc":[["para","Fires when the ActionSheet is opened."]],"doc":[["para","Fires when the ActionSheet is opened."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-open=\"onOpen\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onOpen() {\n    console.log(\"opened\");\n  }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The invocation target of the ActionSheet."],["header",{"level":5},"e.context ",["inlinecode","jQuery"]],["para","The defined ActionSheet context."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-open=\"onOpen\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onOpen() {\n    console.log(\"opened\");\n  }\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile ActionSheet widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile ActionSheet widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"cancel ",["inlinecode","String"],["em","(default: \"Cancel\")"]],["para"," The text of the cancel button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-cancel=\"Close\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup ",["inlinecode","Object"]],["para","The popup configuration options (tablet only)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"height\": \"auto\", \"width\": 200, \"direction\": \"left\" }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup.direction ",["inlinecode","Number | String"],["em","(default: \"down\")"]],["para"," The direction to which the popup will expand, relative to the target that opened it."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"direction\": \"left\" }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup.height ",["inlinecode","Number | String"],["em","(default: \"auto\")"]],["para"," The height of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"height\": 400 }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup.width ",["inlinecode","Number | String"],["em","(default: 240)"]],["para"," The width of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-popup='{ \"width\": 400 }'>\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Close the ActionSheet."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n      <li><a data-action=\"close\">Close</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction close() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").close();\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ActionSheet"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ActionSheet element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  // detach events\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").destroy();\n}\n</script>"],["header",{"level":3},"open"],["para","Open the ActionSheet."],["header",{"level":4},"Example - opens the widget each time the View becomes visible"],["code_block","<div data-role=\"view\" data-show=\"onShow\">\n  <ul id=\"actionsheet\" data-role=\"actionsheet\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow() {\n  $(\"#actionsheet\").data(\"kendoMobileActionSheet\").open();\n}\n</script>"],["header",{"level":4},"Example"],["code_block","<ul data-role=\"listview\">\n  <li> Foo <a data-role=\"button\" id=\"button\">Delete</a></li>\n</ul>\n\n<ul data-role=\"actionsheet\" id=\"actionsheet\">\n  <li><a>Foo</a></li>\n  <li><a>Bar</a></li>\n</ul>\n\n<script>\n$(\"#actionsheet\").data(\"kendoMobileActionSheet\").open($(\"#button\"));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","(optional) The target element of the ActionSheet, available in the callback methods."],["para",["strong","Notice"]," The target element is ",["strong","mandatory"]," on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected."],["header",{"level":5},"context ",["inlinecode","Object"]],["para","(optional) The context of the ActionSheet, available in the callback methods."],["header",{"level":2},"Events"],["header",{"level":3},"close"],["para","Fires when the ActionSheet is closed."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-close=\"onClose\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onClose() {\n    console.log(\"closed\");\n  }\n</script>"],["header",{"level":3},"open"],["para","Fires when the ActionSheet is opened."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-rel=\"actionsheet\" href=\"#actionsheet\">Open</a>\n  <ul id=\"actionsheet\" data-role=\"actionsheet\" data-open=\"onOpen\">\n    <li><a>Foo</a></li>\n    <li><a>Bar</a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function onOpen() {\n    console.log(\"opened\");\n  }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The invocation target of the ActionSheet."],["header",{"level":5},"e.context ",["inlinecode","jQuery"]],["para","The defined ActionSheet context."]]},"kendo.mobile.Application":{"file":"api/mobile/application.md","name":"kendo.mobile.Application","config":[{"name":"hideAddressBar","type":["Boolean"],"default":"true","short_doc":[["para","Whether to hide the browser address bar. Supported only in iPhone and iPod. Doesn't affect standalone mode as there the address bar is always hidden."]],"doc":[["para","Whether to hide the browser address bar. Supported only in iPhone and iPod. Doesn't affect standalone mode as there the address bar is always hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { hideAddressBar: false });\n</script>"]]},{"name":"updateDocumentTitle","type":["Boolean"],"default":"true","short_doc":[["para","Whether to update the document title."]],"doc":[["para","Whether to update the document title."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { updateDocumentTitle: false });\n</script>"]]},{"name":"initial","type":["String"],"short_doc":[["para","The id of the initial mobile View to display."]],"doc":[["para","The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<div data-role=\"view\" id=\"bar\"><a data-role=\"button\">Bar</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { initial: \"#bar\" });\n</script>"]]},{"name":"layout","type":["String"],"short_doc":[["para","The id of the default Application layout."]],"doc":[["para","The id of the default Application layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<div data-role=\"layout\" data-id=\"foo\">\n  <div data-role=\"header\">Header</div>\n</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { layout: \"foo\" });\n</script>"]]},{"name":"loading","type":["String"],"default":"\"&lt;h1&gt;Loading...&lt;/h1&gt;\"","short_doc":[["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["para"," ",["em","Note"],": The text should be wrapped inside ",["inlinecode","<h1>"]," tag."]],"doc":[["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["para"," ",["em","Note"],": The text should be wrapped inside ",["inlinecode","<h1>"]," tag."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), {\n    loading: \"<h1>Please wait...</h1>\"\n});\n</script>"]]},{"name":"platform","type":["String"],"short_doc":[["para","Which platform look to force on the application. Supported values are ",["inlinecode","\"ios\""]," (meaning iOS 6 look), ",["inlinecode","\"ios7\""],",",["inlinecode","\"android\""],", ",["inlinecode","\"blackberry\""]," and ",["inlinecode","\"wp\""],"."]],"doc":[["para","Which platform look to force on the application. Supported values are ",["inlinecode","\"ios\""]," (meaning iOS 6 look), ",["inlinecode","\"ios7\""],",",["inlinecode","\"android\""],", ",["inlinecode","\"blackberry\""]," and ",["inlinecode","\"wp\""],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), {\n    platform: \"android\"\n});\n</script>"]]},{"name":"serverNavigation","type":["Boolean"],"short_doc":[["para","If set to true, the application will not use AJAX to load remote views."],["blockquote",["para","Using this configuration option will affect the user experience, as blank screens will be visible between application states. As the page will be completely reloaded, the application state will not be transferred to the next view."]]],"doc":[["para","If set to true, the application will not use AJAX to load remote views."],["blockquote",["para","Using this configuration option will affect the user experience, as blank screens will be visible between application states. As the page will be completely reloaded, the application state will not be transferred to the next view."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar <a data-role=\"button\" href=\"another-view.html\">Go to another page</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { serverNavigation: true });\n</script>"]]},{"name":"skin","type":["String"],"short_doc":[["para","The skin to apply to the application. Currently, Kendo UI Mobile ships with a ",["strong","flat"]," skin in addition to the native looking ones."],["blockquote",["para","The skin setting will be applied on any device, making the application look the same way."]]],"doc":[["para","The skin to apply to the application. Currently, Kendo UI Mobile ships with a ",["strong","flat"]," skin in addition to the native looking ones."],["blockquote",["para","The skin setting will be applied on any device, making the application look the same way."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\n     new kendo.mobile.Application($(document.body), {\n         skin: \"flat\"\n     });\n</script>"]]},{"name":"statusBarStyle","type":["String"],"default":"\"black\"","short_doc":[["para","Set the status bar style meta tag in iOS used to control the styling of the status bar in a pinned to the Home Screen app. Available as of Q2 2013 SP."],["blockquote",["para","The default setting of \"black\" pushes down the content of the page, while the rest overlay it. To create seamless status bar in iOS7,\ncheck ",["link",{"href":"/getting-started/mobile/application#seamless-status-bar-in-ios7"},"Seamless Status Bar in iOS7"]," section in Mobile Application's Getting Started page."]]],"doc":[["para","Set the status bar style meta tag in iOS used to control the styling of the status bar in a pinned to the Home Screen app. Available as of Q2 2013 SP."],["blockquote",["para","The default setting of \"black\" pushes down the content of the page, while the rest overlay it. To create seamless status bar in iOS7,\ncheck ",["link",{"href":"/getting-started/mobile/application#seamless-status-bar-in-ios7"},"Seamless Status Bar in iOS7"]," section in Mobile Application's Getting Started page."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n    new kendo.mobile.Application($(document.body), {\n        statusBarStyle: \"black\"\n    });\n</script>"]]},{"name":"transition","type":["String"],"short_doc":[["para","The default View transition."]],"doc":[["para","The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n<div data-role=\"view\" id=\"bar\"><a data-role=\"button\" href=\"#foo\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { transition: \"slide\" });\n</script>"]]},{"name":"webAppCapable","type":["Boolean"],"short_doc":[["para","Disables the default behavior of Kendo UI Mobile apps to be web app capable (open in a chromeless browser). Introduced in Q2 2013."]],"doc":[["para","Disables the default behavior of Kendo UI Mobile apps to be web app capable (open in a chromeless browser). Introduced in Q2 2013."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { webAppCapable: false });\n</script>"]]}],"methods":[{"name":"changeLoadingMessage","args":[{"name":"text","type":["String"],"short_doc":[["para","New text of the loading animation."]],"doc":[["para","New text of the loading animation."]]}],"short_doc":[["para","Changes the loading message."]],"doc":[["para","Changes the loading message."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"showLoading\">Show loading</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function showLoading() {\n        app.showLoading();\n        setTimeout(function() {\n            app.changeLoadingMessage(\"Please wait...\");\n        }, 1000);\n    }\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","New text of the loading animation."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"showLoading\">Show loading</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function showLoading() {\n        app.showLoading();\n        setTimeout(function() {\n            app.changeLoadingMessage(\"Please wait...\");\n        }, 1000);\n    }\n</script>"]]]},{"name":"hideLoading","args":[],"short_doc":[["para","Hide the loading animation."]],"doc":[["para","Hide the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"]]]},{"name":"navigate","args":[{"name":"url","type":["String"],"short_doc":[["para","The id or url of the view."]],"doc":[["para","The id or url of the view."]]},{"name":"transition","type":["String"],"short_doc":[["para","Optional. The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions section"]," for more information."]],"doc":[["para","Optional. The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions section"]," for more information."],["header",{"level":6},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\">Settings</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"#settings\", \"slide\");\n    }\n</script>"]]}],"short_doc":[["para","Navigate to local or to remote view."]],"doc":[["para","Navigate to local or to remote view."],["header",{"level":4},"Navigate to a remote view"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"settings.html\"); // the url of the remote view\n    }\n</script>"],["header",{"level":4},"Navigate to a local view"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\">Settings</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"#settings\"); // the id of the local view\n    }\n</script>"],["header",{"level":4},"Navigate backwards to the previously visited mobile View"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#settings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\"><a data-role=\"button\" data-click=\"goBack\">Back</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function goBack() {\n        app.navigate(\"#:back\");\n    }\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The id or url of the view."],["header",{"level":5},"transition ",["inlinecode","String"]],["para","Optional. The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions section"]," for more information."],["header",{"level":6},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\">Settings</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"#settings\", \"slide\");\n    }\n</script>"]],"examples":[]},{"name":"scroller","args":[],"short_doc":[["para","Get a reference to the current view's scroller widget instance."]],"doc":[["para","Get a reference to the current view's scroller widget instance."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><div style=\"height: 1000px\">Scroll a bit... </div><a data-role=\"button\" data-click=\"resetScroller\">Bar</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function resetScroller() {\n        app.scroller().reset();\n    }\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.Scroller"]," the scroller widget instance."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><div style=\"height: 1000px\">Scroll a bit... </div><a data-role=\"button\" data-click=\"resetScroller\">Bar</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function resetScroller() {\n        app.scroller().reset();\n    }\n</script>"]]]},{"name":"showLoading","args":[],"short_doc":[["para","Show the loading animation."]],"doc":[["para","Show the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"]]]},{"name":"skin","args":[{"name":"skin","type":["String"],"short_doc":[["para","The skin name to switch to or empty string (\"\") to return to native."]],"doc":[["para","The skin name to switch to or empty string (\"\") to return to native."]]}],"short_doc":[["para","Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013."]],"doc":[["para","Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n          app.skin(\"flat\");\n  });\n\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"skin ",["inlinecode","String"]],["para","The skin name to switch to or empty string (\"\") to return to native."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," Current skin in effect."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n          app.skin(\"flat\");\n  });\n\n</script>"]]]},{"name":"view","args":[],"short_doc":[["para","Get a reference to the current view."]],"doc":[["para","Get a reference to the current view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function logCurrentView() {\n        console.log(app.view()); // the foo mobile view instance\n    }\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.View"]," the view instance."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function logCurrentView() {\n        console.log(app.view()); // the foo mobile view instance\n    }\n</script>"]]]}],"events":[{"name":"init","args":[],"short_doc":[["para","Fires after the mobile application is instantiated."]],"doc":[["para","Fires after the mobile application is instantiated."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application(document.body, {\n        init: function() {\n            console.log(\"Kendo UI Mobile application is ready\");\n        }\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application(document.body, {\n        init: function() {\n            console.log(\"Kendo UI Mobile application is ready\");\n        }\n    });\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"hideAddressBar ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Whether to hide the browser address bar. Supported only in iPhone and iPod. Doesn't affect standalone mode as there the address bar is always hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { hideAddressBar: false });\n</script>"],["header",{"level":3},"updateDocumentTitle ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Whether to update the document title."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { updateDocumentTitle: false });\n</script>"],["header",{"level":3},"initial ",["inlinecode","String"]],["para","The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<div data-role=\"view\" id=\"bar\"><a data-role=\"button\">Bar</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { initial: \"#bar\" });\n</script>"],["header",{"level":3},"layout ",["inlinecode","String"]],["para","The id of the default Application layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<div data-role=\"layout\" data-id=\"foo\">\n  <div data-role=\"header\">Header</div>\n</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { layout: \"foo\" });\n</script>"],["header",{"level":3},"loading ",["inlinecode","String"],["em","(default: \"&lt;h1&gt;Loading...&lt;/h1&gt;\")"]],["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["para"," ",["em","Note"],": The text should be wrapped inside ",["inlinecode","<h1>"]," tag."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), {\n    loading: \"<h1>Please wait...</h1>\"\n});\n</script>"],["header",{"level":3},"platform ",["inlinecode","String"]],["para","Which platform look to force on the application. Supported values are ",["inlinecode","\"ios\""]," (meaning iOS 6 look), ",["inlinecode","\"ios7\""],",",["inlinecode","\"android\""],", ",["inlinecode","\"blackberry\""]," and ",["inlinecode","\"wp\""],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar</div>\n\n<script>\nnew kendo.mobile.Application($(document.body), {\n    platform: \"android\"\n});\n</script>"],["header",{"level":3},"serverNavigation ",["inlinecode","Boolean"]," ",["strong","(default: false)"]],["para","If set to true, the application will not use AJAX to load remote views."],["blockquote",["para","Using this configuration option will affect the user experience, as blank screens will be visible between application states. As the page will be completely reloaded, the application state will not be transferred to the next view."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">Bar <a data-role=\"button\" href=\"another-view.html\">Go to another page</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { serverNavigation: true });\n</script>"],["header",{"level":3},"skin ",["inlinecode","String"]],["para","The skin to apply to the application. Currently, Kendo UI Mobile ships with a ",["strong","flat"]," skin in addition to the native looking ones."],["blockquote",["para","The skin setting will be applied on any device, making the application look the same way."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\"><a data-role=\"button\">Foo</a></div>\n\n<script>\n     new kendo.mobile.Application($(document.body), {\n         skin: \"flat\"\n     });\n</script>"],["header",{"level":3},"statusBarStyle ",["inlinecode","String"],["em","(default: \"black\")"]],["para","Set the status bar style meta tag in iOS used to control the styling of the status bar in a pinned to the Home Screen app. Available as of Q2 2013 SP."],["blockquote",["para","The default setting of \"black\" pushes down the content of the page, while the rest overlay it. To create seamless status bar in iOS7,\ncheck ",["link",{"href":"/getting-started/mobile/application#seamless-status-bar-in-ios7"},"Seamless Status Bar in iOS7"]," section in Mobile Application's Getting Started page."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n    new kendo.mobile.Application($(document.body), {\n        statusBarStyle: \"black\"\n    });\n</script>"],["header",{"level":3},"transition ",["inlinecode","String"]],["para","The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n<div data-role=\"view\" id=\"bar\"><a data-role=\"button\" href=\"#foo\">Foo</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { transition: \"slide\" });\n</script>"],["header",{"level":3},"webAppCapable ",["inlinecode","Boolean"]," ",["strong","(default: true)"]],["para","Disables the default behavior of Kendo UI Mobile apps to be web app capable (open in a chromeless browser). Introduced in Q2 2013."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\nnew kendo.mobile.Application($(document.body), { webAppCapable: false });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"changeLoadingMessage"],["para","Changes the loading message."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"showLoading\">Show loading</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function showLoading() {\n        app.showLoading();\n        setTimeout(function() {\n            app.changeLoadingMessage(\"Please wait...\");\n        }, 1000);\n    }\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","New text of the loading animation."],["header",{"level":3},"hideLoading"],["para","Hide the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"],["header",{"level":3},"navigate"],["para","Navigate to local or to remote view."],["header",{"level":4},"Navigate to a remote view"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"settings.html\"); // the url of the remote view\n    }\n</script>"],["header",{"level":4},"Navigate to a local view"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\">Settings</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"#settings\"); // the id of the local view\n    }\n</script>"],["header",{"level":4},"Navigate backwards to the previously visited mobile View"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#settings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\"><a data-role=\"button\" data-click=\"goBack\">Back</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function goBack() {\n        app.navigate(\"#:back\");\n    }\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The id or url of the view."],["header",{"level":5},"transition ",["inlinecode","String"]],["para","Optional. The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions section"]," for more information."],["header",{"level":6},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" data-click=\"navigateToSettings\">Bar</a></div>\n<div data-role=\"view\" id=\"settings\">Settings</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function navigateToSettings() {\n        app.navigate(\"#settings\", \"slide\");\n    }\n</script>"],["header",{"level":3},"scroller"],["para","Get a reference to the current view's scroller widget instance."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><div style=\"height: 1000px\">Scroll a bit... </div><a data-role=\"button\" data-click=\"resetScroller\">Bar</a></div>\n\n<script>\n    var app = new kendo.mobile.Application();\n\n    function resetScroller() {\n        app.scroller().reset();\n    }\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.Scroller"]," the scroller widget instance."],["header",{"level":3},"showLoading"],["para","Show the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n    app.showLoading();\n    setTimeout(function() {\n        app.hideLoading();\n    }, 2000);\n  });\n</script>"],["header",{"level":3},"skin"],["para","Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\"><a data-role=\"button\" href=\"#bar\">Bar</a></div>\n\n<script>\n  var app = new kendo.mobile.Application();\n  $(function() {\n          app.skin(\"flat\");\n  });\n\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"skin ",["inlinecode","String"]],["para","The skin name to switch to or empty string (\"\") to return to native."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," Current skin in effect."],["header",{"level":3},"view"],["para","Get a reference to the current view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function logCurrentView() {\n        console.log(app.view()); // the foo mobile view instance\n    }\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.View"]," the view instance."],["header",{"level":2},"Events"],["header",{"level":3},"init"],["para","Fires after the mobile application is instantiated."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a id=\"button\" data-role=\"button\" data-click=\"logCurrentView\">I am a mobile button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application(document.body, {\n        init: function() {\n            console.log(\"Kendo UI Mobile application is ready\");\n        }\n    });\n</script>"]]},"kendo.mobile.ui.BackButton":{"file":"api/mobile/backbutton.md","name":"kendo.mobile.ui.BackButton","config":[],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","BackButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the BackButton element from DOM."]]],"doc":[["para","Prepares the ",["strong","BackButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the BackButton element from DOM."]],["header",{"level":4},"Example"],["code_block","  <div id=\"foo\" data-role=\"view\">\n    <a id=\"backbutton\" data-role=\"backbutton\">Back</a>\n    <a data-role=\"button\" data-click=\"destroy\">Destroy it</a>\n  </div>\n\n  <script>\n  var app = new kendo.mobile.Application();\n\n  function destroy() {\n    $(\"#backbutton\").data(\"kendoMobileBackButton\").destroy();\n  }\n  </script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","  <div id=\"foo\" data-role=\"view\">\n    <a id=\"backbutton\" data-role=\"backbutton\">Back</a>\n    <a data-role=\"button\" data-click=\"destroy\">Destroy it</a>\n  </div>\n\n  <script>\n  var app = new kendo.mobile.Application();\n\n  function destroy() {\n    $(\"#backbutton\").data(\"kendoMobileBackButton\").destroy();\n  }\n  </script>"]]]}],"events":[{"name":"click","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The clicked DOM element"]],"doc":[["para","The clicked DOM element"]]},{"name":"e.button","type":["jQuery"],"short_doc":[["para","The button DOM element"]],"doc":[["para","The button DOM element"]]}],"short_doc":[["para","Fires when the user taps the button."]],"doc":[["para","Fires when the user taps the button."],["header",{"level":4},"Example - prevent navigation"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" href=\"#bar\">Foo</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n  <a data-role=\"backbutton\" data-click=\"onClick\">Back</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  e.preventDefault(); //prevent navigating back\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"]],"examples":[[["header",{"level":4},"Example - prevent navigation"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" href=\"#bar\">Foo</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n  <a data-role=\"backbutton\" data-click=\"onClick\">Back</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  e.preventDefault(); //prevent navigating back\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile BackButton widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile BackButton widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"BackButton"],["para","The mobile BackButton widget navigates to the previously visited mobile View when pressed. A view can be explicitly set using the ",["inlinecode","href"]," attribute."],["header",{"level":4},"Initialize Kendo mobile BackButton based on role data attribute"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" href=\"#bar\">Foo</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n  <a data-role=\"backbutton\">Back</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":4},"Initialize Kendo mobile BackButton using jQuery plugin syntax"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" href=\"#bar\">Foo</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-init=\"onInit\">\n  <a id=\"backbutton\">Back</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  $(\"#backbutton\").kendoMobileBackButton();\n}\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","BackButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the BackButton element from DOM."]],["header",{"level":4},"Example"],["code_block","  <div id=\"foo\" data-role=\"view\">\n    <a id=\"backbutton\" data-role=\"backbutton\">Back</a>\n    <a data-role=\"button\" data-click=\"destroy\">Destroy it</a>\n  </div>\n\n  <script>\n  var app = new kendo.mobile.Application();\n\n  function destroy() {\n    $(\"#backbutton\").data(\"kendoMobileBackButton\").destroy();\n  }\n  </script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fires when the user taps the button."],["header",{"level":4},"Example - prevent navigation"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" href=\"#bar\">Foo</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n  <a data-role=\"backbutton\" data-click=\"onClick\">Back</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  e.preventDefault(); //prevent navigating back\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"]]},"kendo.mobile.ui.Button":{"file":"api/mobile/button.md","name":"kendo.mobile.ui.Button","config":[{"name":"badge","type":["String"],"short_doc":[["para"," The badge of the button."]],"doc":[["para"," The badge of the button."],["header",{"level":4},"Example - configuration based on data attributes"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-badge=\"10\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example - configuration based on jQuery plugin syntax"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <a id=\"button\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  $(\"#button\").kendoMobileButton({ badge: 10 });\n}\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to click it. The widget is enabled by default."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to click it. The widget is enabled by default."],["header",{"level":4},"Example - initialize disabled button."],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-enable=\"false\" data-click=\"onClick\">Button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function onClick() {\n        console.log(\"click\");\n    }\n</script>"]]},{"name":"icon","type":["String"],"short_doc":[["para"," The icon of the button. It can be either one of the built-in icons, or a custom one."]],"doc":[["para"," The icon of the button. It can be either one of the built-in icons, or a custom one."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-icon=\"play\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"badge","args":[{"name":"value","type":["String","Boolean"],"short_doc":[["para","The target value to be set or ",["inlinecode","false"]," to be removed."]],"doc":[["para","The target value to be set or ",["inlinecode","false"]," to be removed."]]}],"short_doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on the ",["strong","Button"]," with the specified value. If invoked without parameters, returns the current badge value. Set the value to ",["inlinecode","false"]," to remove the badge."]],"doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on the ",["strong","Button"]," with the specified value. If invoked without parameters, returns the current badge value. Set the value to ",["inlinecode","false"]," to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or ",["inlinecode","false"]," to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String | kendo.mobile.ui.Button"]," the badge value if invoked without parameters, otherwise the Button object."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-badge=\"1\" data-click=\"countClicks\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction countClicks() {\n    var badge = parseInt(this.badge()); //get badge value\n    badge++;\n    this.badge(badge); //set new badge value\n}\n</script>"],["header",{"level":4},"Example - remove the badge"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-badge=\"1\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBadge\">Remove badge</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction removeBadge() {\n  $(\"#btn\").data(\"kendoMobileButton\").badge(false);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-badge=\"1\" data-click=\"countClicks\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction countClicks() {\n    var badge = parseInt(this.badge()); //get badge value\n    badge++;\n    this.badge(badge); //set new badge value\n}\n</script>"]],[["header",{"level":4},"Example - remove the badge"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-badge=\"1\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBadge\">Remove badge</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction removeBadge() {\n  $(\"#btn\").data(\"kendoMobileButton\").badge(false);\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Button"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Button element from DOM."]]],"doc":[["para","Prepares the ",["strong","Button"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Button element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBtn\">Remove button</a>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function removeBtn() {\n    $(\"#btn\").data(\"kendoMobileButton\").destroy(); //detach events\n    $(\"#btn\").remove();\n  }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBtn\">Remove button</a>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function removeBtn() {\n    $(\"#btn\").data(\"kendoMobileButton\").destroy(); //detach events\n    $(\"#btn\").remove();\n  }\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether to enable or disable the widget."]],"doc":[["para","Whether to enable or disable the widget."]]}],"short_doc":[["para","Changes the enabled state of the widget."]],"doc":[["para","Changes the enabled state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Whether to enable or disable the widget."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a id=\"foo\" data-role=\"button\" data-click=\"onClick\">Button</a>\n    <input type=\"checkbox\" data-role=\"switch\" data-change=\"onChange\" />\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function change() {\n        $(\"#foo\").data(\"kendoMobileButton\").enable(this.check());\n    }\n    function onClick() {\n        console.log(\"click\");\n    }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a id=\"foo\" data-role=\"button\" data-click=\"onClick\">Button</a>\n    <input type=\"checkbox\" data-role=\"switch\" data-change=\"onChange\" />\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function change() {\n        $(\"#foo\").data(\"kendoMobileButton\").enable(this.check());\n    }\n    function onClick() {\n        console.log(\"click\");\n    }\n</script>"]]]}],"events":[{"name":"click","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The clicked DOM element"]],"doc":[["para","The clicked DOM element"]]},{"name":"e.button","type":["jQuery"],"short_doc":[["para","The button DOM element"]],"doc":[["para","The button DOM element"]]}],"short_doc":[["para","Fires when the user taps the button."]],"doc":[["para","Fires when the user taps the button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-click=\"onClick\">Click me!</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  console.log(\"clicked\");\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-click=\"onClick\">Click me!</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  console.log(\"clicked\");\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile Button widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile Button widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"badge ",["inlinecode","String"]],["para"," The badge of the button."],["header",{"level":4},"Example - configuration based on data attributes"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-badge=\"10\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example - configuration based on jQuery plugin syntax"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <a id=\"button\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  $(\"#button\").kendoMobileButton({ badge: 10 });\n}\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to click it. The widget is enabled by default."],["header",{"level":4},"Example - initialize disabled button."],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-enable=\"false\" data-click=\"onClick\">Button</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function onClick() {\n        console.log(\"click\");\n    }\n</script>"],["header",{"level":3},"icon ",["inlinecode","String"]],["para"," The icon of the button. It can be either one of the built-in icons, or a custom one."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-icon=\"play\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"badge"],["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on the ",["strong","Button"]," with the specified value. If invoked without parameters, returns the current badge value. Set the value to ",["inlinecode","false"]," to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or ",["inlinecode","false"]," to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String | kendo.mobile.ui.Button"]," the badge value if invoked without parameters, otherwise the Button object."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-badge=\"1\" data-click=\"countClicks\">Foo</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction countClicks() {\n    var badge = parseInt(this.badge()); //get badge value\n    badge++;\n    this.badge(badge); //set new badge value\n}\n</script>"],["header",{"level":4},"Example - remove the badge"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-badge=\"1\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBadge\">Remove badge</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction removeBadge() {\n  $(\"#btn\").data(\"kendoMobileButton\").badge(false);\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Button"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Button element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\">Foo</a>\n  <a data-role=\"button\" data-click=\"removeBtn\">Remove button</a>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n\n  function removeBtn() {\n    $(\"#btn\").data(\"kendoMobileButton\").destroy(); //detach events\n    $(\"#btn\").remove();\n  }\n</script>"],["header",{"level":3},"enable"],["para","Changes the enabled state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Whether to enable or disable the widget."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a id=\"foo\" data-role=\"button\" data-click=\"onClick\">Button</a>\n    <input type=\"checkbox\" data-role=\"switch\" data-change=\"onChange\" />\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function change() {\n        $(\"#foo\").data(\"kendoMobileButton\").enable(this.check());\n    }\n    function onClick() {\n        console.log(\"click\");\n    }\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fires when the user taps the button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a id=\"btn\" data-role=\"button\" data-click=\"onClick\">Click me!</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  console.log(\"clicked\");\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"]]},"kendo.mobile.ui.ButtonGroup":{"file":"api/mobile/buttongroup.md","name":"kendo.mobile.ui.ButtonGroup","config":[{"name":"index","type":["Number"],"short_doc":[["para","Defines the initially selected Button (zero based index)."]],"doc":[["para","Defines the initially selected Button (zero based index)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"buttongroup\" data-index=\"1\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"selectOn","type":["String"],"default":"\"down\"","short_doc":[["para","Sets the DOM event used to select the button. Accepts ",["inlinecode","\"up\""]," as an alias for ",["inlinecode","touchend"],", ",["inlinecode","mouseup"]," and ",["inlinecode","MSPointerUp"]," vendor specific events."],["para","By default, buttons are selected immediately after the user presses the button (on ",["inlinecode","touchstart"]," or ",["inlinecode","mousedown"]," or ",["inlinecode","MSPointerDown"],", depending on the mobile device).\nHowever, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to ",["inlinecode","\"up\""],"."]],"doc":[["para","Sets the DOM event used to select the button. Accepts ",["inlinecode","\"up\""]," as an alias for ",["inlinecode","touchend"],", ",["inlinecode","mouseup"]," and ",["inlinecode","MSPointerUp"]," vendor specific events."],["para","By default, buttons are selected immediately after the user presses the button (on ",["inlinecode","touchstart"]," or ",["inlinecode","mousedown"]," or ",["inlinecode","MSPointerDown"],", depending on the mobile device).\nHowever, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to ",["inlinecode","\"up\""],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"buttongroup\" data-select-on=\"up\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"badge","args":[{"name":"button","type":["Selector","Number"],"short_doc":[["para","The target button specified either as a jQuery selector/object or as an button index."]],"doc":[["para","The target button specified either as a jQuery selector/object or as an button index."]]},{"name":"value","type":["String","Boolean"],"short_doc":[["para","The target value to be set or false to be removed."]],"doc":[["para","The target value to be set or false to be removed."]]}],"short_doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ButtonGroup buttons with the specified value. If invoked without parameters, returns the button's current badge value. Set the value to false to remove the badge."]],"doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ButtonGroup buttons with the specified value. If invoked without parameters, returns the button's current badge value. Set the value to false to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"button ",["inlinecode","Selector|Number"]],["para","The target button specified either as a jQuery selector/object or as an button index."],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or false to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String|kendo.mobile.ui.Button"]," the badge value if invoked without parameters, otherwise the ButtonGroup object."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setBadges\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setBadges() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // Set the first button badge value to 5\n  buttongroup.badge(0, 5);\n  // Set the last button badge value to 10\n  buttongroup.badge(\"li:last\", 10);\n  // Get the current badge value on the first button.\n  console.log(buttongroup.badge(0));\n  // Remove the first button badge\n  buttongroup.badge(\"li:first\", false);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setBadges\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setBadges() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // Set the first button badge value to 5\n  buttongroup.badge(0, 5);\n  // Set the last button badge value to 10\n  buttongroup.badge(\"li:last\", 10);\n  // Get the current badge value on the first button.\n  console.log(buttongroup.badge(0));\n  // Remove the first button badge\n  buttongroup.badge(\"li:first\", false);\n}\n</script>"]]]},{"name":"current","args":[],"short_doc":[["para","Get the currently selected Button."]],"doc":[["para","Get the currently selected Button."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the jQuery object representing the currently selected button."],["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n    var index = this.current().index();\n    console.log(index);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n    var index = this.current().index();\n    console.log(index);\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ButtonGroup"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ButtonGroup element from DOM."]]],"doc":[["para","Prepares the ",["strong","ButtonGroup"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ButtonGroup element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n\n  <a data-role=\"button\" data-click=\"destroy\">Destroy the ButtonGroup</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#buttongroup\").data(\"kendoMobileButtonGroup\").destroy(); //detach events\n  $(\"#buttongroup\").remove(); //remove the button from the DOM\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n\n  <a data-role=\"button\" data-click=\"destroy\">Destroy the ButtonGroup</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#buttongroup\").data(\"kendoMobileButtonGroup\").destroy(); //detach events\n  $(\"#buttongroup\").remove(); //remove the button from the DOM\n}\n</script>"]]]},{"name":"select","args":[{"name":"li","type":["jQuery","Number"],"short_doc":[["para","LI element or index of the Button."]],"doc":[["para","LI element or index of the Button."]]}],"short_doc":[["para","Select a Button."]],"doc":[["para","Select a Button."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number"]],["para","LI element or index of the Button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setSelected\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setSelected() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // selects by jQuery object\n  buttongroup.select(buttongroup.element.children().eq(0));\n  // selects by index\n  buttongroup.select(1);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setSelected\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setSelected() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // selects by jQuery object\n  buttongroup.select(buttongroup.element.children().eq(0));\n  // selects by index\n  buttongroup.select(1);\n}\n</script>"]]]}],"events":[{"name":"select","args":[],"short_doc":[["para","Fires when a Button is selected."]],"doc":[["para","Fires when a Button is selected."],["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n  var index = this.current().index();\n  console.log(index);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n  var index = this.current().index();\n  console.log(index);\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile ButtonGroup widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile ButtonGroup widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"index ",["inlinecode","Number"]],["para","Defines the initially selected Button (zero based index)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"buttongroup\" data-index=\"1\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"selectOn ",["inlinecode","String"]," ",["em","(default \"down\")"]],["para","Sets the DOM event used to select the button. Accepts ",["inlinecode","\"up\""]," as an alias for ",["inlinecode","touchend"],", ",["inlinecode","mouseup"]," and ",["inlinecode","MSPointerUp"]," vendor specific events."],["para","By default, buttons are selected immediately after the user presses the button (on ",["inlinecode","touchstart"]," or ",["inlinecode","mousedown"]," or ",["inlinecode","MSPointerDown"],", depending on the mobile device).\nHowever, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to ",["inlinecode","\"up\""],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"buttongroup\" data-select-on=\"up\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"badge"],["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ButtonGroup buttons with the specified value. If invoked without parameters, returns the button's current badge value. Set the value to false to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"button ",["inlinecode","Selector|Number"]],["para","The target button specified either as a jQuery selector/object or as an button index."],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or false to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String|kendo.mobile.ui.Button"]," the badge value if invoked without parameters, otherwise the ButtonGroup object."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setBadges\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setBadges() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // Set the first button badge value to 5\n  buttongroup.badge(0, 5);\n  // Set the last button badge value to 10\n  buttongroup.badge(\"li:last\", 10);\n  // Get the current badge value on the first button.\n  console.log(buttongroup.badge(0));\n  // Remove the first button badge\n  buttongroup.badge(\"li:first\", false);\n}\n</script>"],["header",{"level":3},"current"],["para","Get the currently selected Button."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the jQuery object representing the currently selected button."],["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n    var index = this.current().index();\n    console.log(index);\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ButtonGroup"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ButtonGroup element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n\n  <a data-role=\"button\" data-click=\"destroy\">Destroy the ButtonGroup</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#buttongroup\").data(\"kendoMobileButtonGroup\").destroy(); //detach events\n  $(\"#buttongroup\").remove(); //remove the button from the DOM\n}\n</script>"],["header",{"level":3},"select"],["para","Select a Button."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number"]],["para","LI element or index of the Button."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"setSelected\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction setSelected() {\n  var buttongroup = $(\"#buttongroup\").data(\"kendoMobileButtonGroup\");\n\n  // selects by jQuery object\n  buttongroup.select(buttongroup.element.children().eq(0));\n  // selects by index\n  buttongroup.select(1);\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"select"],["para","Fires when a Button is selected."],["header",{"level":4},"Example - get the index of the currently selected Button"],["code_block","<div data-role=\"view\">\n  <ul id=\"buttongroup\" data-role=\"buttongroup\" data-select=\"onSelect\">\n    <li>Option 1</li>\n    <li>Option 2</li>\n    <li>Option 3</li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onSelect(e) {\n  var index = this.current().index();\n  console.log(index);\n}\n</script>"]]},"kendo.mobile.ui.DetailButton":{"file":"api/mobile/detailbutton.md","name":"kendo.mobile.ui.DetailButton","config":[],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","DetailButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DetailButton element from DOM."]]],"doc":[["para","Prepares the ",["strong","DetailButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DetailButton element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <ul data-role=\"listview\">\n     <li>Item 1<a data-role=\"detailbutton\"></a></li>\n     <li>Item 2<a data-role=\"detailbutton\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n$(\".km-listview\")\n  .find(\"[data-role='detailbutton']\")\n  .each(function(idx, item) {\n    $(item).data(\"kendoMobileDetailButton\").destroy(); //detach events\n    $(item).remove(); //remove element from the DOM\n  });\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <ul data-role=\"listview\">\n     <li>Item 1<a data-role=\"detailbutton\"></a></li>\n     <li>Item 2<a data-role=\"detailbutton\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n$(\".km-listview\")\n  .find(\"[data-role='detailbutton']\")\n  .each(function(idx, item) {\n    $(item).data(\"kendoMobileDetailButton\").destroy(); //detach events\n    $(item).remove(); //remove element from the DOM\n  });\n}\n</script>"]]]}],"events":[{"name":"click","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The clicked DOM element"]],"doc":[["para","The clicked DOM element"]]},{"name":"e.button","type":["jQuery"],"short_doc":[["para","The button DOM element"]],"doc":[["para","The button DOM element"]]}],"short_doc":[["para","Fires when the user taps the button."]],"doc":[["para","Fires when the user taps the button."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"],["header",{"level":4},"Example - get the item to which DetailButton belongs to"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\">\n    <li>Item 1<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 2<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 3<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick(e) {\nvar item = e.button.closest(\"li\"); //get the item\nitem.css(\"background\", \"yellow\"); //change its background\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - get the item to which DetailButton belongs to"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\">\n    <li>Item 1<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 2<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 3<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick(e) {\nvar item = e.button.closest(\"li\"); //get the item\nitem.css(\"background\", \"yellow\"); //change its background\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile DetailButton widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile DetailButton widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"DetailButton"],["para","The DetailButton widget navigates to a mobile View when pressed."],["header",{"level":4},"Initialize Kendo mobile DetailButton based on role data attribute"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\">\n    <li>Item 1<a data-role=\"detailbutton\"></a></li>\n    <li>Item 2<a data-role=\"detailbutton\"></a></li>\n  </ul>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","DetailButton"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DetailButton element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <ul data-role=\"listview\">\n     <li>Item 1<a data-role=\"detailbutton\"></a></li>\n     <li>Item 2<a data-role=\"detailbutton\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n$(\".km-listview\")\n  .find(\"[data-role='detailbutton']\")\n  .each(function(idx, item) {\n    $(item).data(\"kendoMobileDetailButton\").destroy(); //detach events\n    $(item).remove(); //remove element from the DOM\n  });\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fires when the user taps the button."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The clicked DOM element"],["header",{"level":5},"e.button ",["inlinecode","jQuery"]],["para","The button DOM element"],["header",{"level":4},"Example - get the item to which DetailButton belongs to"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\">\n    <li>Item 1<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 2<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n    <li>Item 3<a data-role=\"detailbutton\" data-style=\"rowinsert\" data-click=\"onClick\"></a></li>\n  </ul>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick(e) {\nvar item = e.button.closest(\"li\"); //get the item\nitem.css(\"background\", \"yellow\"); //change its background\n}\n</script>"]]},"kendo.mobile.ui.Drawer":{"file":"api/mobile/drawer.md","name":"kendo.mobile.ui.Drawer","config":[{"name":"position","type":["String"],"default":"'left'","short_doc":[["para","The position of the drawer. Can be ",["inlinecode","left"]," (default) or ",["inlinecode","right"],"."]],"doc":[["para","The position of the drawer. Can be ",["inlinecode","left"]," (default) or ",["inlinecode","right"],"."],["header",{"level":4},"Right positioned drawer"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\" data-position=\"right\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"swipeToOpen","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"],", swiping the view will not activate the drawer. In this case, the drawer will only be open by a designated button"]],"doc":[["para","If set to ",["inlinecode","false"],", swiping the view will not activate the drawer. In this case, the drawer will only be open by a designated button"],["header",{"level":4},"Drawer with swipe to open set to false"],["code_block","<div data-role=\"view\">\n    <a href=\"#foo\" data-rel=\"drawer\" data-role=\"button\">Drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-swipe-to-open=\"false\">\n    <div data-role=\"header\">\n        <div data-role=\"navbar\">\n            <span data-role=\"view-title\">Hello World!</span>\n        </div>\n    </div>\n\n    <ul data-role=\"listview\">\n        <li>Foo</li>\n    </ul>\n\n    <div data-role=\"footer\">\n       <div data-role=\"navbar\">\n           <a data-align=\"right\" data-role=\"button\">Details</a>\n       </div>\n    </div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"title","type":["String"],"short_doc":[["para","The text to display in the Navbar title (if present)."]],"doc":[["para","The text to display in the Navbar title (if present)."]]},{"name":"views","type":["Array"],"short_doc":[["para","A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application."]],"doc":[["para","A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a href=\"#bar\" data-role=\"button\">Go to bar</a>\n</div>\n\n<div data-role=\"view\" id=\"bar\">\n    Drawer will not work here\n    <a href=\"#drawer-settings\" data-role=\"button\">Back to settings</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\" data-views='[\"drawer-settings\"]'>\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Drawer"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Drawer element from DOM."]]],"doc":[["para","Prepares the ",["strong","Drawer"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Drawer element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-role=\"button\" data-click=\"destroyDrawer\">Destroy Drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction destroyDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").destroy();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-role=\"button\" data-click=\"destroyDrawer\">Destroy Drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction destroyDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").destroy();\n}\n</script>"]]]},{"name":"hide","args":[],"short_doc":[["para","Hide the Drawer"]],"doc":[["para","Hide the Drawer"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n    <a data-click=\"hideDrawer\" data-role=\"button\">Hide me</a>\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction hideDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").hide();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n    <a data-click=\"hideDrawer\" data-role=\"button\">Hide me</a>\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction hideDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").hide();\n}\n</script>"]]]},{"name":"show","args":[],"short_doc":[["para","Show the Drawer"]],"doc":[["para","Show the Drawer"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-click=\"showDrawer\" data-role=\"button\">Show drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").show();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-click=\"showDrawer\" data-role=\"button\">Show drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").show();\n}\n</script>"]]]}],"events":[{"name":"beforeShow","args":[],"short_doc":[["para","Fires before the mobile Drawer is revealed. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter."]],"doc":[["para","Fires before the mobile Drawer is revealed. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" data-before-show=\"prevent\">\n    I will not be displayed\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction prevent(e) {\n    e.preventDefault();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" data-before-show=\"prevent\">\n    I will not be displayed\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction prevent(e) {\n    e.preventDefault();\n}\n</script>"]]],"type":["Function"]},{"name":"hide","args":[{"name":"e.sender","type":["kendo.mobile.ui.Drawer"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the mobile Drawer is closed by the user."]],"doc":[["para","Fired when the mobile Drawer is closed by the user."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-hide=\"onHide\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-hide=\"onHide\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e);\n}\n</script>"]]],"type":["Function"]},{"name":"init","args":[{"name":"e.sender","type":["kendo.mobile.ui.Drawer"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the mobile Drawer and its child widgets are initialized."]],"doc":[["para","Fired when the mobile Drawer and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(e);\n}\n</script>"]]],"type":["Function"]},{"name":"show","args":[{"name":"e.sender","type":["kendo.mobile.ui.Drawer"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the Drawer is shown."]],"doc":[["para","Fires when the Drawer is shown."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-show=\"onShow\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onShow(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-show=\"onShow\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onShow(e) {\n    console.log(e);\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile Drawer widget. Inherits from ",["link",{"href":"/api/framework/view"},"kendo.mobile.ui.View"],"."]],"doc":[["para","Represents the Kendo UI Mobile Drawer widget. Inherits from ",["link",{"href":"/api/framework/view"},"kendo.mobile.ui.View"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"position ",["inlinecode","String"]," ",["em","(default: 'left')"]],["para","The position of the drawer. Can be ",["inlinecode","left"]," (default) or ",["inlinecode","right"],"."],["header",{"level":4},"Right positioned drawer"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\" data-position=\"right\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"swipeToOpen ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"],", swiping the view will not activate the drawer. In this case, the drawer will only be open by a designated button"],["header",{"level":4},"Drawer with swipe to open set to false"],["code_block","<div data-role=\"view\">\n    <a href=\"#foo\" data-rel=\"drawer\" data-role=\"button\">Drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-swipe-to-open=\"false\">\n    <div data-role=\"header\">\n        <div data-role=\"navbar\">\n            <span data-role=\"view-title\">Hello World!</span>\n        </div>\n    </div>\n\n    <ul data-role=\"listview\">\n        <li>Foo</li>\n    </ul>\n\n    <div data-role=\"footer\">\n       <div data-role=\"navbar\">\n           <a data-align=\"right\" data-role=\"button\">Details</a>\n       </div>\n    </div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"title ",["inlinecode","String"]],["para","The text to display in the Navbar title (if present)."],["header",{"level":3},"views ",["inlinecode","Array"]],["para","A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a href=\"#bar\" data-role=\"button\">Go to bar</a>\n</div>\n\n<div data-role=\"view\" id=\"bar\">\n    Drawer will not work here\n    <a href=\"#drawer-settings\" data-role=\"button\">Back to settings</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\" data-views='[\"drawer-settings\"]'>\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Drawer"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Drawer element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-role=\"button\" data-click=\"destroyDrawer\">Destroy Drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction destroyDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").destroy();\n}\n</script>"],["header",{"level":3},"hide"],["para","Hide the Drawer"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n    <a data-click=\"hideDrawer\" data-role=\"button\">Hide me</a>\n</div>\n\n<script>\nnew kendo.mobile.Application();\nfunction hideDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").hide();\n}\n</script>"],["header",{"level":3},"show"],["para","Show the Drawer"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n    <a data-click=\"showDrawer\" data-role=\"button\">Show drawer</a>\n</div>\n\n<div data-role=\"drawer\" id=\"my-drawer\">\n    Hi!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showDrawer() {\n    $(\"#my-drawer\").data(\"kendoMobileDrawer\").show();\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"beforeShow"],["para","Fires before the mobile Drawer is revealed. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" data-before-show=\"prevent\">\n    I will not be displayed\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction prevent(e) {\n    e.preventDefault();\n}\n</script>"],["header",{"level":3},"hide"],["para","Fired when the mobile Drawer is closed by the user."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-hide=\"onHide\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."],["header",{"level":3},"init"],["para","Fired when the mobile Drawer and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."],["header",{"level":3},"show"],["para","Fires when the Drawer is shown."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"drawer-settings\">\n    <h1>Settings</h1>\n</div>\n\n<div data-role=\"drawer\" id=\"foo\" data-show=\"onShow\">\n    Foo\n</div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction onShow(e) {\n    console.log(e);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.Drawer"]],["para","The widget instance which fired the event."]]},"kendo.mobile.ui.Layout":{"file":"api/mobile/layout.md","name":"kendo.mobile.ui.Layout","config":[{"name":"id","type":["String"],"default":"null","short_doc":[["para","The id of the layout. ",["strong","Required"]]],"doc":[["para","The id of the layout. ",["strong","Required"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <header data-role=\"header\"><p>the header</p></header>\n\n  <div data-role=\"footer\"><p>the footer</p></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>\n\n<style>\n  .km-view .km-header,\n  .km-view .km-footer {\n    color: red;\n  }\n</style>"]]},{"name":"platform","type":["String"],"short_doc":[["para","The specific platform this layout targets. By default, layouts are displayed\non all platforms."]],"doc":[["para","The specific platform this layout targets. By default, layouts are displayed\non all platforms."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\" data-platform=\"ios\">\n  <header data-role=\"header\"><p>iOS header</p></header>\n\n  <div data-role=\"footer\"><p>iOS footer</p></div>\n</div>\n\n<div data-role=\"layout\" data-id=\"default\" data-platform=\"android\">\n  <header data-role=\"header\"><p>Android header</p></header>\n\n  <div data-role=\"footer\"><p>Android footer</p></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>\n\n<style>\n  .km-view .km-header, .km-view .km-footer {\n      color: red;\n  }\n</style>"]]}],"methods":[],"events":[{"name":"hide","args":[{"name":"e.layout","type":["jQuery"],"short_doc":[["para","The mobile layout instance"]],"doc":[["para","The mobile layout instance"]]},{"name":"e.view","type":["jQuery"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires when a mobile View using the layout becomes hidden."]],"doc":[["para","Fires when a mobile View using the layout becomes hidden."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile view instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\" data-hide=\"onHide\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e.view.id + \" view hidden\");\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\" data-hide=\"onHide\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e.view.id + \" view hidden\");\n}\n</script>"]]],"type":["Function"]},{"name":"init","args":[{"name":"e.layout","type":["jQuery"],"short_doc":[["para","The mobile layout instance"]],"doc":[["para","The mobile layout instance"]]}],"short_doc":[["para","Fires after a mobile Layout and its child widgets is initialized."]],"doc":[["para","Fires after a mobile Layout and its child widgets is initialized."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-init=\"onInit\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(\"init\");\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-init=\"onInit\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(\"init\");\n}\n</script>"]]],"type":["Function"]},{"name":"show","args":[{"name":"e.layout","type":["jQuery"],"short_doc":[["para","The mobile layout instance"]],"doc":[["para","The mobile layout instance"]]},{"name":"e.view","type":["jQuery"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires when a mobile View using the layout becomes visible."]],"doc":[["para","Fires when a mobile View using the layout becomes visible."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile view instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-show=\"onShow\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow(e) {\n  console.log(\"show\");\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-show=\"onShow\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow(e) {\n  console.log(\"show\");\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"id ",["inlinecode","String"],["em","(default: null)"]],["para","The id of the layout. ",["strong","Required"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <header data-role=\"header\"><p>the header</p></header>\n\n  <div data-role=\"footer\"><p>the footer</p></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>\n\n<style>\n  .km-view .km-header,\n  .km-view .km-footer {\n    color: red;\n  }\n</style>"],["header",{"level":3},"platform ",["inlinecode","String"]],["para","The specific platform this layout targets. By default, layouts are displayed\non all platforms."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\" data-platform=\"ios\">\n  <header data-role=\"header\"><p>iOS header</p></header>\n\n  <div data-role=\"footer\"><p>iOS footer</p></div>\n</div>\n\n<div data-role=\"layout\" data-id=\"default\" data-platform=\"android\">\n  <header data-role=\"header\"><p>Android header</p></header>\n\n  <div data-role=\"footer\"><p>Android footer</p></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>\n\n<style>\n  .km-view .km-header, .km-view .km-footer {\n      color: red;\n  }\n</style>"],["header",{"level":2},"Events"],["header",{"level":3},"hide"],["para","Fires when a mobile View using the layout becomes hidden."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile view instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\" data-hide=\"onHide\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onHide(e) {\n    console.log(e.view.id + \" view hidden\");\n}\n</script>"],["header",{"level":3},"init"],["para","Fires after a mobile Layout and its child widgets is initialized."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-init=\"onInit\">\n  Foo view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit(e) {\n    console.log(\"init\");\n}\n</script>"],["header",{"level":3},"show"],["para","Fires when a mobile View using the layout becomes visible."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.layout ",["inlinecode","jQuery"]],["para","The mobile layout instance"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile view instance"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\" data-show=\"onShow\">\n  Foo view\n</div>\n\n<div id=\"bar\" data-role=\"view\" data-layout=\"default\">\n  Bar view\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"history\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onShow(e) {\n  console.log(\"show\");\n}\n</script>"]]},"kendo.mobile.ui.ListView":{"file":"api/mobile/listview.md","name":"kendo.mobile.ui.ListView","config":[{"name":"appendOnRefresh","type":["Boolean"],"default":"false","short_doc":[["para","Used in combination with ",["inlinecode","pullToRefresh"],". If set to ",["inlinecode","true"],", newly loaded data will be appended on top when refreshing. ",["strong","Notice:"]," not applicable if ListView is in a virtual mode."]],"doc":[["para","Used in combination with ",["inlinecode","pullToRefresh"],". If set to ",["inlinecode","true"],", newly loaded data will be appended on top when refreshing. ",["strong","Notice:"]," not applicable if ListView is in a virtual mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-pull-to-refresh=\"true\" data-append-on-refresh=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n      // illustration purposes only\n      setTimeout(function() {\n                  options.success(data);\n      }, 1000);\n\n    }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance ",["inlinecode","fetch"]," method is called."]],"doc":[["para","Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance ",["inlinecode","fetch"]," method is called."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"fetchData\">Fetch Data</a>\n  <ul data-role=\"listview\" data-source=\"foo\" data-auto-bind=\"false\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: data #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({\n  data: [ 1, 2, 3, 4, 5]\n});\n\nfunction fetchData() {\n  foo.fetch();\n}\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"dataSource","type":["kendo.data.DataSource","Object"],"short_doc":[["para","Instance of DataSource or the data that the mobile ListView will be bound to."]],"doc":[["para","Instance of DataSource or the data that the mobile ListView will be bound to."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n#: data #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({ data: [ 1, 2, 3, 4, 5] });\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"endlessScroll","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"],", the listview gets the next page of data when the user scrolls near the bottom of the view."]],"doc":[["para","If set to ",["inlinecode","true"],", the listview gets the next page of data when the user scrolls near the bottom of the view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-endless-scroll=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"fixedHeaders","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the group headers will persist their position when the user scrolls through the listview.\nApplicable only when the type is set to group, or when binding to grouped DataSource."],["para",["strong","Notice:"]," fixed headers are not supported in virtual mode."]],"doc":[["para","If set to true, the group headers will persist their position when the user scrolls through the listview.\nApplicable only when the type is set to group, or when binding to grouped DataSource."],["para",["strong","Notice:"]," fixed headers are not supported in virtual mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"groupedData\" data-fixed-headers=\"true\" data-template=\"my-template\" data-header-template=\"header-template\"></ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"my-template\">\n  <h3 class=\"item-title\">#: name #</h3>\n  <p class=\"item-info\">#: description #</p>\n</script>\n\n<script type=\"text/x-kendo-template\" id=\"header-template\">\n    #: value #\n</script>\n\n<script>\nvar groupedData = new kendo.data.DataSource({\n    data: [\n      { name: \"Sashimi Salad\", description: \"Organic greens topped with market fresh sashimi, wasabi soy vinaigrette.\",  letter: \"S\" },\n      { name: \"Seaweed Salad\", description: \"A nice seaweed salad.\",  letter: \"S\" },\n      { name: \"Edamame\", description: \"Boiled soy beans with salt.\",  letter: \"E\" },\n      { name: \"Maguro\", description: \"Tuna pieces.\",  letter: \"M\" },\n      { name: \"Tekka Maki\", description: \"Tuna roll with wasabi.\",  letter: \"T\" },\n      { name: \"California Rolls\", description: \"Crab sticks, avocado and cucumber.\",  letter: \"C\" }\n    ],\n    group: { field: \"letter\" }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"headerTemplate","type":["String","Function"],"default":"\"#:value#\"","short_doc":[["para","The header item template (applicable when the type is set to group)."]],"doc":[["para","The header item template (applicable when the type is set to group)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"groupedData\" data-template=\"my-template\" data-header-template=\"header-template\"></ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"my-template\">\n  <h3 class=\"item-title\">#: name #</h3>\n  <p class=\"item-info\">#: description #</p>\n</script>\n\n<script type=\"text/x-kendo-template\" id=\"header-template\">\n    my group - #: value #\n</script>\n\n<script>\nvar groupedData = new kendo.data.DataSource({\n  data: [\n    { name: \"Sashimi Salad\", description: \"Organic greens topped with market fresh sashimi, wasabi soy vinaigrette.\",  letter: \"S\" },\n    { name: \"Seaweed Salad\", description: \"A nice seaweed salad.\",  letter: \"S\" },\n    { name: \"Edamame\", description: \"Boiled soy beans with salt.\",  letter: \"E\" },\n    { name: \"Maguro\", description: \"Tuna pieces.\",  letter: \"M\" },\n    { name: \"Tekka Maki\", description: \"Tuna roll with wasabi.\",  letter: \"T\" },\n    { name: \"California Rolls\", description: \"Crab sticks, avocado and cucumber.\",  letter: \"C\" }\n  ],\n  group: { field: \"letter\" }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"loadMore","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"],", a button is rendered at the bottom of the listview. Tapping it fetches and displays the items from the next page of the DataSource."]],"doc":[["para","If set to ",["inlinecode","true"],", a button is rendered at the bottom of the listview. Tapping it fetches and displays the items from the next page of the DataSource."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-load-more=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"loadMoreText","type":["String"],"default":"\"Press to load more\"","short_doc":[["para"," The text of the rendered load-more button (applies only if ",["inlinecode","loadMore"]," is set to true)."]],"doc":[["para"," The text of the rendered load-more button (applies only if ",["inlinecode","loadMore"]," is set to true)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-load-more=\"true\" data-load-more-text=\"Show more\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"pullToRefresh","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the listview will reload its data when the user pulls the view over the top limit."],["blockquote",["para","Pull to refresh option is not compatible with native scrolling containers (view with ",["inlinecode","use-native-scrolling=true"]," or scroller with ",["inlinecode","use-native=true"]," attributes)."]]],"doc":[["para","If set to true, the listview will reload its data when the user pulls the view over the top limit."],["blockquote",["para","Pull to refresh option is not compatible with native scrolling containers (view with ",["inlinecode","use-native-scrolling=true"]," or scroller with ",["inlinecode","use-native=true"]," attributes)."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-pull-to-refresh=\"true\" data-template=\"foo-template\"></ul>\n</div>\n\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n                            options.success(data);\n\n\n    }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"pullParameters","type":["Function"],"short_doc":[["para","A callback function used when the 'pullToRefresh' option is enabled. The result of the function will be send as additional parameters to the DataSource's ",["inlinecode","next"]," method."],["para",["strong","Notice:"]," When the listview is in a ",["em","virtual mode"],", the pull to refresh action ",["strong","removes"]," the previously loaded items in the listview (instead of appending new records at the top).\nPreviously loaded pages in the DataSource are also discarded."]],"doc":[["para","A callback function used when the 'pullToRefresh' option is enabled. The result of the function will be send as additional parameters to the DataSource's ",["inlinecode","next"]," method."],["para",["strong","Notice:"]," When the listview is in a ",["em","virtual mode"],", the pull to refresh action ",["strong","removes"]," the previously loaded items in the listview (instead of appending new records at the top).\nPreviously loaded pages in the DataSource are also discarded."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"initListView\">\n  <ul id=\"listview\">\n  </ul>\n</div>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      console.log(options.data.since_id); // undefined in the first request\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n      options.success(data);\n    }\n  }\n});\n\nfunction initListView(e) {\n  $(\"#listview\").kendoMobileListView({\n    dataSource: foo,\n    pullToRefresh: true,\n    template: \"#: name # - #: modified #\",\n    pullParameters: function(item) {\n      console.log(item); // the last item currently displayed\n      return { since_id: item.name };\n    }\n  });\n\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object"]],["para","First dataItem of the ListView // => listView.dataSource.get(0);"]]},{"name":"style","type":["String"],"default":"\"\"","short_doc":[["para","The style of the widget. Can be either empty string(\"\"), or ",["inlinecode","inset"],"."]],"doc":[["para","The style of the widget. Can be either empty string(\"\"), or ",["inlinecode","inset"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"template","type":["String","Function"],"default":"\"#:data#\"","short_doc":[["para","The item template."]],"doc":[["para","The item template."],["header",{"level":4},"Example:"],["code_block","<div id=\"foo\" data-role=\"view\">\n    <ul id=\"list\" data-role=\"listview\" data-source=\"dataSource\" data-template=\"tmp\"></ul>\n</div>\n\n<script id=\"tmp\" type=\"text/x-kendo-template\">\n    <p>#: name # <span>Age: #: age #</span></p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\nvar dataSource = new kendo.data.DataSource({\n    data: [\n        { name: \"Jane Doe\", age: 30 },\n        { name: \"John Doe\", age: 33 }\n    ]\n});\n</script>"],["blockquote",["para","The ListView automatically wraps the template content in ",["inlinecode","<li>"]," tag. Putting a ",["inlinecode","<li>"]," tag inside the template creates invalid nesting of elements."]]]},{"name":"type","type":["String"],"default":"\"flat\"","short_doc":[["para","The type of the control. Can be either ",["inlinecode","flat"]," (default) or group. Determined automatically in databound mode."]],"doc":[["para","The type of the control. Can be either ",["inlinecode","flat"]," (default) or group. Determined automatically in databound mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n\n  <ul data-role=\"listview\" data-style=\"inset\" data-type=\"group\">\n    <li>Foo\n      <ul>\n        <li>Foo 1</li>\n        <li>Foo 2</li>\n      </ul>\n    </li>\n    <li>Bar\n      <ul>\n        <li>Bar 1</li>\n        <li>Bar 2</li>\n      </ul>\n    </li>\n  </ul>\n\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"filterable","type":["Boolean","Object"],"default":"false","short_doc":[["para","Indicates whether the filter input must be visible or not."],["blockquote",["para",["strong","Important:"]," When the filter is applied it will remove all previous filter expressions applied to the DataSource."]]],"doc":[["para","Indicates whether the filter input must be visible or not."],["blockquote",["para",["strong","Important:"]," When the filter is applied it will remove all previous filter expressions applied to the DataSource."]],["header",{"level":4},"Example - enabled filtering"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: true\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"sub":[{"name":"operator","type":["String"],"default":"\"startsWith\"","short_doc":[["para","Specifies the comparison operator used in the filter expression. The operator must be one of the available DataSource filter ",["link",{"href":"/api/framework/datasource#configuration-filter.operator"},"operators"],"."]],"doc":[["para","Specifies the comparison operator used in the filter expression. The operator must be one of the available DataSource filter ",["link",{"href":"/api/framework/datasource#configuration-filter.operator"},"operators"],"."],["header",{"level":4},"Example - enabled filtering with comparison operator defined"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            operator: \"eq\" // match the whole word\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"orig":"filterable.operator"},{"name":"ignoreCase","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether the filter expression must be case sensitive or not."]],"doc":[["para","Specifies whether the filter expression must be case sensitive or not."],["header",{"level":4},"Example - enabled case insensitive filtering"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"Foo\", \"bar\" ],\n        filterable: {\n            ignoreCase: true // search for \"foo\" or \"Foo\" will return same item\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"orig":"filterable.ignoreCase"},{"name":"field","type":["String"],"short_doc":[["para","Specifies the field which will be used in the filter expression. The default field value is ",["inlinecode","undefined"]," which is usefull when the list view is bound to a list of primitive types.\nIf this is not case the field ",["em","must"]," be defined."]],"doc":[["para","Specifies the field which will be used in the filter expression. The default field value is ",["inlinecode","undefined"]," which is usefull when the list view is bound to a list of primitive types.\nIf this is not case the field ",["em","must"]," be defined."],["header",{"level":4},"Example - enabled filtering with default field configuration"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable:  true\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example - enabled filtering with field defined"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [\n            { id: 1, text: \"foo\" },\n            { id: 2, text: \"bar\" }\n        ],\n        template: \"id: #: id# with text: #: text#\",\n        filterable: {\n            field: \"text\" //filtering for \"text\" field\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"orig":"filterable.field"},{"name":"autoFilter","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether filtering should be performed on every key up event or when the user press the ",["inlinecode","Search"]," button of the device keyboard."]],"doc":[["para","Indicates whether filtering should be performed on every key up event or when the user press the ",["inlinecode","Search"]," button of the device keyboard."],["header",{"level":4},"Example - enabled filtering with auto filtering disabled"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            autoFilter: false //the user must press `Search` button to trigger filter\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"orig":"filterable.autoFilter"},{"name":"placeholder","type":["String"],"default":"\"Search...\"","short_doc":[["para","Placeholder text for search input."]],"doc":[["para","Placeholder text for search input."],["header",{"level":4},"Example - enabled filtering with custom text for the input placeholder"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            placeholder: \"Type to search...\"\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"]],"orig":"filterable.placeholder"}]}],"methods":[{"name":"append","args":[{"name":"dataItems","type":["Array"],"short_doc":[],"doc":[]}],"short_doc":[["para","Appends new items generated by rendering the given data items with the listview template to the bottom of the listview."]],"doc":[["para","Appends new items generated by rendering the given data items with the listview template to the bottom of the listview."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").append([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").append([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"prepend","args":[{"name":"dataItems","type":["Array"],"short_doc":[],"doc":[]}],"short_doc":[["para","Prepends new items generated by rendering the given data items with the listview template to the top of the listview."]],"doc":[["para","Prepends new items generated by rendering the given data items with the listview template to the top of the listview."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").prepend([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").prepend([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"replace","args":[{"name":"dataItems","type":["Array"],"short_doc":[],"doc":[]}],"short_doc":[["para","Replaces the contents of the listview with the passed rendered data items."]],"doc":[["para","Replaces the contents of the listview with the passed rendered data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"replaceItem\">Replace item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction replaceItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").replace([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"replaceItem\">Replace item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction replaceItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").replace([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"remove","args":[{"name":"dataItems","type":["Array"],"short_doc":[],"doc":[]}],"short_doc":[["para","Removes the listview items which are rendered with the passed data items."]],"doc":[["para","Removes the listview items which are rendered with the passed data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"removeItem\">Remove item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\" data-source=\"fooDS\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\n  Item #: name #\n</script>\n\n<script>\nvar fooDS = new kendo.data.DataSource({ data: [ {name: \"Foo\"}, {name: \"Bar\"} ] });\n\nfunction removeItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").remove([ fooDS.data()[1] ]);\n}\n\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"removeItem\">Remove item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\" data-source=\"fooDS\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\n  Item #: name #\n</script>\n\n<script>\nvar fooDS = new kendo.data.DataSource({ data: [ {name: \"Foo\"}, {name: \"Bar\"} ] });\n\nfunction removeItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").remove([ fooDS.data()[1] ]);\n}\n\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"setDataItem","args":[{"name":"item","type":["jQuery"],"short_doc":[["para","The listview item to update"]],"doc":[["para","The listview item to update"]]},{"name":"dataItem","type":["kendo.data.Model"],"short_doc":[["para","The new dataItem"]],"doc":[["para","The new dataItem"]]}],"short_doc":[["para","Re-renders the given listview item with the new dataItem provided. In order for the method to work as expected, the data items should be of type kendo.data.Model."]],"doc":[["para","Re-renders the given listview item with the new dataItem provided. In order for the method to work as expected, the data items should be of type kendo.data.Model."],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The listview item to update"],["header",{"level":5},"dataItem ",["inlinecode","kendo.data.Model"]],["para","The new dataItem"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"initialItem\">\n    <a data-role=\"button\" data-click=\"changeItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar dataItem = new kendo.data.Model({ idx: 1 });\n\nfunction initialItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").append([dataItem]);\n}\n\nfunction changeItem() {\n  var newItem = new kendo.data.Model({idx: 2});\n  $(\"#listview\").data(\"kendoMobileListView\").setDataItem($(\"#listview li\").eq(0), newItem);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"initialItem\">\n    <a data-role=\"button\" data-click=\"changeItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar dataItem = new kendo.data.Model({ idx: 1 });\n\nfunction initialItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").append([dataItem]);\n}\n\nfunction changeItem() {\n  var newItem = new kendo.data.Model({idx: 2});\n  $(\"#listview\").data(\"kendoMobileListView\").setDataItem($(\"#listview li\").eq(0), newItem);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]]],"doc":[["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n   <a data-role=\"button\" data-click=\"destroyListView\">Destroy</a>\n\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction destroyListView() {\n    var listView = $(\"#listView\").data(\"kendoMobileListView\");\n    // detach events\n    listView.destroy();\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n   <a data-role=\"button\" data-click=\"destroyListView\">Destroy</a>\n\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction destroyListView() {\n    var listView = $(\"#listView\").data(\"kendoMobileListView\");\n    // detach events\n    listView.destroy();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"items","args":[],"short_doc":[["para","Get the listview DOM element items"]],"doc":[["para","Get the listview DOM element items"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The listview DOM element items"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getListViewItems\">Get items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction getListViewItems() {\n    console.log($(\"#listView\").data(\"kendoMobileListView\").items());\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getListViewItems\">Get items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction getListViewItems() {\n    console.log($(\"#listView\").data(\"kendoMobileListView\").items());\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Repaints the listview (works only in databound mode)."]],"doc":[["para","Repaints the listview (works only in databound mode)."],["header",{"level":4},"example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"refreshListViewItems\">Refresh items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction refreshListViewItems() {\n  $(\"#listView\").data(\"kendoMobileListView\").refresh()\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"refreshListViewItems\">Refresh items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction refreshListViewItems() {\n  $(\"#listView\").data(\"kendoMobileListView\").refresh()\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the DataSource of an existing ListView and rebinds it."]],"doc":[["para","Sets the DataSource of an existing ListView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"rebindListView\">Rebind</a>\n  <ul id=\"listView\" data-role=\"listview\" data-template=\"foo-template\" data-source=\"foo\" data-style=\"inset\">\n  </ul>\n</div>\n\n<script id=\"foo-template\">\n    #: name #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({ data: [ { name: \"foo\" } ] });\nvar bar = new kendo.data.DataSource({ data: [ { name: \"bar\" } ] });\n\nfunction rebindListView() {\n    $(\"#listView\").data(\"kendoMobileListView\").setDataSource(bar);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"rebindListView\">Rebind</a>\n  <ul id=\"listView\" data-role=\"listview\" data-template=\"foo-template\" data-source=\"foo\" data-style=\"inset\">\n  </ul>\n</div>\n\n<script id=\"foo-template\">\n    #: name #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({ data: [ { name: \"foo\" } ] });\nvar bar = new kendo.data.DataSource({ data: [ { name: \"bar\" } ] });\n\nfunction rebindListView() {\n    $(\"#listView\").data(\"kendoMobileListView\").setDataSource(bar);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]}],"events":[{"name":"click","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The selected list item."]],"doc":[["para","The selected list item."]]},{"name":"e.target","type":["jQuery"],"short_doc":[["para","The tapped DOM element."]],"doc":[["para","The tapped DOM element."]]},{"name":"e.dataItem","type":["Object"],"short_doc":[["para","The corresponding dataItem associated with the item (available in databound mode only).\nNote: The dataItem must be from a non-primitive type (Object)."]],"doc":[["para","The corresponding dataItem associated with the item (available in databound mode only).\nNote: The dataItem must be from a non-primitive type (Object)."]]},{"name":"e.button","type":["kendo.mobile.ui.Button"],"short_doc":[["para","The tapped Kendo mobile Button (if present)."]],"doc":[["para","The tapped Kendo mobile Button (if present)."]]}],"short_doc":[["para","Fires when item is tapped."]],"doc":[["para","Fires when item is tapped."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n<ul data-role=\"listview\" id=\"foo\" data-click=\"listViewClick\">\n    <li>Item 1</li>\n\t<li>Item 2</li>\n</ul>\n</div>\n\n<script>\nfunction listViewClick(e) {\n    console.log(e.item); // The clicked item as a jQuery object\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Accessing dataItem in event"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n   click: function(e) {\n        console.log(e.dataItem.title);\n   }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The selected list item."],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The tapped DOM element."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The corresponding dataItem associated with the item (available in databound mode only).\nNote: The dataItem must be from a non-primitive type (Object)."],["header",{"level":5},"e.button ",["inlinecode","kendo.mobile.ui.Button"]],["para","The tapped Kendo mobile Button (if present)."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n<ul data-role=\"listview\" id=\"foo\" data-click=\"listViewClick\">\n    <li>Item 1</li>\n\t<li>Item 2</li>\n</ul>\n</div>\n\n<script>\nfunction listViewClick(e) {\n    console.log(e.item); // The clicked item as a jQuery object\n}\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[],"short_doc":[["para","Fires when the ListView has received data from the DataSource."]],"doc":[["para","Fires when the ListView has received data from the DataSource."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBound: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBound: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"dataBinding","args":[],"short_doc":[["para","Fires when the ListView is about to be rendered."]],"doc":[["para","Fires when the ListView is about to be rendered."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBinding: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBinding: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"itemChange","args":[],"short_doc":[["para","Fires when a new item is added to the listview (usually in virtual mode)."]],"doc":[["para","Fires when a new item is added to the listview (usually in virtual mode)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-endless-scroll=\"true\" data-template=\"foo-template\" data-item-change=\"itemChange\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\n  function itemChange(e) {\n    console.log(e);\n  }\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-endless-scroll=\"true\" data-template=\"foo-template\" data-item-change=\"itemChange\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\n  function itemChange(e) {\n    console.log(e);\n  }\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile ListView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile ListView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"appendOnRefresh ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Used in combination with ",["inlinecode","pullToRefresh"],". If set to ",["inlinecode","true"],", newly loaded data will be appended on top when refreshing. ",["strong","Notice:"]," not applicable if ListView is in a virtual mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-pull-to-refresh=\"true\" data-append-on-refresh=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n      // illustration purposes only\n      setTimeout(function() {\n                  options.success(data);\n      }, 1000);\n\n    }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance ",["inlinecode","fetch"]," method is called."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"fetchData\">Fetch Data</a>\n  <ul data-role=\"listview\" data-source=\"foo\" data-auto-bind=\"false\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: data #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({\n  data: [ 1, 2, 3, 4, 5]\n});\n\nfunction fetchData() {\n  foo.fetch();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource | Object"]],["para","Instance of DataSource or the data that the mobile ListView will be bound to."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n#: data #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({ data: [ 1, 2, 3, 4, 5] });\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"endlessScroll ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to ",["inlinecode","true"],", the listview gets the next page of data when the user scrolls near the bottom of the view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-endless-scroll=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"fixedHeaders ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the group headers will persist their position when the user scrolls through the listview.\nApplicable only when the type is set to group, or when binding to grouped DataSource."],["para",["strong","Notice:"]," fixed headers are not supported in virtual mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"groupedData\" data-fixed-headers=\"true\" data-template=\"my-template\" data-header-template=\"header-template\"></ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"my-template\">\n  <h3 class=\"item-title\">#: name #</h3>\n  <p class=\"item-info\">#: description #</p>\n</script>\n\n<script type=\"text/x-kendo-template\" id=\"header-template\">\n    #: value #\n</script>\n\n<script>\nvar groupedData = new kendo.data.DataSource({\n    data: [\n      { name: \"Sashimi Salad\", description: \"Organic greens topped with market fresh sashimi, wasabi soy vinaigrette.\",  letter: \"S\" },\n      { name: \"Seaweed Salad\", description: \"A nice seaweed salad.\",  letter: \"S\" },\n      { name: \"Edamame\", description: \"Boiled soy beans with salt.\",  letter: \"E\" },\n      { name: \"Maguro\", description: \"Tuna pieces.\",  letter: \"M\" },\n      { name: \"Tekka Maki\", description: \"Tuna roll with wasabi.\",  letter: \"T\" },\n      { name: \"California Rolls\", description: \"Crab sticks, avocado and cucumber.\",  letter: \"C\" }\n    ],\n    group: { field: \"letter\" }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"headerTemplate ",["inlinecode","String|Function"],["em","(default: \"#:value#\")"]],["para","The header item template (applicable when the type is set to group)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"groupedData\" data-template=\"my-template\" data-header-template=\"header-template\"></ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"my-template\">\n  <h3 class=\"item-title\">#: name #</h3>\n  <p class=\"item-info\">#: description #</p>\n</script>\n\n<script type=\"text/x-kendo-template\" id=\"header-template\">\n    my group - #: value #\n</script>\n\n<script>\nvar groupedData = new kendo.data.DataSource({\n  data: [\n    { name: \"Sashimi Salad\", description: \"Organic greens topped with market fresh sashimi, wasabi soy vinaigrette.\",  letter: \"S\" },\n    { name: \"Seaweed Salad\", description: \"A nice seaweed salad.\",  letter: \"S\" },\n    { name: \"Edamame\", description: \"Boiled soy beans with salt.\",  letter: \"E\" },\n    { name: \"Maguro\", description: \"Tuna pieces.\",  letter: \"M\" },\n    { name: \"Tekka Maki\", description: \"Tuna roll with wasabi.\",  letter: \"T\" },\n    { name: \"California Rolls\", description: \"Crab sticks, avocado and cucumber.\",  letter: \"C\" }\n  ],\n  group: { field: \"letter\" }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"loadMore ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to ",["inlinecode","true"],", a button is rendered at the bottom of the listview. Tapping it fetches and displays the items from the next page of the DataSource."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-load-more=\"true\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"loadMoreText ",["inlinecode","String"],["em","(default: \"Press to load more\")"]],["para"," The text of the rendered load-more button (applies only if ",["inlinecode","loadMore"]," is set to true)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-load-more=\"true\" data-load-more-text=\"Show more\" data-template=\"foo-template\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"pullToRefresh ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the listview will reload its data when the user pulls the view over the top limit."],["blockquote",["para","Pull to refresh option is not compatible with native scrolling containers (view with ",["inlinecode","use-native-scrolling=true"]," or scroller with ",["inlinecode","use-native=true"]," attributes)."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-pull-to-refresh=\"true\" data-template=\"foo-template\"></ul>\n</div>\n\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n                            options.success(data);\n\n\n    }\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"pullParameters ",["inlinecode","Function"]],["para","A callback function used when the 'pullToRefresh' option is enabled. The result of the function will be send as additional parameters to the DataSource's ",["inlinecode","next"]," method."],["para",["strong","Notice:"]," When the listview is in a ",["em","virtual mode"],", the pull to refresh action ",["strong","removes"]," the previously loaded items in the listview (instead of appending new records at the top).\nPreviously loaded pages in the DataSource are also discarded."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"initListView\">\n  <ul id=\"listview\">\n  </ul>\n</div>\n\n<script>\nvar i = 0;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      console.log(options.data.since_id); // undefined in the first request\n      var max = i + 5;\n      var data = [];\n      for (; i < max; i ++) {\n        data.unshift({ name: \"record\" + i, modified: +new Date() });\n      }\n      options.success(data);\n    }\n  }\n});\n\nfunction initListView(e) {\n  $(\"#listview\").kendoMobileListView({\n    dataSource: foo,\n    pullToRefresh: true,\n    template: \"#: name # - #: modified #\",\n    pullParameters: function(item) {\n      console.log(item); // the last item currently displayed\n      return { since_id: item.name };\n    }\n  });\n\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object"]],["para","First dataItem of the ListView // => listView.dataSource.get(0);"],["header",{"level":3},"style ",["inlinecode","String"]," ",["em","(default: \"\")"]],["para","The style of the widget. Can be either empty string(\"\"), or ",["inlinecode","inset"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"],["em","(default: \"#:data#\")"]],["para","The item template."],["header",{"level":4},"Example:"],["code_block","<div id=\"foo\" data-role=\"view\">\n    <ul id=\"list\" data-role=\"listview\" data-source=\"dataSource\" data-template=\"tmp\"></ul>\n</div>\n\n<script id=\"tmp\" type=\"text/x-kendo-template\">\n    <p>#: name # <span>Age: #: age #</span></p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\nvar dataSource = new kendo.data.DataSource({\n    data: [\n        { name: \"Jane Doe\", age: 30 },\n        { name: \"John Doe\", age: 33 }\n    ]\n});\n</script>"],["blockquote",["para","The ListView automatically wraps the template content in ",["inlinecode","<li>"]," tag. Putting a ",["inlinecode","<li>"]," tag inside the template creates invalid nesting of elements."]],["header",{"level":3},"type ",["inlinecode","String"]," ",["em","(default: \"flat\")"]],["para","The type of the control. Can be either ",["inlinecode","flat"]," (default) or group. Determined automatically in databound mode."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n\n  <ul data-role=\"listview\" data-style=\"inset\" data-type=\"group\">\n    <li>Foo\n      <ul>\n        <li>Foo 1</li>\n        <li>Foo 2</li>\n      </ul>\n    </li>\n    <li>Bar\n      <ul>\n        <li>Bar 1</li>\n        <li>Bar 2</li>\n      </ul>\n    </li>\n  </ul>\n\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable ",["inlinecode","Boolean | Object"],["em","(default: false)"]],["para","Indicates whether the filter input must be visible or not."],["blockquote",["para",["strong","Important:"]," When the filter is applied it will remove all previous filter expressions applied to the DataSource."]],["header",{"level":4},"Example - enabled filtering"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: true\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable.placeholder ",["inlinecode","String"],["em","(default: \"Search...\")"]],["para","Placeholder text for search input."],["header",{"level":4},"Example - enabled filtering with custom text for the input placeholder"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            placeholder: \"Type to search...\"\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable.autoFilter ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether filtering should be performed on every key up event or when the user press the ",["inlinecode","Search"]," button of the device keyboard."],["header",{"level":4},"Example - enabled filtering with auto filtering disabled"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            autoFilter: false //the user must press `Search` button to trigger filter\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable.field ",["inlinecode","String"]],["para","Specifies the field which will be used in the filter expression. The default field value is ",["inlinecode","undefined"]," which is usefull when the list view is bound to a list of primitive types.\nIf this is not case the field ",["em","must"]," be defined."],["header",{"level":4},"Example - enabled filtering with default field configuration"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable:  true\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example - enabled filtering with field defined"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [\n            { id: 1, text: \"foo\" },\n            { id: 2, text: \"bar\" }\n        ],\n        template: \"id: #: id# with text: #: text#\",\n        filterable: {\n            field: \"text\" //filtering for \"text\" field\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable.ignoreCase ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Specifies whether the filter expression must be case sensitive or not."],["header",{"level":4},"Example - enabled case insensitive filtering"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"Foo\", \"bar\" ],\n        filterable: {\n            ignoreCase: true // search for \"foo\" or \"Foo\" will return same item\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"filterable.operator ",["inlinecode","String"],["em","(default: \"startsWith\")"]],["para","Specifies the comparison operator used in the filter expression. The operator must be one of the available DataSource filter ",["link",{"href":"/api/framework/datasource#configuration-filter.operator"},"operators"],"."],["header",{"level":4},"Example - enabled filtering with comparison operator defined"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <ul id=\"listView\"></ul>\n</div>\n<script>\nfunction viewInit(e) {\n    e.view.element.find(\"#listView\").kendoMobileListView({\n        dataSource: [ \"foo\", \"bar\" ],\n        filterable: {\n            operator: \"eq\" // match the whole word\n        }\n    });\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"append"],["para","Appends new items generated by rendering the given data items with the listview template to the bottom of the listview."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").append([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"prepend"],["para","Prepends new items generated by rendering the given data items with the listview template to the top of the listview."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"addItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction addItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").prepend([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"replace"],["para","Replaces the contents of the listview with the passed rendered data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"replaceItem\">Replace item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar i = 0;\nfunction replaceItem() {\n  i ++;\n  $(\"#listview\").data(\"kendoMobileListView\").replace([ { idx: i } ]);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"remove"],["para","Removes the listview items which are rendered with the passed data items."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataItems ",["inlinecode","Array"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"removeItem\">Remove item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\" data-source=\"fooDS\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\n  Item #: name #\n</script>\n\n<script>\nvar fooDS = new kendo.data.DataSource({ data: [ {name: \"Foo\"}, {name: \"Bar\"} ] });\n\nfunction removeItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").remove([ fooDS.data()[1] ]);\n}\n\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"setDataItem"],["para","Re-renders the given listview item with the new dataItem provided. In order for the method to work as expected, the data items should be of type kendo.data.Model."],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The listview item to update"],["header",{"level":5},"dataItem ",["inlinecode","kendo.data.Model"]],["para","The new dataItem"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-init=\"initialItem\">\n    <a data-role=\"button\" data-click=\"changeItem\">Add item</a>\n    <ul id=\"listview\" data-role=\"listview\" data-template=\"foo\">\n    </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo\">\nItem #: idx #\n</script>\n\n<script>\nvar dataItem = new kendo.data.Model({ idx: 1 });\n\nfunction initialItem() {\n  $(\"#listview\").data(\"kendoMobileListView\").append([dataItem]);\n}\n\nfunction changeItem() {\n  var newItem = new kendo.data.Model({idx: 2});\n  $(\"#listview\").data(\"kendoMobileListView\").setDataItem($(\"#listview li\").eq(0), newItem);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n   <a data-role=\"button\" data-click=\"destroyListView\">Destroy</a>\n\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction destroyListView() {\n    var listView = $(\"#listView\").data(\"kendoMobileListView\");\n    // detach events\n    listView.destroy();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"items"],["para","Get the listview DOM element items"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The listview DOM element items"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getListViewItems\">Get items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction getListViewItems() {\n    console.log($(\"#listView\").data(\"kendoMobileListView\").items());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"refresh"],["para","Repaints the listview (works only in databound mode)."],["header",{"level":4},"example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"refreshListViewItems\">Refresh items</a>\n  <ul id=\"listView\" data-role=\"listview\" data-style=\"inset\">\n    <li>Foo</li>\n    <li>Bar</li>\n  </ul>\n</div>\n\n<script>\nfunction refreshListViewItems() {\n  $(\"#listView\").data(\"kendoMobileListView\").refresh()\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the DataSource of an existing ListView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"rebindListView\">Rebind</a>\n  <ul id=\"listView\" data-role=\"listview\" data-template=\"foo-template\" data-source=\"foo\" data-style=\"inset\">\n  </ul>\n</div>\n\n<script id=\"foo-template\">\n    #: name #\n</script>\n\n<script>\nvar foo = new kendo.data.DataSource({ data: [ { name: \"foo\" } ] });\nvar bar = new kendo.data.DataSource({ data: [ { name: \"bar\" } ] });\n\nfunction rebindListView() {\n    $(\"#listView\").data(\"kendoMobileListView\").setDataSource(bar);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fires when item is tapped."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n<ul data-role=\"listview\" id=\"foo\" data-click=\"listViewClick\">\n    <li>Item 1</li>\n\t<li>Item 2</li>\n</ul>\n</div>\n\n<script>\nfunction listViewClick(e) {\n    console.log(e.item); // The clicked item as a jQuery object\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Accessing dataItem in event"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n   click: function(e) {\n        console.log(e.dataItem.title);\n   }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The selected list item."],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The tapped DOM element."],["header",{"level":5},"e.dataItem ",["inlinecode","Object"]],["para","The corresponding dataItem associated with the item (available in databound mode only).\nNote: The dataItem must be from a non-primitive type (Object)."],["header",{"level":5},"e.button ",["inlinecode","kendo.mobile.ui.Button"]],["para","The tapped Kendo mobile Button (if present)."],["header",{"level":3},"dataBound"],["para","Fires when the ListView has received data from the DataSource."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBound: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"dataBinding"],["para","Fires when the ListView is about to be rendered."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <ul id=\"foo\"></ul>\n</div>\n\n<script>\n$(\"#foo\").kendoMobileListView({\n   dataSource: new kendo.data.DataSource({\n        data: [{title: \"foo\"}, {title: \"bar\"}]\n   }),\n\n  dataBinding: function(e) {\n    console.log(e);\n  }\n});\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"itemChange"],["para","Fires when a new item is added to the listview (usually in virtual mode)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <ul data-role=\"listview\" data-source=\"foo\" data-endless-scroll=\"true\" data-template=\"foo-template\" data-item-change=\"itemChange\">\n  </ul>\n</div>\n\n<script type=\"text/x-kendo-template\" id=\"foo-template\">\n    #: name # - #: modified #\n</script>\n\n<script>\nvar i = 0, pageSize = 100;\n\n// datasource below is customized for demo purposes.\nvar foo = new kendo.data.DataSource({\n  transport: {\n    read: function(options) {\n      var max = i + pageSize;\n      var data = [];\n      for (; i < max; i ++) {\n        data.push({ name: \"record\" + i, modified: +new Date() });\n      }\n\n      options.success(data);\n    }\n  },\n\n  pageSize: pageSize,\n  serverPaging: true,\n  schema: {\n    total: function() { return 500; }\n  }\n});\n\n  function itemChange(e) {\n    console.log(e);\n  }\n\nnew kendo.mobile.Application();\n</script>"]]},"kendo.mobile.ui.Loader":{"file":"api/mobile/loader.md","name":"kendo.mobile.ui.Loader","config":[],"methods":[{"name":"hide","args":[],"short_doc":[["para","Hide the loading animation."]],"doc":[["para","Hide the loading animation."],["header",{"level":4},"Example - display loading animation for 7 seconds, then hide it"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show();\n  setTimeout(function() {\n    app.pane.loader.hide(); //hide loading animation\n  }, 7000);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - display loading animation for 7 seconds, then hide it"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show();\n  setTimeout(function() {\n    app.pane.loader.hide(); //hide loading animation\n  }, 7000);\n}\n</script>"]]]},{"name":"show","args":[],"short_doc":[["para","Show the loading animation."]],"doc":[["para","Show the loading animation."],["header",{"level":4},"Example - display loading animation on view show"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show(); //show loading animation\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - display loading animation on view show"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show(); //show loading animation\n}\n</script>"]]]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Methods"],["header",{"level":3},"hide"],["para","Hide the loading animation."],["header",{"level":4},"Example - display loading animation for 7 seconds, then hide it"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show();\n  setTimeout(function() {\n    app.pane.loader.hide(); //hide loading animation\n  }, 7000);\n}\n</script>"],["header",{"level":3},"show"],["para","Show the loading animation."],["header",{"level":4},"Example - display loading animation on view show"],["code_block","<div id=\"foo\" data-role=\"view\" data-show=\"onShow\"></div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onShow() {\n  app.pane.loader.show(); //show loading animation\n}\n</script>"]]},"kendo.mobile.ui.ModalView":{"file":"api/mobile/modalview.md","name":"kendo.mobile.ui.ModalView","config":[{"name":"height","type":["Number"],"short_doc":[["para","The height of the ModalView container in pixels. If not set, the element style is used."]],"doc":[["para","The height of the ModalView container in pixels. If not set, the element style is used."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" style=\"width: 200px; height: 200px;\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"modal","type":["Boolean"],"default":"true","short_doc":[["para","When set to false, the ModalView will close when the user taps outside of its element."]],"doc":[["para","When set to false, the ModalView will close when the user taps outside of its element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" data-width=\"200\" data-height=\"200\" data-modal=\"false\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"width","type":["Number"],"short_doc":[["para","The width of the ModalView container in pixels. If not set, the element style is used."]],"doc":[["para","The width of the ModalView container in pixels. If not set, the element style is used."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" style=\"width: 200px; height: 200px;\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Close the ModalView"]],"doc":[["para","Close the ModalView"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ModalView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ModalView element from DOM."]]],"doc":[["para","Prepares the ",["strong","ModalView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ModalView element from DOM."]]],"examples":[]},{"name":"open","args":[{"name":"target","type":["jQuery"],"short_doc":[["para","(optional) The target of the ModalView"]],"doc":[["para","(optional) The target of the ModalView"]]}],"short_doc":[["para","Open the ModalView"]],"doc":[["para","Open the ModalView"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","(optional) The target of the ModalView"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]}],"events":[{"name":"close","args":[{"name":"e.sender","type":["kendo.mobile.ui.ModalView"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the mobile ModalView is closed by the user."]],"doc":[["para","Fired when the mobile ModalView is closed by the user."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-close=\"onClose\">\n    Foo\n</div>\n\n<script>\nfunction onClose(e) {\n    // handle event\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.ModalView"]],["para","The widget instance which fired the event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-close=\"onClose\">\n    Foo\n</div>\n\n<script>\nfunction onClose(e) {\n    // handle event\n}\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"init","args":[{"name":"e.sender","type":["kendo.mobile.ui.ModalView"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the mobile ModalView and its child widgets are initialized."]],"doc":[["para","Fired when the mobile ModalView and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nfunction onInit(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.ModalView"]],["para","The widget instance which fired the event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nfunction onInit(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The invocation target of the ModalView."]],"doc":[["para","The invocation target of the ModalView."]]}],"short_doc":[["para","Fires when the ModalView is shown."]],"doc":[["para","Fires when the ModalView is shown."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-open=\"logTarget\">\n    Foo\n</div>\n\n<script>\nfunction logTarget(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The invocation target of the ModalView."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-open=\"logTarget\">\n    Foo\n</div>\n\n<script>\nfunction logTarget(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile ModalView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile ModalView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" style=\"width: 200px; height: 200px;\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Configuration"],["header",{"level":3},"height ",["inlinecode","Number"]],["para","The height of the ModalView container in pixels. If not set, the element style is used."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" style=\"width: 200px; height: 200px;\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"modal ",["inlinecode","Boolean"],["em","(default: true)"]],["para","When set to false, the ModalView will close when the user taps outside of its element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" data-width=\"200\" data-height=\"200\" data-modal=\"false\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"width ",["inlinecode","Number"]],["para","The width of the ModalView container in pixels. If not set, the element style is used."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a href=\"#my-modal\" data-rel=\"modalview\" data-role=\"button\">Open Modal</a>\n</div>\n\n<div data-role=\"modalview\" id=\"my-modal\" style=\"width: 200px; height: 200px;\">\n  Hello!\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Close the ModalView"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ModalView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ModalView element from DOM."]],["header",{"level":3},"open"],["para","Open the ModalView"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\"  data-click=\"openModal\">open</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" style=\"width: 200px; height: 200px\">\n    <a data-role=\"button\"  data-click=\"closeModal\">Close</a>\n</div>\n\n<script>\nfunction openModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").open();\n}\n\nfunction closeModal() {\n   $(\"#foo\").data(\"kendoMobileModalView\").close();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","(optional) The target of the ModalView"],["header",{"level":2},"Events"],["header",{"level":3},"close"],["para","Fired when the mobile ModalView is closed by the user."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-close=\"onClose\">\n    Foo\n</div>\n\n<script>\nfunction onClose(e) {\n    // handle event\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.ModalView"]],["para","The widget instance which fired the event."],["header",{"level":3},"init"],["para","Fired when the mobile ModalView and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-init=\"onInit\">\n    Foo\n</div>\n\n<script>\nfunction onInit(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.ModalView"]],["para","The widget instance which fired the event."],["header",{"level":3},"open"],["para","Fires when the ModalView is shown."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" href=\"#foo\" data-rel=\"modalview\">Foo</a>\n</div>\n\n<div data-role=\"modalview\" id=\"foo\" data-open=\"logTarget\">\n    Foo\n</div>\n\n<script>\nfunction logTarget(e) {\n    console.log(e.target); // <a href=\"#foo\" ...\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The invocation target of the ModalView."]]},"kendo.mobile.ui.NavBar":{"file":"api/mobile/navbar.md","name":"kendo.mobile.ui.NavBar","config":[],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","NavBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NavBar element from DOM."]]],"doc":[["para","Prepares the ",["strong","NavBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NavBar element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <a class=\"nav-button\" data-align=\"left\" data-icon=\"action\" data-role=\"button\"></a>\n      <span data-role=\"view-title\"></span>\n      <a class=\"nav-button\" data-align=\"right\" data-icon=\"refresh\" data-role=\"button\"></a>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.destroy();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <a class=\"nav-button\" data-align=\"left\" data-icon=\"action\" data-role=\"button\"></a>\n      <span data-role=\"view-title\"></span>\n      <a class=\"nav-button\" data-align=\"right\" data-icon=\"refresh\" data-role=\"button\"></a>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.destroy();\n}\n</script>"]]]},{"name":"title","args":[{"name":"value","type":["String"],"short_doc":[["para","The text of title"]],"doc":[["para","The text of title"]]}],"short_doc":[["para","Update the title element text. The title element is specified by setting the ",["inlinecode","role"]," data attribute to ",["inlinecode","view-title"],"."]],"doc":[["para","Update the title element text. The title element is specified by setting the ",["inlinecode","role"]," data attribute to ",["inlinecode","view-title"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The text of title"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Change title</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.title(\"changed\");\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Change title</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.title(\"changed\");\n}\n</script>"]]]}],"events":[],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile NavBar widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile NavBar widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","NavBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NavBar element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <a class=\"nav-button\" data-align=\"left\" data-icon=\"action\" data-role=\"button\"></a>\n      <span data-role=\"view-title\"></span>\n      <a class=\"nav-button\" data-align=\"right\" data-icon=\"refresh\" data-role=\"button\"></a>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.destroy();\n}\n</script>"],["header",{"level":3},"title"],["para","Update the title element text. The title element is specified by setting the ",["inlinecode","role"]," data attribute to ",["inlinecode","view-title"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The text of title"],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-title=\"navbar demo\">\n  <header data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </header>\n  <a data-role=\"button\" data-click=\"onClick\">Change title</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick(e) {\n  var navbar = app.view()\n    .header\n    .find(\".km-navbar\")\n    .data(\"kendoMobileNavBar\");\n\n  navbar.title(\"changed\");\n}\n</script>"]]},"kendo.mobile.ui.Pane":{"file":"api/mobile/pane.md","name":"kendo.mobile.ui.Pane","config":[{"name":"collapsible","type":["Boolean"],"default":"false","short_doc":[["para","Applicable when the pane is inside a SplitView. If set to ",["inlinecode","true"],", the pane will be hidden when the device is in portrait position. The ",["link",{"href":"/api/mobile/splitview#methods-expandPanes"},"expandPanes"]," SplitView method displays the hidden panes."],["blockquote",["para","In order for the collapsible to size itself correctly, the ",["inlinecode","portraitWidth"]," configuration option should be set too."]],["para","The id of the initial mobile View to display."]],"doc":[["para","Applicable when the pane is inside a SplitView. If set to ",["inlinecode","true"],", the pane will be hidden when the device is in portrait position. The ",["link",{"href":"/api/mobile/splitview#methods-expandPanes"},"expandPanes"]," SplitView method displays the hidden panes."],["blockquote",["para","In order for the collapsible to size itself correctly, the ",["inlinecode","portraitWidth"]," configuration option should be set too."]],["para","The id of the initial mobile View to display."]]},{"name":"initial","type":["String"],"short_doc":[["para","The id of the initial mobile View to display."]],"doc":[["para","The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" data-initial=\"#bar\">\n\n      <div data-role=\"view\" id=\"foo\">\n        Foo\n      </div>\n\n      <div data-role=\"view\" id=\"bar\">\n        Bar\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"layout","type":["String"],"short_doc":[["para","The id of the default Pane Layout."]],"doc":[["para","The id of the default Pane Layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-initial=\"#bar\" data-layout=\"my\">\n      <div data-role=\"view\" id=\"foo\">\n        Foo\n      </div>\n\n      <div data-role=\"view\" id=\"bar\">\n        Bar\n      </div>\n\n    <div data-role=\"layout\" data-id=\"my\">\n      <div data-role=\"header\">Layout Header</div>\n    </div>\n  </div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"loading","type":["String"],"default":"\"Loading...\"","short_doc":[["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."]],"doc":[["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n}\n</script>"]]},{"name":"portraitWidth","type":["Number"],"short_doc":[["para","Sets the pane width in pixels when the device is in portrait position."]],"doc":[["para","Sets the pane width in pixels when the device is in portrait position."]]},{"name":"transition","type":["String"],"short_doc":[["para","The default View transition."]],"doc":[["para","The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-transition=\"slide\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Pane"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Pane element from DOM."]]],"doc":[["para","Prepares the ",["strong","Pane"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Pane element from DOM."]]],"examples":[]},{"name":"hideLoading","args":[],"short_doc":[["para","Hide the loading animation."]],"doc":[["para","Hide the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"]]]},{"name":"navigate","args":[{"name":"url","type":["String"],"short_doc":[["para","The id or URL of the view."]],"doc":[["para","The id or URL of the view."]]},{"name":"transition","type":["String"],"short_doc":[["para","The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions"]," for more information."]],"doc":[["para","The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions"]," for more information."]]}],"short_doc":[["para","Navigate the local or remote view."]],"doc":[["para","Navigate the local or remote view."],["header",{"level":4},"Navigate to a remote view"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" id=\"main-pane\">\n        <div data-role=\"view\">\n            <a data-role=\"button\" data-click=\"goToSettings\">Settings</a>\n        </div>\n    </div>\n</div>\n\n<script>\nfunction goToSettings() {\n    var pane = $(\"#main-pane\").data(\"kendoMobilePane\");\n    pane.navigate(\"settings.html\");\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Navigate to a local view"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" id=\"main-pane\">\n        <div data-role=\"view\"> <a data-role=\"button\" data-click=\"goToSettings\">Settings</a> </div>\n        <div data-role=\"view\" id=\"settings\">Settings View</div>\n    </div>\n</div>\n\n<script>\nfunction goToSettings() {\n    var pane = $(\"#main-pane\").data(\"kendoMobilePane\");\n    pane.navigate(\"#settings\");\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The id or URL of the view."],["header",{"level":5},"transition ",["inlinecode","String"]],["para","The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions"]," for more information."]],"examples":[]},{"name":"showLoading","args":[],"short_doc":[["para","Show the loading animation."]],"doc":[["para","Show the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"]]]},{"name":"view","args":[],"short_doc":[["para","Get a reference to the current view."]],"doc":[["para","Get a reference to the current view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-init=\"showLoading\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\">\n        <a data-click=\"getView\" data-role=\"button\">Get View</a>\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction getView(e) {\n console.log($(\"#my-pane\").data(\"kendoMobilePane\").view());\n}\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.View"]," the view instance."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-init=\"showLoading\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\">\n        <a data-click=\"getView\" data-role=\"button\">Get View</a>\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction getView(e) {\n console.log($(\"#my-pane\").data(\"kendoMobilePane\").view());\n}\n</script>"]]]}],"events":[{"name":"navigate","args":[{"name":"e.url","type":["jQuery"],"short_doc":[["para","The URL of the view"]],"doc":[["para","The URL of the view"]]}],"short_doc":[["para","Triggered when pane navigates to a view."]],"doc":[["para","Triggered when pane navigates to a view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-navigate=\"onNavigate\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction onNavigate(e) {\n    console.log(e);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","jQuery"]],["para","The URL of the view"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-navigate=\"onNavigate\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction onNavigate(e) {\n    console.log(e);\n}\n\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"viewShow","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The displayed view"]],"doc":[["para","The displayed view"]]}],"short_doc":[["para","Triggered after the pane displays a view."]],"doc":[["para","Triggered after the pane displays a view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-view-show=\"viewShown\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction viewShown(e) {\n    console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The displayed view"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-view-show=\"viewShown\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction viewShown(e) {\n    console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"collapsible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Applicable when the pane is inside a SplitView. If set to ",["inlinecode","true"],", the pane will be hidden when the device is in portrait position. The ",["link",{"href":"/api/mobile/splitview#methods-expandPanes"},"expandPanes"]," SplitView method displays the hidden panes."],["blockquote",["para","In order for the collapsible to size itself correctly, the ",["inlinecode","portraitWidth"]," configuration option should be set too."]],["para","The id of the initial mobile View to display."],["header",{"level":3},"initial ",["inlinecode","String"]],["para","The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" data-initial=\"#bar\">\n\n      <div data-role=\"view\" id=\"foo\">\n        Foo\n      </div>\n\n      <div data-role=\"view\" id=\"bar\">\n        Bar\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"layout ",["inlinecode","String"]],["para","The id of the default Pane Layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-initial=\"#bar\" data-layout=\"my\">\n      <div data-role=\"view\" id=\"foo\">\n        Foo\n      </div>\n\n      <div data-role=\"view\" id=\"bar\">\n        Bar\n      </div>\n\n    <div data-role=\"layout\" data-id=\"my\">\n      <div data-role=\"header\">Layout Header</div>\n    </div>\n  </div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"loading ",["inlinecode","String"]," ",["em","(default: \"Loading...\")"]],["para","The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n}\n</script>"],["header",{"level":3},"portraitWidth ",["inlinecode","Number"]],["para","Sets the pane width in pixels when the device is in portrait position."],["header",{"level":3},"transition ",["inlinecode","String"]],["para","The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-transition=\"slide\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Pane"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Pane element from DOM."]],["header",{"level":3},"hideLoading"],["para","Hide the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"],["header",{"level":3},"navigate"],["para","Navigate the local or remote view."],["header",{"level":4},"Navigate to a remote view"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" id=\"main-pane\">\n        <div data-role=\"view\">\n            <a data-role=\"button\" data-click=\"goToSettings\">Settings</a>\n        </div>\n    </div>\n</div>\n\n<script>\nfunction goToSettings() {\n    var pane = $(\"#main-pane\").data(\"kendoMobilePane\");\n    pane.navigate(\"settings.html\");\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Navigate to a local view"],["code_block","<div data-role=\"splitview\">\n    <div data-role=\"pane\" id=\"main-pane\">\n        <div data-role=\"view\"> <a data-role=\"button\" data-click=\"goToSettings\">Settings</a> </div>\n        <div data-role=\"view\" id=\"settings\">Settings View</div>\n    </div>\n</div>\n\n<script>\nfunction goToSettings() {\n    var pane = $(\"#main-pane\").data(\"kendoMobilePane\");\n    pane.navigate(\"#settings\");\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The id or URL of the view."],["header",{"level":5},"transition ",["inlinecode","String"]],["para","The transition to apply when navigating. See ",["link",{"href":"/getting-started/mobile/application#view-transitions"},"View Transitions"]," for more information."],["header",{"level":3},"showLoading"],["para","Show the loading animation."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\" data-show=\"showLoading\">\n        Foo\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction showLoading(e) {\n  $(\"#my-pane\").data(\"kendoMobilePane\").showLoading();\n\n  setTimeout(function() {\n      $(\"#my-pane\").data(\"kendoMobilePane\").hideLoading();\n  }, 1000);\n}\n</script>"],["header",{"level":3},"view"],["para","Get a reference to the current view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-init=\"showLoading\" id=\"my-pane\" data-loading=\"Wait!\">\n      <div data-role=\"view\" id=\"foo\">\n        <a data-click=\"getView\" data-role=\"button\">Get View</a>\n      </div>\n    </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n\nfunction getView(e) {\n console.log($(\"#my-pane\").data(\"kendoMobilePane\").view());\n}\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.mobile.ui.View"]," the view instance."],["header",{"level":2},"Events"],["header",{"level":3},"navigate"],["para","Triggered when pane navigates to a view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-navigate=\"onNavigate\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction onNavigate(e) {\n    console.log(e);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.url ",["inlinecode","jQuery"]],["para","The URL of the view"],["header",{"level":3},"viewShow"],["para","Triggered after the pane displays a view."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\">\n  <div data-role=\"pane\" data-view-show=\"viewShown\">\n      <div data-role=\"view\" id=\"foo\"> <a data-role=\"button\" href=\"#bar\">Bar</a> </div>\n      <div data-role=\"view\" id=\"bar\"> <a data-role=\"button\" href=\"#foo\">Foo</a> </div>\n    </div>\n </div>\n\n<script>\nfunction viewShown(e) {\n    console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The displayed view"]]},"kendo.mobile.ui.PopOver":{"file":"api/mobile/popover.md","name":"kendo.mobile.ui.PopOver","config":[{"name":"pane","type":["Object"],"short_doc":[["para","The pane configuration options."]],"doc":[["para","The pane configuration options."]],"sub":[{"name":"transition","type":["String"],"short_doc":[["para"," The default View transition."]],"doc":[["para"," The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"transition\": \"slide\" }'>\n    <div data-role=\"view\" id=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\">\n      View 2\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"pane.transition"},{"name":"loading","type":["String"],"default":"\"Loading...\"","short_doc":[["para"," The text displayed in the loading popup. Setting this value to false will disable the loading popup."]],"doc":[["para"," The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"loading\": \"sample text\" }'>\n    <div data-role=\"view\" data-show=\"showLoading\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction showLoading(e) {\n  var pane = $(\"#foo\").data(\"kendoMobilePopOver\").pane;\n  pane.showLoading();\n\n  setTimeout(function() {\n    pane.hideLoading();\n  }, 3000);\n}\n</script>"]],"orig":"pane.loading"},{"name":"layout","type":["String"],"short_doc":[["para"," The id of the default Pane Layout."]],"doc":[["para"," The id of the default Pane Layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"layout\": \"popoverLayout\" }'>\n    <div data-role=\"view\" id=\"view1\" data-title=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\" data-title=\"view2\">\n      View 2\n    </div>\n\n    <div data-role=\"layout\" data-id=\"popoverLayout\">\n      <header data-role=\"header\">\n        <div data-role=\"navbar\">\n          <span data-role=\"view-title\"></span>\n        </div>\n      </header>\n      <div data-role=\"footer\">\n        <div data-role=\"tabstrip\">\n          <a href=\"#view1\">view1</a>\n          <a href=\"#view2\">view2</a>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"pane.layout"},{"name":"initial","type":["String"],"short_doc":[["para"," The id of the initial mobile View to display."]],"doc":[["para"," The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"initial\": \"#view2\" }'>\n    <div data-role=\"view\" id=\"view1\" data-title=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\" data-title=\"view2\">\n      View 2\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"pane.initial"}]},{"name":"popup","type":["Object"],"short_doc":[["para","The popup configuration options."]],"doc":[["para","The popup configuration options."]],"sub":[{"name":"width","type":["Number","String"],"default":"240","short_doc":[["para"," The width of the popup in pixels."]],"doc":[["para"," The width of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"width\": \"500\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.width"},{"name":"height","type":["Number","String"],"default":"320","short_doc":[["para"," The height of the popup in pixels."]],"doc":[["para"," The height of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"height\": \"500\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.height"},{"name":"direction String`","type":[],"default":"\"down\"","short_doc":[["para","The direction to which the popup will expand, relative to the target that opened it.\nSupported directions are ",["inlinecode","up"],", ",["inlinecode","right"],", ",["inlinecode","down"],", and ",["inlinecode","left"],"."]],"doc":[["para","The direction to which the popup will expand, relative to the target that opened it.\nSupported directions are ",["inlinecode","up"],", ",["inlinecode","right"],", ",["inlinecode","down"],", and ",["inlinecode","left"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"direction\": \"right\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]],"orig":"popup.direction String`"}]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Close the popover."]],"doc":[["para","Close the popover."],["header",{"level":4},"Close a popover when a button is clicked"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      <a data-role=\"button\" data-click=\"close\">Close me</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction close() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").close();\n}\n</script>"]],"examples":[]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","PopOver"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PopOver element from DOM."]]],"doc":[["para","Prepares the ",["strong","PopOver"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PopOver element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").destroy(); //detach events\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").destroy(); //detach events\n}\n</script>"]]]},{"name":"open","args":[{"name":"target","type":["jQuery"],"short_doc":[["para","The target of the Popover, to which the visual arrow will point to. ",["strong","This parameter is required for a tablet OS."]]],"doc":[["para","The target of the Popover, to which the visual arrow will point to. ",["strong","This parameter is required for a tablet OS."]]]}],"short_doc":[["para","Open the PopOver."]],"doc":[["para","Open the PopOver."],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","The target of the Popover, to which the visual arrow will point to. ",["strong","This parameter is required for a tablet OS."]],["header",{"level":4},"Example - opens the PopOver initially on view show"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction showPopOver() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").open(\"#target\");\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - opens the PopOver initially on view show"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction showPopOver() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").open(\"#target\");\n}\n</script>"]]]}],"events":[{"name":"close","args":[{"name":"e.sender","type":["kendo.mobile.ui.PopOver"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when popover is closed."]],"doc":[["para","Fires when popover is closed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.PopOver"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-close=\"onClose\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClose(e) {\n  console.log(\"close\");\n  //handle event\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-close=\"onClose\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClose(e) {\n  console.log(\"close\");\n  //handle event\n}\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The DOM element, which triggered the popover opening."]],"doc":[["para","The DOM element, which triggered the popover opening."]]},{"name":"e.sender","type":["kendo.mobile.ui.PopOver"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when popover is opened."]],"doc":[["para","Fires when popover is opened."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The DOM element, which triggered the popover opening."],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.PopOver"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-open=\"onOpen\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onOpen(e) {\n  console.log(\"open\");\n  //handle event\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-open=\"onOpen\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onOpen(e) {\n  console.log(\"open\");\n  //handle event\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile PopOver widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile PopOver widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"pane ",["inlinecode","Object"]],["para","The pane configuration options."],["header",{"level":3},"pane.initial ",["inlinecode","String"]],["para"," The id of the initial mobile View to display."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"initial\": \"#view2\" }'>\n    <div data-role=\"view\" id=\"view1\" data-title=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\" data-title=\"view2\">\n      View 2\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"pane.layout ",["inlinecode","String"]],["para"," The id of the default Pane Layout."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"layout\": \"popoverLayout\" }'>\n    <div data-role=\"view\" id=\"view1\" data-title=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\" data-title=\"view2\">\n      View 2\n    </div>\n\n    <div data-role=\"layout\" data-id=\"popoverLayout\">\n      <header data-role=\"header\">\n        <div data-role=\"navbar\">\n          <span data-role=\"view-title\"></span>\n        </div>\n      </header>\n      <div data-role=\"footer\">\n        <div data-role=\"tabstrip\">\n          <a href=\"#view1\">view1</a>\n          <a href=\"#view2\">view2</a>\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"pane.loading ",["inlinecode","String"],["em","(default: \"Loading...\")"]],["para"," The text displayed in the loading popup. Setting this value to false will disable the loading popup."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"loading\": \"sample text\" }'>\n    <div data-role=\"view\" data-show=\"showLoading\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction showLoading(e) {\n  var pane = $(\"#foo\").data(\"kendoMobilePopOver\").pane;\n  pane.showLoading();\n\n  setTimeout(function() {\n    pane.hideLoading();\n  }, 3000);\n}\n</script>"],["header",{"level":3},"pane.transition ",["inlinecode","String"]],["para"," The default View transition."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-pane='{ \"transition\": \"slide\" }'>\n    <div data-role=\"view\" id=\"view1\">\n      View 1\n    </div>\n    <div data-role=\"view\" id=\"view2\">\n      View 2\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup ",["inlinecode","Object"]],["para","The popup configuration options."],["header",{"level":3},"popup.direction String`",["em","(default: \"down\")"]],["para","The direction to which the popup will expand, relative to the target that opened it.\nSupported directions are ",["inlinecode","up"],", ",["inlinecode","right"],", ",["inlinecode","down"],", and ",["inlinecode","left"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"direction\": \"right\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup.height ",["inlinecode","Number | String"],["em","(default: 320)"]],["para"," The height of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"height\": \"500\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"popup.width ",["inlinecode","Number | String"],["em","(default: 240)"]],["para"," The width of the popup in pixels."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-popup='{ \"width\": \"500\" }'>\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Close the popover."],["header",{"level":4},"Close a popover when a button is clicked"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      <a data-role=\"button\" data-click=\"close\">Close me</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction close() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").close();\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","PopOver"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PopOver element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n  <a data-role=\"button\" data-click=\"destroy\">Destroy</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroy() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").destroy(); //detach events\n}\n</script>"],["header",{"level":3},"open"],["para","Open the PopOver."],["header",{"level":4},"Parameters"],["header",{"level":5},"target ",["inlinecode","jQuery"]],["para","The target of the Popover, to which the visual arrow will point to. ",["strong","This parameter is required for a tablet OS."]],["header",{"level":4},"Example - opens the PopOver initially on view show"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction showPopOver() {\n  $(\"#foo\").data(\"kendoMobilePopOver\").open(\"#target\");\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"close"],["para","Fires when popover is closed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.PopOver"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-close=\"onClose\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClose(e) {\n  console.log(\"close\");\n  //handle event\n}\n</script>"],["header",{"level":3},"open"],["para","Fires when popover is opened."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The DOM element, which triggered the popover opening."],["header",{"level":5},"e.sender ",["inlinecode","kendo.mobile.ui.PopOver"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-show=\"showPopOver\">\n  <a id=\"target\" data-role=\"button\" href=\"#foo\" data-rel=\"popover\">Open PopOver</a>\n\n  <div id=\"foo\" data-role=\"popover\" data-open=\"onOpen\">\n    <div data-role=\"view\">\n      View 1\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onOpen(e) {\n  console.log(\"open\");\n  //handle event\n}\n</script>"]]},"kendo.mobile.ui.Scroller":{"file":"api/mobile/scroller.md","name":"kendo.mobile.ui.Scroller","config":[{"name":"zoom","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture."]],"doc":[["para","If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n  <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-zoom=\"true\">\n    <div style=\"width: 500px; height: 500px\">Zoomable Content</div>\n  </div>\n    bar\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"elastic","type":["Boolean"],"default":"true","short_doc":[["para","Weather or not to allow out of bounds dragging and easing."]],"doc":[["para","Weather or not to allow out of bounds dragging and easing."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n  <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-elastic=\"false\">\n    <div style=\"width: 500px; height: 500px\">Content</div>\n  </div>\n    bar\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"pullOffset","type":["Number"],"default":"140","short_doc":[["para","The threshold below which a releasing the scroller will trigger the pull event.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."]],"doc":[["para","The threshold below which a releasing the scroller will trigger the pull event.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"pullTemplate","type":["String"],"default":"\"Pull to refresh\"","short_doc":[["para","The message template displayed when the user pulls the scroller.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."]],"doc":[["para","The message template displayed when the user pulls the scroller.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-template=\"go\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"go\" type=\"text/x-kendo-template\">\n    Go!\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"pullToRefresh","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the scroller will display a hint when the user pulls the container beyond its top limit.\nIf a pull beyond the specified ",["inlinecode","pullOffset"]," occurs, a pull event will be triggered."]],"doc":[["para","If set to true, the scroller will display a hint when the user pulls the container beyond its top limit.\nIf a pull beyond the specified ",["inlinecode","pullOffset"]," occurs, a pull event will be triggered."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"refreshTemplate","type":["String"],"default":"\"Refreshing\"","short_doc":[["para","The message template displayed during the refresh.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."]],"doc":[["para","The message template displayed during the refresh.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-refresh-template=\"progress\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"progress\" type=\"text/x-kendo-template\">\n    In progress...\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"releaseTemplate","type":["String"],"default":"\"Release to refresh\"","short_doc":[["para","The message template displayed when the user pulls the scroller below the ",["inlinecode","pullOffset"],", indicating that ",["inlinecode","pullToRefresh"]," will occur.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."]],"doc":[["para","The message template displayed when the user pulls the scroller below the ",["inlinecode","pullOffset"],", indicating that ",["inlinecode","pullToRefresh"]," will occur.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-release-template=\"release\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"progress\" type=\"text/x-kendo-template\">\n    Let it go now...\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"useNative","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the scroller will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky."]],"doc":[["para","If set to true, the scroller will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-use-native=\"true\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"animatedScrollTo","args":[{"name":"x","type":["Number"],"short_doc":[["para","The horizontal offset in pixels to scroll to."]],"doc":[["para","The horizontal offset in pixels to scroll to."]]},{"name":"y","type":["Number"],"short_doc":[["para","The vertical offset in pixels to scroll to."]],"doc":[["para","The vertical offset in pixels to scroll to."]]}],"short_doc":[["para","Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers."]],"doc":[["para","Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\n    function scrollTo() {\n        $(\"#scroller\").data(\"kendoMobileScroller\").animatedScrollTo(-100, -100);\n    }\n\n    new kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"x ",["inlinecode","Number"]],["para","The horizontal offset in pixels to scroll to."],["header",{"level":5},"y ",["inlinecode","Number"]],["para","The vertical offset in pixels to scroll to."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\n    function scrollTo() {\n        $(\"#scroller\").data(\"kendoMobileScroller\").animatedScrollTo(-100, -100);\n    }\n\n    new kendo.mobile.Application();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Scroller"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Scroller element from DOM."]]],"doc":[["para","Prepares the ",["strong","Scroller"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Scroller element from DOM."]]],"examples":[]},{"name":"disable","args":[],"short_doc":[["para","Disables the scrolling of the element."]],"doc":[["para","Disables the scrolling of the element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"enable","args":[],"short_doc":[["para","Enables the scrolling of the element after it has been disabled by calling ",["inlinecode","disable"],"."]],"doc":[["para","Enables the scrolling of the element after it has been disabled by calling ",["inlinecode","disable"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"height","args":[],"short_doc":[["para","Returns the viewport height of the scrollable element."]],"doc":[["para","Returns the viewport height of the scrollable element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").height());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the viewport height in pixels."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").height());\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"pullHandled","args":[],"short_doc":[["para","Indicate that the pull event is handled (i.e. data from the server has been retrieved)."]],"doc":[["para","Indicate that the pull event is handled (i.e. data from the server has been retrieved)."],["header",{"level":4},"Custom pull to refresh view scroll handling"],["code_block"," <div data-role=\"view\" data-init=\"initPullToRefreshScroller\">\n     <h2 id=\"pull-to-refresh-clock\"></h2>\n </div>\n\n<script>\n function updateClock() {\n     pullTime = kendo.toString(new Date(), \"hh:mm:ss tt\" );\n     $(\"#pull-to-refresh-clock\").html(\"Last update at \" + pullTime + \". <br /> Pull to refresh.\");\n }\n\n function initPullToRefreshScroller(e) {\n     var scroller = e.view.scroller;\n\n     scroller.setOptions({\n         pullToRefresh: true,\n         pull: function() {\n             updateClock();\n             setTimeout(function() { scroller.pullHandled(); }, 400);\n         }\n     })\n }\n\n  new kendo.mobile.Application();\n</script>"]],"examples":[]},{"name":"reset","args":[],"short_doc":[["para","Scrolls the container to the top."]],"doc":[["para","Scrolls the container to the top."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"reset\">Reset</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction reset() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").reset();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example"],["code_block"," <div data-role=\"view\">\n\n     <div style=\"height: 1500px\">\n        Content\n     </div>\n     <a data-role=\"button\" data-click=\"reset\">Reset</a>\n </div>\n\n<script>\nfunction reset() {\n   kendo.mobile.application.scroller().reset();\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"reset\">Reset</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction reset() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").reset();\n}\n\nnew kendo.mobile.Application();\n</script>"]],[["header",{"level":4},"Example"],["code_block"," <div data-role=\"view\">\n\n     <div style=\"height: 1500px\">\n        Content\n     </div>\n     <a data-role=\"button\" data-click=\"reset\">Reset</a>\n </div>\n\n<script>\nfunction reset() {\n   kendo.mobile.application.scroller().reset();\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"scrollHeight","args":[],"short_doc":[["para","Returns the height in pixels of the scroller content."]],"doc":[["para","Returns the height in pixels of the scroller content."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollHeight());\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollHeight());\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"scrollTo","args":[{"name":"x","type":["Number"],"short_doc":[["para","The horizontal offset in pixels to scroll to."]],"doc":[["para","The horizontal offset in pixels to scroll to."]]},{"name":"y","type":["Number"],"short_doc":[["para","The vertical offset in pixels to scroll to."]],"doc":[["para","The vertical offset in pixels to scroll to."]]}],"short_doc":[["para","Scrolls the container to the specified location. The arguments should be negative numbers."]],"doc":[["para","Scrolls the container to the specified location. The arguments should be negative numbers."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n\n<a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\nfunction scrollTo() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").scrollTo(-30, -30);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"x ",["inlinecode","Number"]],["para","The horizontal offset in pixels to scroll to."],["header",{"level":5},"y ",["inlinecode","Number"]],["para","The vertical offset in pixels to scroll to."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n\n<a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\nfunction scrollTo() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").scrollTo(-30, -30);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"scrollWidth","args":[],"short_doc":[["para","Returns the width in pixels of the scroller content."]],"doc":[["para","Returns the width in pixels of the scroller content."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getWidth\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getWidth() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollWidth());\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getWidth\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getWidth() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollWidth());\n}\n\nnew kendo.mobile.Application();\n</script>"]]]}],"events":[{"name":"pull","args":[],"short_doc":[["para","Fires when the pull option is set to true, and the user pulls the scrolling container beyond the specified pullThreshold."]],"doc":[["para","Fires when the pull option is set to true, and the user pulls the scrolling container beyond the specified pullThreshold."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-pull=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-pull=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"resize","args":[],"short_doc":[["para","Fires when the scroller dimensions change (e.g. orientation change or resize)"]],"doc":[["para","Fires when the scroller dimensions change (e.g. orientation change or resize)"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-resize=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-resize=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"scroll","args":[{"name":"e.scrollTop","type":["Number"],"short_doc":[["para","The number of pixels that are hidden from view above the scrollable area."]],"doc":[["para","The number of pixels that are hidden from view above the scrollable area."]]},{"name":"e.scrollLeft","type":["Number"],"short_doc":[["para","The number of pixels that are hidden from view to the left of the scrollable area."]],"doc":[["para","The number of pixels that are hidden from view to the left of the scrollable area."]]}],"short_doc":[["para","Fires when the user scrolls through the content."]],"doc":[["para","Fires when the user scrolls through the content."],["header",{"level":4},"Bind to scroller scroll event in view init"],["code_block","<div data-role=\"view\" data-init=\"attachToScroller\">\n    <div style=\"height: 2000px\">Foo</div>\n</div>\n <script>\n    function attachToScroller(e) {\n      var scroller = e.view.scroller;\n      scroller.bind(\"scroll\", function(e) {\n         console.log(e.scrollTop);\n         console.log(e.scrollLeft);\n      });\n    }\n\n    new kendo.mobile.Application();\n </script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.scrollTop ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view above the scrollable area."],["header",{"level":5},"e.scrollLeft ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view to the left of the scrollable area."]],"examples":[],"type":["Function"]}],"fields":[{"name":"scrollElement","type":["jQuery"],"short_doc":[["para","The inner ",["strong","Scroller"]," element that holds the scrolling content. Use this field if you wish to change the element contents after the Scroller is initialized on it."]],"doc":[["para","The inner ",["strong","Scroller"]," element that holds the scrolling content. Use this field if you wish to change the element contents after the Scroller is initialized on it."],["header",{"level":4},"Replace the Scroller contents"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <div id=\"scroller\" data-role=\"scroller\">Foo</div>\n</div>\n\n<script>\nfunction viewInit(e) {\n  var scroller = $(\"#scroller\").data(\"kendoMobileScroller\");\n  scroller.scrollElement.html(\"<b>New content</b>\");\n}\n\nnew kendo.mobile.Application();\n</script>"]]},{"name":"scrollTop","type":["Number"],"short_doc":[["para","The number of pixels that are hidden from view above the scrollable area."]],"doc":[["para","The number of pixels that are hidden from view above the scrollable area."]]},{"name":"scrollLeft","type":["Number"],"short_doc":[["para","The number of pixels that are hidden from view to the left of the scrollable area."]],"doc":[["para","The number of pixels that are hidden from view to the left of the scrollable area."]]}],"short_doc":[["para","Represents the Kendo UI Mobile Scroller widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile Scroller widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"zoom ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n  <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-zoom=\"true\">\n    <div style=\"width: 500px; height: 500px\">Zoomable Content</div>\n  </div>\n    bar\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"elastic ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Weather or not to allow out of bounds dragging and easing."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n  <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-elastic=\"false\">\n    <div style=\"width: 500px; height: 500px\">Content</div>\n  </div>\n    bar\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"pullOffset ",["inlinecode","Number"],["em","(default: 140)"]],["para","The threshold below which a releasing the scroller will trigger the pull event.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"pullTemplate ",["inlinecode","String"],["em","(default: \"Pull to refresh\")"]],["para","The message template displayed when the user pulls the scroller.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-template=\"go\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"go\" type=\"text/x-kendo-template\">\n    Go!\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"pullToRefresh ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the scroller will display a hint when the user pulls the container beyond its top limit.\nIf a pull beyond the specified ",["inlinecode","pullOffset"]," occurs, a pull event will be triggered."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"refreshTemplate ",["inlinecode","String"],["em","(default: \"Refreshing\")"]],["para","The message template displayed during the refresh.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-refresh-template=\"progress\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"progress\" type=\"text/x-kendo-template\">\n    In progress...\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"releaseTemplate ",["inlinecode","String"],["em","(default: \"Release to refresh\")"]],["para","The message template displayed when the user pulls the scroller below the ",["inlinecode","pullOffset"],", indicating that ",["inlinecode","pullToRefresh"]," will occur.\nHas effect only when the ",["inlinecode","pullToRefresh"]," option is set to true."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-release-template=\"release\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script id=\"progress\" type=\"text/x-kendo-template\">\n    Let it go now...\n</script>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"useNative ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the scroller will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-use-native=\"true\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"animatedScrollTo"],["para","Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\n    function scrollTo() {\n        $(\"#scroller\").data(\"kendoMobileScroller\").animatedScrollTo(-100, -100);\n    }\n\n    new kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"x ",["inlinecode","Number"]],["para","The horizontal offset in pixels to scroll to."],["header",{"level":5},"y ",["inlinecode","Number"]],["para","The vertical offset in pixels to scroll to."],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Scroller"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Scroller element from DOM."]],["header",{"level":3},"disable"],["para","Disables the scrolling of the element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"enable"],["para","Enables the scrolling of the element after it has been disabled by calling ",["inlinecode","disable"],"."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"disableScrolling\">Disable Scrolling</a>\n        <a data-role=\"button\" data-click=\"enableScrolling\">Enable Scrolling</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction enableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").enable();\n}\n\nfunction disableScrolling() {\n  $(\"#scroller\").data(\"kendoMobileScroller\").disable();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"height"],["para","Returns the viewport height of the scrollable element."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").height());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the viewport height in pixels."],["header",{"level":3},"pullHandled"],["para","Indicate that the pull event is handled (i.e. data from the server has been retrieved)."],["header",{"level":4},"Custom pull to refresh view scroll handling"],["code_block"," <div data-role=\"view\" data-init=\"initPullToRefreshScroller\">\n     <h2 id=\"pull-to-refresh-clock\"></h2>\n </div>\n\n<script>\n function updateClock() {\n     pullTime = kendo.toString(new Date(), \"hh:mm:ss tt\" );\n     $(\"#pull-to-refresh-clock\").html(\"Last update at \" + pullTime + \". <br /> Pull to refresh.\");\n }\n\n function initPullToRefreshScroller(e) {\n     var scroller = e.view.scroller;\n\n     scroller.setOptions({\n         pullToRefresh: true,\n         pull: function() {\n             updateClock();\n             setTimeout(function() { scroller.pullHandled(); }, 400);\n         }\n     })\n }\n\n  new kendo.mobile.Application();\n</script>"],["header",{"level":3},"reset"],["para","Scrolls the container to the top."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"reset\">Reset</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction reset() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").reset();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Example"],["code_block"," <div data-role=\"view\">\n\n     <div style=\"height: 1500px\">\n        Content\n     </div>\n     <a data-role=\"button\" data-click=\"reset\">Reset</a>\n </div>\n\n<script>\nfunction reset() {\n   kendo.mobile.application.scroller().reset();\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"scrollHeight"],["para","Returns the height in pixels of the scroller content."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getHeight\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getHeight() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollHeight());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"scrollTo"],["para","Scrolls the container to the specified location. The arguments should be negative numbers."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n\n<a data-role=\"button\" data-click=\"scrollTo\">Scroll To</a>\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n         <div style=\"height: 500px; width: 500px\"> Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.  </div>\n    </div>\n</div>\n\n<script>\nfunction scrollTo() {\n    $(\"#scroller\").data(\"kendoMobileScroller\").scrollTo(-30, -30);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"x ",["inlinecode","Number"]],["para","The horizontal offset in pixels to scroll to."],["header",{"level":5},"y ",["inlinecode","Number"]],["para","The vertical offset in pixels to scroll to."],["header",{"level":3},"scrollWidth"],["para","Returns the width in pixels of the scroller content."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <a data-role=\"button\" data-click=\"getWidth\">Get Scroll Height</a>\n   <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" id=\"scroller\">\n      <div style=\"height: 500px\">\n        Content\n      </div>\n    </div>\n    bar\n </div>\n\n<script>\nfunction getWidth() {\n  console.log($(\"#scroller\").data(\"kendoMobileScroller\").scrollWidth());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"pull"],["para","Fires when the pull option is set to true, and the user pulls the scrolling container beyond the specified pullThreshold."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-pull=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"resize"],["para","Fires when the scroller dimensions change (e.g. orientation change or resize)"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    foo\n    <div data-role=\"scroller\" style=\"width: 200px; height: 200px\" data-pull-to-refresh=\"true\" data-pull-offset=\"20\" data-resize=\"foo\">\n        <div style=\"height: 500px\">\n            Content\n        </div>\n    </div>\n    bar\n</div>\n\n<script>\nfunction foo() {\n    console.log(\"foo!\");\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"scroll"],["para","Fires when the user scrolls through the content."],["header",{"level":4},"Bind to scroller scroll event in view init"],["code_block","<div data-role=\"view\" data-init=\"attachToScroller\">\n    <div style=\"height: 2000px\">Foo</div>\n</div>\n <script>\n    function attachToScroller(e) {\n      var scroller = e.view.scroller;\n      scroller.bind(\"scroll\", function(e) {\n         console.log(e.scrollTop);\n         console.log(e.scrollLeft);\n      });\n    }\n\n    new kendo.mobile.Application();\n </script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.scrollTop ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view above the scrollable area."],["header",{"level":5},"e.scrollLeft ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view to the left of the scrollable area."],["header",{"level":2},"Fields"],["header",{"level":3},"scrollElement ",["inlinecode","jQuery"]],["para","The inner ",["strong","Scroller"]," element that holds the scrolling content. Use this field if you wish to change the element contents after the Scroller is initialized on it."],["header",{"level":4},"Replace the Scroller contents"],["code_block","<div data-role=\"view\" data-init=\"viewInit\">\n    <div id=\"scroller\" data-role=\"scroller\">Foo</div>\n</div>\n\n<script>\nfunction viewInit(e) {\n  var scroller = $(\"#scroller\").data(\"kendoMobileScroller\");\n  scroller.scrollElement.html(\"<b>New content</b>\");\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"scrollTop ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view above the scrollable area."],["header",{"level":3},"scrollLeft ",["inlinecode","Number"]],["para","The number of pixels that are hidden from view to the left of the scrollable area."]]},"kendo.mobile.ui.ScrollView":{"file":"api/mobile/scrollview.md","name":"kendo.mobile.ui.ScrollView","config":[{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the DataSource 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 DataSource specified in the configuration."],["para",["strong","Applicable only in data bound mode."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the DataSource 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 DataSource specified in the configuration."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-auto-bind=\"false\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"]]},{"name":"bounceVelocityThreshold","type":["Number"],"default":"1.6","short_doc":[["para","The velocity threshold after which a swipe will result in a bounce effect."]],"doc":[["para","The velocity threshold after which a swipe will result in a bounce effect."],["header",{"level":4},"Example - increase bounce velocity threshold"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-bounce-velocity-threshold=\"5\">\n    <div data-role=\"page\"><div style=\"height: 200px;\">Foo</div></div>\n    <div data-role=\"page\"><div style=\"height: 200px;\">Bar</div></div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"contentHeight","type":["Number","String"],"default":"\"auto\"","short_doc":[["para","The height of the ScrollView content. Supports ",["inlinecode","100%"]," if the ScrollView is embedded in a stretched view and the ScrollView element ",["strong","is an immediate child"]," of the view element."]],"doc":[["para","The height of the ScrollView content. Supports ",["inlinecode","100%"]," if the ScrollView is embedded in a stretched view and the ScrollView element ",["strong","is an immediate child"]," of the view element."],["header",{"level":4},"Stretched ScrollView"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\" data-content-height=\"100%\">\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"dataSource","type":["kendo.data.DataSource","Object"],"short_doc":[["para","Instance of DataSource that the mobile ScrollView will be bound to. ",["em","If DataSource is set, the widget will operate in data bound mode."]],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]]],"doc":[["para","Instance of DataSource that the mobile ScrollView will be bound to. ",["em","If DataSource is set, the widget will operate in data bound mode."]],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]],["header",{"level":4},"Example - ScrollView bound to remote DataSource"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"]]},{"name":"duration","type":["Number"],"default":"400","short_doc":[["para","The milliseconds that take the ScrollView to snap to the current page after released."]],"doc":[["para","The milliseconds that take the ScrollView to snap to the current page after released."],["header",{"level":4},"Example - increase the duration of snap transtion"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-duration=\"500\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"emptyTemplate","type":["String"],"default":"\"\"","short_doc":[["para","The template which is used to render the pages without content. By default the ScrollView renders a blank page."],["para",["strong","Applicable only in data bound mode."]]],"doc":[["para","The template which is used to render the pages without content. By default the ScrollView renders a blank page."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-empty-template=\"scrollview-empty\"\n    data-content-height=\"120px\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script id=\"scrollview-empty\" type=\"text/x-kendo-template\">\n  <div style=\"width: 100%; height: 100%; background-color: red;\">empty</div>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"]]},{"name":"enablePager","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the ScrollView will display a pager. By default pager is enabled."],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]]],"doc":[["para","If set to ",["inlinecode","true"]," the ScrollView will display a pager. By default pager is enabled."],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]],["header",{"level":4},"Example - turn off pager (ScrollView in data bound mode)"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"]]},{"name":"itemsPerPage","type":["Number"],"default":"1","short_doc":[["para","Determines how many data items will be passed to the page template."],["blockquote",["para",["strong","Important:"]," In order ensure smooth scrolling the ",["strong","pageSize of the DataSource should be 6 times itemsPerPage amount"]," or higher. For example, if ",["inlinecode","itemsPerPage"]," is set to 4, then the ",["inlinecode","pageSize"]," must be 24 (4*6) or higher."]],["para",["strong","Applicable only in data bound mode."]]],"doc":[["para","Determines how many data items will be passed to the page template."],["blockquote",["para",["strong","Important:"]," In order ensure smooth scrolling the ",["strong","pageSize of the DataSource should be 6 times itemsPerPage amount"]," or higher. For example, if ",["inlinecode","itemsPerPage"]," is set to 4, then the ",["inlinecode","pageSize"]," must be 24 (4*6) or higher."]],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-items-per-page=\"2\"\n    data-content-height=\"120px\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(data[0].ProductID)#;\"></div>\n  <p>#= data[0].ProductName #</p>\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(data[1].ProductID)#;\"></div>\n  <p>#= data[1].ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 12 //2*6\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"]]},{"name":"page","type":["Number"],"default":"0","short_doc":[["para","The initial page to display."],["blockquote",["para","If the widget is bound to a DataSource, the initial item to display must be within the records from the first data page. For example if the DataSource has ",["inlinecode","pageSize: 32"]," the page configuration option of the ScrollView should not exceed 30. "]]],"doc":[["para","The initial page to display."],["blockquote",["para","If the widget is bound to a DataSource, the initial item to display must be within the records from the first data page. For example if the DataSource has ",["inlinecode","pageSize: 32"]," the page configuration option of the ScrollView should not exceed 30. "]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-page=\"1\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n</script>"]]},{"name":"pageSize","type":["Number"],"default":"1","short_doc":[["para","Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the ",["inlinecode","pageSize"]," property is set to ",["inlinecode","0.5"],", the ScrollView will scroll by half of the widget width."],["para",["strong","Not applicable in data bound mode."]]],"doc":[["para","Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the ",["inlinecode","pageSize"]," property is set to ",["inlinecode","0.5"],", the ScrollView will scroll by half of the widget width."],["para",["strong","Not applicable in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-page-size=\"0.5\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"template","type":["String"],"default":"\"#:data#\"","short_doc":[["para","The template which is used to render the content of pages. By default the ScrollView renders a div element for every page."],["para",["strong","Applicable only in data bound mode."]]],"doc":[["para","The template which is used to render the content of pages. By default the ScrollView renders a div element for every page."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example: single item template"],["code_block","<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <p>#= ProductName #</p>\n</script>"],["header",{"level":4},"Example: multiple items template (data is accessed via ",["inlinecode","data[index].fieldName"],")"],["code_block","<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n    <div>\n        <p>#= data[0].ProductName #</p>\n    </div>\n    <div>\n        <p>#= data[1].ProductName #</p>\n    </div>\n</script>\n\n<div data-role=\"view\" data-stretch=\"true\" data-init=\"onInit\">\n    <div id=\"scrollview\"></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n    $(\"#scrollview\").kendoMobileScrollView({\n        dataSource: {\n            type: \"odata\",\n            transport: {\n                read: {\n                    url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n                }\n            },\n            serverPaging: true,\n            pageSize: 30\n        },\n        itemsPerPage: 2,\n        template: $(\"#scrollview-template\").html(),\n        contentHeight: 120,\n        enablePager: false\n    });\n}\n</script>"]]},{"name":"velocityThreshold","type":["Number"],"default":"0.8","short_doc":[["para","The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page)."]],"doc":[["para","The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-velocity-threshold=\"2\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"content","args":[{"name":"content","type":["String","jQuery"],"short_doc":[["para","The new ScrollView content."]],"doc":[["para","The new ScrollView content."]]}],"short_doc":[["para","Update the ScrollView HTML content."],["blockquote",["para",["strong","Important:"]," This method is ",["strong","not"]," supported in data bound mode."]]],"doc":[["para","Update the ScrollView HTML content."],["blockquote",["para",["strong","Important:"]," This method is ",["strong","not"]," supported in data bound mode."]],["header",{"level":4},"Parameters"],["header",{"level":5},"content ",["inlinecode","String | jQuery"]],["para","The new ScrollView content."],["header",{"level":4},"Example - change widget's content after initialization"],["code_block","<div data-role=\"view\" data-init=\"changePages\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction changePages() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.content('<div data-role=\"page\">Item1</div><div data-role=\"page\">Item2</div>');\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - change widget's content after initialization"],["code_block","<div data-role=\"view\" data-init=\"changePages\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction changePages() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.content('<div data-role=\"page\">Item1</div><div data-role=\"page\">Item2</div>');\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ScrollView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ScrollView element from DOM."]]],"doc":[["para","Prepares the ",["strong","ScrollView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ScrollView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroyScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.destroy();\n  $(\"#scrollView\").remove();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroyScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.destroy();\n  $(\"#scrollView\").remove();\n}\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Redraw the mobile ScrollView pager. Called automatically on device orientation change event."]],"doc":[["para","Redraw the mobile ScrollView pager. Called automatically on device orientation change event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction refreshScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.refresh();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction refreshScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.refresh();\n}\n</script>"]]]},{"name":"scrollTo","args":[{"name":"page","type":["Number"],"short_doc":[["para","The page to scroll to."]],"doc":[["para","The page to scroll to."]]},{"name":"instant","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the ScrollView will jump instantly to the given page without any animation effects."]],"doc":[["para","If set to true, the ScrollView will jump instantly to the given page without any animation effects."]]}],"short_doc":[["para","Scroll to the given page. Pages are zero-based indexed."]],"doc":[["para","Scroll to the given page. Pages are zero-based indexed."],["header",{"level":4},"Parameters"],["header",{"level":5},"page ",["inlinecode","Number"]],["para","The page to scroll to."],["header",{"level":5},"instant ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to true, the ScrollView will jump instantly to the given page without any animation effects."],["header",{"level":4},"Example - scroll instantly (without animation)"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.scrollTo(2); //scrolls to the 3rd page instantly\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - scroll instantly (without animation)"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.scrollTo(2); //scrolls to the 3rd page instantly\n}\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the DataSource of an existing ScrollView and rebinds it."]],"doc":[["para","Sets the DataSource of an existing ScrollView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<div id=\"home\" data-role=\"view\" data-model=\"viewModel\">\n    <div id=\"scrollview\" data-role=\"scrollview\" data-source=\"ds\" data-template=\"tmp\"></div>\n    <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script id=\"tmp\" type=\"text/x-kendo-template\">\n    <div>#: foo #</div>\n</script>\n\n<script>\n    var ds = new kendo.data.DataSource({\n        data: [{foo: 1}, {foo: 2}]\n    });\n\n    function onClick() {\n        //change dataSource\n        $(\"#scrollview\").data(\"kendoMobileScrollView\")\n            .setDataSource([{foo: 3}, {foo: 4}, {foo: 5}]);\n    }\n\n    var app = new kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"home\" data-role=\"view\" data-model=\"viewModel\">\n    <div id=\"scrollview\" data-role=\"scrollview\" data-source=\"ds\" data-template=\"tmp\"></div>\n    <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script id=\"tmp\" type=\"text/x-kendo-template\">\n    <div>#: foo #</div>\n</script>\n\n<script>\n    var ds = new kendo.data.DataSource({\n        data: [{foo: 1}, {foo: 2}]\n    });\n\n    function onClick() {\n        //change dataSource\n        $(\"#scrollview\").data(\"kendoMobileScrollView\")\n            .setDataSource([{foo: 3}, {foo: 4}, {foo: 5}]);\n    }\n\n    var app = new kendo.mobile.Application();\n</script>"]]]}],"events":[{"name":"changing","args":[{"name":"e.currentPage","type":["Number"],"short_doc":[["para","The current page (zero based index)"]],"doc":[["para","The current page (zero based index)"]]},{"name":"e.nextPage","type":["Number"],"short_doc":[["para","The page about to be displayed (zero based index)"]],"doc":[["para","The page about to be displayed (zero based index)"]]}],"short_doc":[["para","Fires before the widget page is changed. The change can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in which case the widget will snap back to the current page."]],"doc":[["para","Fires before the widget page is changed. The change can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in which case the widget will snap back to the current page."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.currentPage ",["inlinecode","Number"]],["para","The current page (zero based index)"],["header",{"level":5},"e.nextPage ",["inlinecode","Number"]],["para","The page about to be displayed (zero based index)"],["header",{"level":4},"Example - prevent scrolling after 3th page"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-changing=\"changing\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction changing(e) {\n  if(e.nextPage > 2) {\n    e.preventDefault(); //prevent scrolling\n  }\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - prevent scrolling after 3th page"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-changing=\"changing\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction changing(e) {\n  if(e.nextPage > 2) {\n    e.preventDefault(); //prevent scrolling\n  }\n}\n</script>"]]],"type":["Function"]},{"name":"change","args":[{"name":"e.page","type":["Number"],"short_doc":[["para","The current page (zero based index)"]],"doc":[["para","The current page (zero based index)"]]},{"name":"e.element","type":["jQuery"],"short_doc":[["para","The page element. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."]],"doc":[["para","The page element. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."]]},{"name":"e.data","type":["Array"],"short_doc":[["para","The data collection. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."]],"doc":[["para","The data collection. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."]]}],"short_doc":[["para","Fires when the widget page is changed."]],"doc":[["para","Fires when the widget page is changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.page ",["inlinecode","Number"]],["para","The current page (zero based index)"],["header",{"level":5},"e.element ",["inlinecode","jQuery"]],["para","The page element. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."],["header",{"level":5},"e.data ",["inlinecode","Array"]],["para","The data collection. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."],["header",{"level":4},"Example - hook up to the change event"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\"\n    data-change=\"change\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n\nfunction change(e) {\n  console.log(\"page \", e.page, \"data: \", e.data);\n  //handle event\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - hook up to the change event"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\"\n    data-change=\"change\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n\nfunction change(e) {\n  console.log(\"page \", e.page, \"data: \", e.data);\n  //handle event\n}\n</script>"]]],"type":["Function"]},{"name":"refresh","args":[{"name":"e.pageCount","type":["Number"],"short_doc":[["para","The number of pages"]],"doc":[["para","The number of pages"]]},{"name":"e.page","type":["Number"],"short_doc":[["para","The current page number (zero based index)"]],"doc":[["para","The current page number (zero based index)"]]}],"short_doc":[["para","Fires when widget refreshes"]],"doc":[["para","Fires when widget refreshes"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pageCount ",["inlinecode","Number"]],["para","The number of pages"],["header",{"level":5},"e.page ",["inlinecode","Number"]],["para","The current page number (zero based index)"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-refresh=\"refresh\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction refresh(e) {\n  console.log(\"Total: \", e.pageCount, \" Current: \", e.page);\n  //handle event\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-refresh=\"refresh\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction refresh(e) {\n  console.log(\"Total: \", e.pageCount, \" Current: \", e.page);\n  //handle event\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile ScrollView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile ScrollView widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the DataSource 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 DataSource specified in the configuration."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-auto-bind=\"false\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"],["header",{"level":3},"bounceVelocityThreshold ",["inlinecode","Number"],["em","(default: 1.6)"]],["para","The velocity threshold after which a swipe will result in a bounce effect."],["header",{"level":4},"Example - increase bounce velocity threshold"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-bounce-velocity-threshold=\"5\">\n    <div data-role=\"page\"><div style=\"height: 200px;\">Foo</div></div>\n    <div data-role=\"page\"><div style=\"height: 200px;\">Bar</div></div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"contentHeight ",["inlinecode","Number|String"],["em","(default: \"auto\")"]],["para","The height of the ScrollView content. Supports ",["inlinecode","100%"]," if the ScrollView is embedded in a stretched view and the ScrollView element ",["strong","is an immediate child"]," of the view element."],["header",{"level":4},"Stretched ScrollView"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\" data-content-height=\"100%\">\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n    <div data-role=\"page\">This page will stretch to fit the entire view height</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource | Object"]],["para","Instance of DataSource that the mobile ScrollView will be bound to. ",["em","If DataSource is set, the widget will operate in data bound mode."]],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]],["header",{"level":4},"Example - ScrollView bound to remote DataSource"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"],["header",{"level":3},"duration ",["inlinecode","Number"],["em","(default: 400)"]],["para","The milliseconds that take the ScrollView to snap to the current page after released."],["header",{"level":4},"Example - increase the duration of snap transtion"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-duration=\"500\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"emptyTemplate ",["inlinecode","String"],["em","(default: \"\")"]],["para","The template which is used to render the pages without content. By default the ScrollView renders a blank page."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-empty-template=\"scrollview-empty\"\n    data-content-height=\"120px\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script id=\"scrollview-empty\" type=\"text/x-kendo-template\">\n  <div style=\"width: 100%; height: 100%; background-color: red;\">empty</div>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"],["header",{"level":3},"enablePager ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the ScrollView will display a pager. By default pager is enabled."],["blockquote",["para",["strong","Important:"]," In case the total amount of displayed data is large, it is recommended to turn off the pager by setting ",["inlinecode","enablePager: false"]," in the configuration options or via ",["inlinecode","data-enable-pager=\"false\""]," data attribute."]],["header",{"level":4},"Example - turn off pager (ScrollView in data bound mode)"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"],["header",{"level":3},"itemsPerPage ",["inlinecode","Number"],["em","(default: 1)"]],["para","Determines how many data items will be passed to the page template."],["blockquote",["para",["strong","Important:"]," In order ensure smooth scrolling the ",["strong","pageSize of the DataSource should be 6 times itemsPerPage amount"]," or higher. For example, if ",["inlinecode","itemsPerPage"]," is set to 4, then the ",["inlinecode","pageSize"]," must be 24 (4*6) or higher."]],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-items-per-page=\"2\"\n    data-content-height=\"120px\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(data[0].ProductID)#;\"></div>\n  <p>#= data[0].ProductName #</p>\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(data[1].ProductID)#;\"></div>\n  <p>#= data[1].ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 12 //2*6\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n</script>"],["header",{"level":3},"page ",["inlinecode","Number"],["em","(default: 0)"]],["para","The initial page to display."],["blockquote",["para","If the widget is bound to a DataSource, the initial item to display must be within the records from the first data page. For example if the DataSource has ",["inlinecode","pageSize: 32"]," the page configuration option of the ScrollView should not exceed 30. "]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-page=\"1\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\n  var app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"pageSize ",["inlinecode","Number"],["em","(default: 1)"]],["para","Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the ",["inlinecode","pageSize"]," property is set to ",["inlinecode","0.5"],", the ScrollView will scroll by half of the widget width."],["para",["strong","Not applicable in data bound mode."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-page-size=\"0.5\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"template ",["inlinecode","String"],["em","(default: \"#:data#\")"]],["para","The template which is used to render the content of pages. By default the ScrollView renders a div element for every page."],["para",["strong","Applicable only in data bound mode."]],["header",{"level":4},"Example: single item template"],["code_block","<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <p>#= ProductName #</p>\n</script>"],["header",{"level":4},"Example: multiple items template (data is accessed via ",["inlinecode","data[index].fieldName"],")"],["code_block","<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n    <div>\n        <p>#= data[0].ProductName #</p>\n    </div>\n    <div>\n        <p>#= data[1].ProductName #</p>\n    </div>\n</script>\n\n<div data-role=\"view\" data-stretch=\"true\" data-init=\"onInit\">\n    <div id=\"scrollview\"></div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n    $(\"#scrollview\").kendoMobileScrollView({\n        dataSource: {\n            type: \"odata\",\n            transport: {\n                read: {\n                    url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n                }\n            },\n            serverPaging: true,\n            pageSize: 30\n        },\n        itemsPerPage: 2,\n        template: $(\"#scrollview-template\").html(),\n        contentHeight: 120,\n        enablePager: false\n    });\n}\n</script>"],["header",{"level":3},"velocityThreshold ",["inlinecode","Number"],["em","(default: 0.8)"]],["para","The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page)."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-velocity-threshold=\"2\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"content"],["para","Update the ScrollView HTML content."],["blockquote",["para",["strong","Important:"]," This method is ",["strong","not"]," supported in data bound mode."]],["header",{"level":4},"Parameters"],["header",{"level":5},"content ",["inlinecode","String | jQuery"]],["para","The new ScrollView content."],["header",{"level":4},"Example - change widget's content after initialization"],["code_block","<div data-role=\"view\" data-init=\"changePages\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction changePages() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.content('<div data-role=\"page\">Item1</div><div data-role=\"page\">Item2</div>');\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ScrollView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ScrollView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction destroyScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.destroy();\n  $(\"#scrollView\").remove();\n}\n</script>"],["header",{"level":3},"refresh"],["para","Redraw the mobile ScrollView pager. Called automatically on device orientation change event."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction refreshScrollView() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.refresh();\n}\n</script>"],["header",{"level":3},"scrollTo"],["para","Scroll to the given page. Pages are zero-based indexed."],["header",{"level":4},"Parameters"],["header",{"level":5},"page ",["inlinecode","Number"]],["para","The page to scroll to."],["header",{"level":5},"instant ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to true, the ScrollView will jump instantly to the given page without any animation effects."],["header",{"level":4},"Example - scroll instantly (without animation)"],["code_block","<div data-role=\"view\" data-init=\"onInit\">\n  <div id=\"scrollView\" data-role=\"scrollview\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onInit() {\n  var scrollview = $(\"#scrollView\").data(\"kendoMobileScrollView\");\n  scrollview.scrollTo(2); //scrolls to the 3rd page instantly\n}\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the DataSource of an existing ScrollView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<div id=\"home\" data-role=\"view\" data-model=\"viewModel\">\n    <div id=\"scrollview\" data-role=\"scrollview\" data-source=\"ds\" data-template=\"tmp\"></div>\n    <a data-role=\"button\" data-click=\"onClick\">Button</a>\n</div>\n\n<script id=\"tmp\" type=\"text/x-kendo-template\">\n    <div>#: foo #</div>\n</script>\n\n<script>\n    var ds = new kendo.data.DataSource({\n        data: [{foo: 1}, {foo: 2}]\n    });\n\n    function onClick() {\n        //change dataSource\n        $(\"#scrollview\").data(\"kendoMobileScrollView\")\n            .setDataSource([{foo: 3}, {foo: 4}, {foo: 5}]);\n    }\n\n    var app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"changing"],["para","Fires before the widget page is changed. The change can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in which case the widget will snap back to the current page."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.currentPage ",["inlinecode","Number"]],["para","The current page (zero based index)"],["header",{"level":5},"e.nextPage ",["inlinecode","Number"]],["para","The page about to be displayed (zero based index)"],["header",{"level":4},"Example - prevent scrolling after 3th page"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-changing=\"changing\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction changing(e) {\n  if(e.nextPage > 2) {\n    e.preventDefault(); //prevent scrolling\n  }\n}\n</script>"],["header",{"level":3},"change"],["para","Fires when the widget page is changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.page ",["inlinecode","Number"]],["para","The current page (zero based index)"],["header",{"level":5},"e.element ",["inlinecode","jQuery"]],["para","The page element. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."],["header",{"level":5},"e.data ",["inlinecode","Array"]],["para","The data collection. ",["strong","Available only in data bound mode."]," Parameter will be undefined in standard mode."],["header",{"level":4},"Example - hook up to the change event"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div data-role=\"scrollview\"\n    data-source=\"dataSource\"\n    data-template=\"scrollview-template\"\n    data-content-height=\"120px\"\n    data-enable-pager=\"false\"\n    data-change=\"change\">\n  </div>\n</div>\n\n<script id=\"scrollview-template\" type=\"text/x-kendo-template\">\n  <div style=\"width: 110px; height: 110px; background-image: #=setBackground(ProductID)#;\"></div>\n  <p>#= ProductName #</p>\n</script>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nvar dataSource = new kendo.data.DataSource({\n  type: \"odata\",\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Northwind.svc/Products\"\n    }\n  },\n  serverPaging: true,\n  pageSize: 30\n});\n\nfunction setBackground(id) {\n  return \"url(http://demos.kendoui.com/content/web/foods/\" + id +\".jpg)\";\n}\n\nfunction change(e) {\n  console.log(\"page \", e.page, \"data: \", e.data);\n  //handle event\n}\n</script>"],["header",{"level":3},"refresh"],["para","Fires when widget refreshes"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pageCount ",["inlinecode","Number"]],["para","The number of pages"],["header",{"level":5},"e.page ",["inlinecode","Number"]],["para","The current page number (zero based index)"],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n  <div id=\"scrollView\" data-role=\"scrollview\" data-refresh=\"refresh\">\n    <div data-role=\"page\">Foo</div>\n    <div data-role=\"page\">Bar</div>\n    <div data-role=\"page\">Baz</div>\n    <div data-role=\"page\">Bat</div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction refresh(e) {\n  console.log(\"Total: \", e.pageCount, \" Current: \", e.page);\n  //handle event\n}\n</script>"]]},"kendo.mobile.ui.SplitView":{"file":"api/mobile/splitview.md","name":"kendo.mobile.ui.SplitView","config":[{"name":"style","type":["String"],"default":"\"horizontal\"","short_doc":[["para","Defines the SplitView style - horizontal or vertical."]],"doc":[["para","Defines the SplitView style - horizontal or vertical."],["header",{"level":4},"Vertical SplitView"],["code_block","<div data-role=\"splitview\" data-style=\"vertical\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","SplitView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the SplitView element from DOM."]]],"doc":[["para","Prepares the ",["strong","SplitView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the SplitView element from DOM."]]],"examples":[]},{"name":"expandPanes","args":[],"short_doc":[["para","Displays the collapsible panes; has effect only when the device is in portrait orientation."]],"doc":[["para","Displays the collapsible panes; has effect only when the device is in portrait orientation."]],"examples":[]},{"name":"collapsePanes","args":[],"short_doc":[["para","Collapses back the collapsible panes (displayed previously with ",["inlinecode","expandPanes"],"); has effect only when the device is in portrait orientation."]],"doc":[["para","Collapses back the collapsible panes (displayed previously with ",["inlinecode","expandPanes"],"); has effect only when the device is in portrait orientation."]],"examples":[]}],"events":[{"name":"init","args":[{"name":"e.view","type":["jQuery"],"short_doc":[["para","The mobile SplitView instance"]],"doc":[["para","The mobile SplitView instance"]]}],"short_doc":[["para","Fires after the mobile SplitView and its child widgets are initialized."]],"doc":[["para","Fires after the mobile SplitView and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-init=\"onInit\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onInit(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile SplitView instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-init=\"onInit\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onInit(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]},{"name":"show","args":[{"name":"e.view","type":["jQuery"],"short_doc":[["para","The mobile SplitView instance"]],"doc":[["para","The mobile SplitView instance"]]}],"short_doc":[["para","Fires when the mobile SplitView becomes visible."]],"doc":[["para","Fires when the mobile SplitView becomes visible."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-show=\"onShow\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onShow(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile SplitView instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-show=\"onShow\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onShow(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"style ",["inlinecode","String"],["em","(default: \"horizontal\")"]],["para","Defines the SplitView style - horizontal or vertical."],["header",{"level":4},"Vertical SplitView"],["code_block","<div data-role=\"splitview\" data-style=\"vertical\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","SplitView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the SplitView element from DOM."]],["header",{"level":3},"expandPanes"],["para","Displays the collapsible panes; has effect only when the device is in portrait orientation."],["header",{"level":3},"collapsePanes"],["para","Collapses back the collapsible panes (displayed previously with ",["inlinecode","expandPanes"],"); has effect only when the device is in portrait orientation."],["header",{"level":2},"Events"],["header",{"level":3},"init"],["para","Fires after the mobile SplitView and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-init=\"onInit\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onInit(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile SplitView instance"],["header",{"level":3},"show"],["para","Fires when the mobile SplitView becomes visible."],["header",{"level":4},"Example"],["code_block","<div data-role=\"splitview\" data-show=\"onShow\">\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 1 </div>\n  </div>\n  <div data-role=\"pane\">\n      <div data-role=\"view\" id=\"foo\">Pane 2 </div>\n  </div>\n </div>\n\n<script>\nfunction onShow(e) {\n  console.log(e);\n}\nnew kendo.mobile.Application();\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","jQuery"]],["para","The mobile SplitView instance"]]},"kendo.mobile.ui.Switch":{"file":"api/mobile/switch.md","name":"kendo.mobile.ui.Switch","config":[{"name":"checked","type":["Boolean"],"default":"false","short_doc":[["para","The checked state of the widget."]],"doc":[["para","The checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-checked=\"false\" />\n  <input type=\"checkbox\" data-role=\"switch\" data-checked=\"true\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default."],["header",{"level":4},"Example - initialize disabled switch."],["code_block","<div data-role=\"view\">\n    <input type=\"checkbox\" data-role=\"switch\" data-enable=\"false\" />\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n</script>"]]},{"name":"offLabel","type":["String"],"default":"\"OFF\"","short_doc":[["para","The OFF label."]],"doc":[["para","The OFF label."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-off-label=\"No\" data-on-label=\"Yes\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]},{"name":"onLabel","type":["String"],"default":"\"ON\"","short_doc":[["para","The ON label."]],"doc":[["para","The ON label."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-off-label=\"No\" data-on-label=\"Yes\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"check","args":[{"name":"check","type":["Boolean"],"short_doc":[["para","Whether to turn the widget on or off."]],"doc":[["para","Whether to turn the widget on or off."]]}],"short_doc":[["para","Get/Set the checked state of the widget."]],"doc":[["para","Get/Set the checked state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"check ",["inlinecode","Boolean"]],["para","Whether to turn the widget on or off."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," The checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Change status</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  // get a reference to the switch widget\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  // get the checked state of the switch.\n  console.log(switchInstance.check());\n  // set the checked state of the switch.\n  switchInstance.check(true);\n  console.log(switchInstance.check());\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Change status</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  // get a reference to the switch widget\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  // get the checked state of the switch.\n  console.log(switchInstance.check());\n  // set the checked state of the switch.\n  switchInstance.check(true);\n  console.log(switchInstance.check());\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Switch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Switch element from DOM."]]],"doc":[["para","Prepares the ",["strong","Switch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Switch element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Destroy</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  switchInstance.destroy();\n  switchInstance.wrapper.remove();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Destroy</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  switchInstance.destroy();\n  switchInstance.wrapper.remove();\n}\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether to enable or disable the widget."]],"doc":[["para","Whether to enable or disable the widget."]]}],"short_doc":[["para","Changes the enabled state of the widget."]],"doc":[["para","Changes the enabled state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Whether to enable or disable the widget."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <input id=\"foo\" type=\"checkbox\" data-role=\"switch\" />\n    <a data-role=\"button\" data-click=\"disable\">Disable</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function disable() {\n        $(\"#foo\").data(\"kendoMobileSwitch\").enable(false);\n    }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <input id=\"foo\" type=\"checkbox\" data-role=\"switch\" />\n    <a data-role=\"button\" data-click=\"disable\">Disable</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function disable() {\n        $(\"#foo\").data(\"kendoMobileSwitch\").enable(false);\n    }\n</script>"]]]},{"name":"toggle","args":[],"short_doc":[["para","Toggle the checked state of the widget."]],"doc":[["para","Toggle the checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Toggle</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n  // toggle the checked state of the switch.\n  switchInstance.toggle();\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Toggle</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n  // toggle the checked state of the switch.\n  switchInstance.toggle();\n}\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.checked","type":["Object"],"short_doc":[["para","The checked state of the widget."]],"doc":[["para","The checked state of the widget."]]}],"short_doc":[["para","Fires when the state of the widget changes"]],"doc":[["para","Fires when the state of the widget changes"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.checked ",["inlinecode","Object"]],["para","The checked state of the widget."],["header",{"level":4},"Handle mobile Switch change event"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" data-change=\"onChange\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onChange(e) {\n  console.log(e.checked);//true of false\n}\n</script>"]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile Switch widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile Switch widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"checked ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-checked=\"false\" />\n  <input type=\"checkbox\" data-role=\"switch\" data-checked=\"true\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default."],["header",{"level":4},"Example - initialize disabled switch."],["code_block","<div data-role=\"view\">\n    <input type=\"checkbox\" data-role=\"switch\" data-enable=\"false\" />\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"offLabel ",["inlinecode","String"],["em","(default: \"OFF\")"]],["para","The OFF label."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-off-label=\"No\" data-on-label=\"Yes\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":3},"onLabel ",["inlinecode","String"],["em","(default: \"ON\")"]],["para","The ON label."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input type=\"checkbox\" data-role=\"switch\" data-off-label=\"No\" data-on-label=\"Yes\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"check"],["para","Get/Set the checked state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"check ",["inlinecode","Boolean"]],["para","Whether to turn the widget on or off."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," The checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Change status</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  // get a reference to the switch widget\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  // get the checked state of the switch.\n  console.log(switchInstance.check());\n  // set the checked state of the switch.\n  switchInstance.check(true);\n  console.log(switchInstance.check());\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Switch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Switch element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Destroy</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n\n  switchInstance.destroy();\n  switchInstance.wrapper.remove();\n}\n</script>"],["header",{"level":3},"enable"],["para","Changes the enabled state of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Whether to enable or disable the widget."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\">\n    <input id=\"foo\" type=\"checkbox\" data-role=\"switch\" />\n    <a data-role=\"button\" data-click=\"disable\">Disable</a>\n</div>\n\n<script>\n    var app = new kendo.mobile.Application();\n    function disable() {\n        $(\"#foo\").data(\"kendoMobileSwitch\").enable(false);\n    }\n</script>"],["header",{"level":3},"toggle"],["para","Toggle the checked state of the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" />\n  <a data-role=\"button\" data-click=\"onClick\">Toggle</a>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onClick() {\n  var switchInstance = $(\"#switch\").data(\"kendoMobileSwitch\");\n  // toggle the checked state of the switch.\n  switchInstance.toggle();\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the state of the widget changes"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.checked ",["inlinecode","Object"]],["para","The checked state of the widget."],["header",{"level":4},"Handle mobile Switch change event"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <input id=\"switch\" type=\"checkbox\" data-role=\"switch\" data-change=\"onChange\" />\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction onChange(e) {\n  console.log(e.checked);//true of false\n}\n</script>"]]},"kendo.mobile.ui.TabStrip":{"file":"api/mobile/tabstrip.md","name":"kendo.mobile.ui.TabStrip","config":[{"name":"selectedIndex","type":["Number"],"default":"0","short_doc":[["para"," The index of the initially selected tab."]],"doc":[["para"," The index of the initially selected tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\">\n  foo\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\" data-selected-index=\"1\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"badge","args":[{"name":"tab","type":["Selector","Number"],"short_doc":[["para","The target tab specified either as a jQuery selector/object or as an item index."]],"doc":[["para","The target tab specified either as a jQuery selector/object or as an item index."]]},{"name":"value","type":["String","Boolean"],"short_doc":[["para","The target value to be set or false to be removed."]],"doc":[["para","The target value to be set or false to be removed."]]}],"short_doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ",["strong","tabs"]," with the specified value. If invoked without second parameter, returns the tab's current badge value. Set the value to false to remove the badge."]],"doc":[["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ",["strong","tabs"]," with the specified value. If invoked without second parameter, returns the tab's current badge value. Set the value to false to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"tab ",["inlinecode","Selector|Number"]],["para","The target tab specified either as a jQuery selector/object or as an item index."],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or false to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String|kendo.mobile.ui.TabStrip"]," Returns the badge value if invoked without parameters, otherwise returns the TabStrip object."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n\n  // Set the first tab badge value to 5\n  tabstrip.badge(0, 5);\n  // Get the current badge value on the first tab.\n  console.log(tabstrip.badge(0));\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n\n  // Set the first tab badge value to 5\n  tabstrip.badge(0, 5);\n  // Get the current badge value on the first tab.\n  console.log(tabstrip.badge(0));\n}\n</script>"]]]},{"name":"currentItem","args":[],"short_doc":[["para","Get the currently selected tab DOM element."]],"doc":[["para","Get the currently selected tab DOM element."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the currently selected tab DOM element."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  var currentItem = tabstrip.currentItem();\n  console.log(currentItem);\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  var currentItem = tabstrip.currentItem();\n  console.log(currentItem);\n}\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]]],"doc":[["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.destroy(); //detach events\n  tabstrip.wrapper.remove(); //remove DOM elements\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.destroy(); //detach events\n  tabstrip.wrapper.remove(); //remove DOM elements\n}\n</script>"]]]},{"name":"switchTo","args":[{"name":"url","type":["String","Number"],"short_doc":[["para","The URL or zero based index of the tab."]],"doc":[["para","The URL or zero based index of the tab."]]}],"short_doc":[["para","Set the mobile TabStrip active tab to the tab with the specified URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."]],"doc":[["para","Set the mobile TabStrip active tab to the tab with the specified URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String|Number"]],["para","The URL or zero based index of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchTo(\"#bar\"); //activate \"bar\" tab\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchTo(\"#bar\"); //activate \"bar\" tab\n}\n</script>"]]]},{"name":"switchByFullUrl","args":[{"name":"url","type":["String"],"short_doc":[["para","The URL of the tab."]],"doc":[["para","The URL of the tab."]]}],"short_doc":[["para","Set the mobile TabStrip active tab to the tab with the specified full URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."],["blockquote",["para","Use switchByFullUrl when you want to active a tab that has URL with query string parameters."]]],"doc":[["para","Set the mobile TabStrip active tab to the tab with the specified full URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."],["blockquote",["para","Use switchByFullUrl when you want to active a tab that has URL with query string parameters."]],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The URL of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#foo?bar=qux\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchByFullUrl(\"#foo?bar=qux\"); //activate second tab\n}\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#foo?bar=qux\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchByFullUrl(\"#foo?bar=qux\"); //activate second tab\n}\n</script>"]]]},{"name":"clear","args":[],"short_doc":[["para","Clear the currently selected tab."],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.clear();\n}\n</script>"]],"doc":[["para","Clear the currently selected tab."],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.clear();\n}\n</script>"]],"examples":[]}],"events":[{"name":"select","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The selected tab"]],"doc":[["para","The selected tab"]]}],"short_doc":[["para","Fires when tab is selected."]],"doc":[["para","Fires when tab is selected."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The selected tab"],["header",{"level":4},"Example - prevent tab selection"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\" data-select=\"onSelect\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onSelect(e) {\n  e.preventDefault(); //prevent the tab selection\n}\n</script>"]],"examples":[[["header",{"level":4},"Example - prevent tab selection"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\" data-select=\"onSelect\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onSelect(e) {\n  e.preventDefault(); //prevent the tab selection\n}\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Mobile TabStrip widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."]],"doc":[["para","Represents the Kendo UI Mobile TabStrip widget. Inherits from ",["link",{"href":"/api/framework/mobilewidget"},"kendo.mobile.ui.Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"selectedIndex ",["inlinecode","Number"],["em","(default: 0)"]],["para"," The index of the initially selected tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-layout=\"default\">\n  foo\n</div>\n\n<div data-role=\"layout\" data-id=\"default\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\" data-selected-index=\"1\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"badge"],["para",["strong","Introduced in Q1 2013 SP"]," Sets a badge on one of the ",["strong","tabs"]," with the specified value. If invoked without second parameter, returns the tab's current badge value. Set the value to false to remove the badge."],["header",{"level":4},"Parameters"],["header",{"level":5},"tab ",["inlinecode","Selector|Number"]],["para","The target tab specified either as a jQuery selector/object or as an item index."],["header",{"level":5},"value ",["inlinecode","String|Boolean"]],["para","The target value to be set or false to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","String|kendo.mobile.ui.TabStrip"]," Returns the badge value if invoked without parameters, otherwise returns the TabStrip object."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n\n  // Set the first tab badge value to 5\n  tabstrip.badge(0, 5);\n  // Get the current badge value on the first tab.\n  console.log(tabstrip.badge(0));\n}\n</script>"],["header",{"level":3},"currentItem"],["para","Get the currently selected tab DOM element."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the currently selected tab DOM element."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\" data-init=\"onInit\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onInit(e) {\n  var tabstrip = e.view.footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  var currentItem = tabstrip.currentItem();\n  console.log(currentItem);\n}\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n      <a data-icon=\"info\">baz</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.destroy(); //detach events\n  tabstrip.wrapper.remove(); //remove DOM elements\n}\n</script>"],["header",{"level":3},"switchTo"],["para","Set the mobile TabStrip active tab to the tab with the specified URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String|Number"]],["para","The URL or zero based index of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchTo(\"#bar\"); //activate \"bar\" tab\n}\n</script>"],["header",{"level":3},"switchByFullUrl"],["para","Set the mobile TabStrip active tab to the tab with the specified full URL. This method doesn't change the current View. To change the View, use Application's ",["link",{"href":"/api/mobile/application#navigate"},"navigate"]," method instead."],["blockquote",["para","Use switchByFullUrl when you want to active a tab that has URL with query string parameters."]],["header",{"level":4},"Parameters"],["header",{"level":5},"url ",["inlinecode","String"]],["para","The URL of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#foo?bar=qux\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.switchByFullUrl(\"#foo?bar=qux\"); //activate second tab\n}\n</script>"],["header",{"level":3},"clear"],["para","Clear the currently selected tab."],["code_block","<div id=\"foo\" data-role=\"view\">\n  <a data-role=\"button\" data-click=\"onClick\">Button</a>\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\">\n      <a href=\"#foo\" data-icon=\"contacts\">foo</a>\n      <a href=\"#bar\" data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onClick() {\n  var tabstrip = app.view().footer.find(\".km-tabstrip\").data(\"kendoMobileTabStrip\");\n  tabstrip.clear();\n}\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"select"],["para","Fires when tab is selected."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The selected tab"],["header",{"level":4},"Example - prevent tab selection"],["code_block","<div id=\"foo\" data-role=\"view\">\n  <div data-role=\"footer\">\n    <div data-role=\"tabstrip\" data-select=\"onSelect\">\n      <a data-icon=\"contacts\">foo</a>\n      <a data-icon=\"contacts\">bar</a>\n    </div>\n  </div>\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onSelect(e) {\n  e.preventDefault(); //prevent the tab selection\n}\n</script>"]]},"kendo.ui.Touch":{"file":"api/mobile/touch.md","name":"kendo.ui.Touch","config":[{"name":"filter","type":["String"],"short_doc":[["para","jQuery selector that specifies child elements that are touchable if a widget is attached to a container."]],"doc":[["para","jQuery selector that specifies child elements that are touchable if a widget is attached to a container."],["header",{"level":4},"Example"],["code_block","<ul id=\"list\">\n    <li class=\"touch\">Foo</li>\n    <li>Not selected</li>\n    <li class=\"touch\">Foo</li>\n    <li>Not selected</li>\n</ul>\n\n<script>\n$(\"#list\").kendoTouch({\n    filter: \".touch\",\n    drag: function(e) {\n        console.log(\"you dragged a list item\");\n    }\n});\n</script>"]]},{"name":"surface","type":["jQuery"],"default":"null","short_doc":[["para","If specified, the user drags will be tracked within the surface boundaries.\nThis option is useful if the widget is instantiated on small DOM elements like buttons, or thin list items."]],"doc":[["para","If specified, the user drags will be tracked within the surface boundaries.\nThis option is useful if the widget is instantiated on small DOM elements like buttons, or thin list items."],["header",{"level":4},"Example"],["code_block","<ul id=\"list\">\n    <li>Foo</li>\n    <li>Foo</li>\n    <li>Foo</li>\n    <li>Foo</li>\n</ul>\n\n<script>\n$(\"#list li\").kendoTouch({\n    surface: $(\"#list\"),\n    drag: function(e) {\n        console.log(\"you dragged a list item\");\n    }\n});\n</script>"]]},{"name":"multiTouch","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the widget will capture and trigger the ",["inlinecode","gesturestart"],", ",["inlinecode","gesturechange"],", and ",["inlinecode","gestureend"]," events when the user touches the element with two fingers."]],"doc":[["para","If set to true, the widget will capture and trigger the ",["inlinecode","gesturestart"],", ",["inlinecode","gesturechange"],", and ",["inlinecode","gestureend"]," events when the user touches the element with two fingers."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturestart: function (e) {\n        console.log(\"User touched the element with two fingers\");\n    }\n});\n</script>"]]},{"name":"enableSwipe","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the Touch widget will recognize horizontal swipes and trigger the ",["inlinecode","swipe"]," event."],["para",["strong","Notice"],": if the ",["inlinecode","enableSwipe"]," option is set to true, the ",["inlinecode","dragstart"],", ",["inlinecode","drag"]," and ",["inlinecode","dragend"]," events will not be triggered."]],"doc":[["para","If set to true, the Touch widget will recognize horizontal swipes and trigger the ",["inlinecode","swipe"]," event."],["para",["strong","Notice"],": if the ",["inlinecode","enableSwipe"]," option is set to true, the ",["inlinecode","dragstart"],", ",["inlinecode","drag"]," and ",["inlinecode","dragend"]," events will not be triggered."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    swipe: function (e) {\n        console.log(\"User swiped the element\");\n    }\n});\n</script>"]]},{"name":"minXDelta","type":["Number"],"default":"30","short_doc":[["para","The minimum horizontal distance in pixels the user should swipe before the ",["inlinecode","swipe"]," event is triggered."]],"doc":[["para","The minimum horizontal distance in pixels the user should swipe before the ",["inlinecode","swipe"]," event is triggered."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    minXDelta: 50,\n    swipe: function (e) {\n        console.log(\"Long swipe\");\n    }\n});\n</script>"]]},{"name":"maxYDelta","type":["Number"],"default":"20","short_doc":[["para","The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded."]],"doc":[["para","The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    maxYDelta: 50,\n    swipe: function (e) {\n        console.log(\"Loose shaky swipe\");\n    }\n});\n</script>"]]},{"name":"maxDuration","type":["Number"],"default":"1000","short_doc":[["para","The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded."]],"doc":[["para","The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    maxDuration: 500,\n    swipe: function (e) {\n        console.log(\"fast swipe\");\n    }\n});\n</script>"]]},{"name":"minHold","type":["Number"],"default":"800","short_doc":[["para","The timeout in milliseconds before the ",["inlinecode","hold"]," event is fired."],["para",["strong","Notice"],": the hold event will be triggered after the time passes, not after the user lifts his/hers finger."]],"doc":[["para","The timeout in milliseconds before the ",["inlinecode","hold"]," event is fired."],["para",["strong","Notice"],": the hold event will be triggered after the time passes, not after the user lifts his/hers finger."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Press and hold here\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    minHold: 2000,\n    hold: function (e) {\n        console.log(\"holding for a while.\");\n    }\n});\n</script>"]]},{"name":"doubleTapTimeout","type":["Number"],"default":"400","short_doc":[["para","The maximum period (in milliseconds) between two consecutive taps which will trigger the ",["inlinecode","doubletap"]," event."]],"doc":[["para","The maximum period (in milliseconds) between two consecutive taps which will trigger the ",["inlinecode","doubletap"]," event."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Double tap here\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    doubleTapTimeout: 2000,\n    doubletap: function (e) {\n        console.log(\"two taps\");\n    }\n});\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Touch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Touch element from DOM."]]],"doc":[["para","Prepares the ",["strong","Touch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Touch element from DOM."]]],"examples":[]}],"events":[{"name":"touchstart","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user presses the element."]],"doc":[["para","Fires when the user presses the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ touchstart: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ touchstart: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"dragstart","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user starts dragging the element."]],"doc":[["para","Fires when the user starts dragging the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragstart: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragstart: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"drag","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires each time the user drags (within the element boundaries)."]],"doc":[["para","Fires each time the user drags (within the element boundaries)."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ drag: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ drag: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"dragend","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user lifts his/hers finger, or drags outside of the element boundaries."]],"doc":[["para","Fires when the user lifts his/hers finger, or drags outside of the element boundaries."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragend: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragend: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"tap","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user taps on the element. A touch sequence is considered a tap if the user does not perform dragging."]],"doc":[["para","Fires when the user taps on the element. A touch sequence is considered a tap if the user does not perform dragging."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ tap: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ tap: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"doubletap","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user quickly taps twice on the element."],["blockquote",["para","The two taps should be at a maximum distance of 3 pixels."]]],"doc":[["para","Fires when the user quickly taps twice on the element."],["blockquote",["para","The two taps should be at a maximum distance of 3 pixels."]],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ doubletap: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ doubletap: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"hold","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user presses and holds  his/hers finger on the element for a minimum amount of time."],["para","The minimum amount can be configured through the ",["inlinecode","minHold"]," configuration option."]],"doc":[["para","Fires when the user presses and holds  his/hers finger on the element for a minimum amount of time."],["para","The minimum amount can be configured through the ",["inlinecode","minHold"]," configuration option."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ hold: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ hold: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"swipe","args":[{"name":"e.touch","type":["TouchEvent"],"short_doc":[["para","The touch event instance"]],"doc":[["para","The touch event instance"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]}],"short_doc":[["para","Fires when the user performs a horizontal swipe on the element."],["para","For this event to be triggered, the ",["inlinecode","enableSwipe"]," configuration option should be set to ",["inlinecode","true"],"."],["blockquote",["para","The ",["inlinecode","minXDelta"],", ",["inlinecode","maxYDelta"]," and ",["inlinecode","maxDuration"]," configuration options determine when the drag event sequence is considered a swipe."]]],"doc":[["para","Fires when the user performs a horizontal swipe on the element."],["para","For this event to be triggered, the ",["inlinecode","enableSwipe"]," configuration option should be set to ",["inlinecode","true"],"."],["blockquote",["para","The ",["inlinecode","minXDelta"],", ",["inlinecode","maxYDelta"]," and ",["inlinecode","maxDuration"]," configuration options determine when the drag event sequence is considered a swipe."]],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ enableSwipe: true, swipe: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":4},"e.direction ",["inlinecode","String"]],["para","The swipe event direction. Can be either ",["inlinecode","left"]," or ",["inlinecode","right"],"."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ enableSwipe: true, swipe: function (e) { console.log(e); } });\n</script>"]]],"type":["Function"]},{"name":"gesturestart","args":[{"name":"e.touches","type":["Array"],"short_doc":[["para","An array containing the active touches."]],"doc":[["para","An array containing the active touches."]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]},{"name":"e.distance","type":["Number"],"short_doc":[["para","The distance (in pixels) between the two touches."]],"doc":[["para","The distance (in pixels) between the two touches."]]},{"name":"e.center","type":["Point"],"short_doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]]}],"short_doc":[["para","Fires when the user presses the element with two fingers (or presses with a second finger while a first finger is still touching the element)."]],"doc":[["para","Fires when the user presses the element with two fingers (or presses with a second finger while a first finger is still touching the element)."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturestart: function (e) {\n        console.log(\"User touched the element with two fingers\");\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches."],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches."],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturestart: function (e) {\n        console.log(\"User touched the element with two fingers\");\n    }\n});\n</script>"]]],"type":["Function"]},{"name":"gesturechange","args":[{"name":"e.touches","type":["Array"],"short_doc":[["para","An array containing the active touches."]],"doc":[["para","An array containing the active touches."]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]},{"name":"e.distance","type":["Number"],"short_doc":[["para","The distance (in pixels) between the two touches"]],"doc":[["para","The distance (in pixels) between the two touches"]]},{"name":"e.center","type":["Point"],"short_doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]]}],"short_doc":[["para","Fires when the user moves a finger while multiple fingers are touching the element."]],"doc":[["para","Fires when the user moves a finger while multiple fingers are touching the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturechange: function (e) {\n        console.log(e);\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches."],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches"],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturechange: function (e) {\n        console.log(e);\n    }\n});\n</script>"]]],"type":["Function"]},{"name":"gestureend","args":[{"name":"e.touches","type":["Array"],"short_doc":[["para","An array containing the active touches"]],"doc":[["para","An array containing the active touches"]]},{"name":"e.event","type":["jQueryEvent"],"short_doc":[["para","The jQuery event which triggered the touch event."]],"doc":[["para","The jQuery event which triggered the touch event."]]},{"name":"e.distance","type":["Number"],"short_doc":[["para","The distance (in pixels) between the two touches"]],"doc":[["para","The distance (in pixels) between the two touches"]]},{"name":"e.center","type":["Point"],"short_doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"doc":[["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]]}],"short_doc":[["para","Fires when the user lifts the second finger from the element.\n",["strong","Notice"],": After the last finger is moved, the ",["inlinecode","dragend"]," event is fired."]],"doc":[["para","Fires when the user lifts the second finger from the element.\n",["strong","Notice"],": After the last finger is moved, the ",["inlinecode","dragend"]," event is fired."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gestureend: function (e) {\n        console.log(e);\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches"],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gestureend: function (e) {\n        console.log(e);\n    }\n});\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","The kendo Touch widget exposes a cross-platform compatible API for handling user-initiated touch events, multi-touch gestures and event sequences (drag, swipe, etc.). Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["blockquote",["para","Unlike most mobile widgets, the Touch widget does not need an active mobile application instance."]]],"doc":[["para","The kendo Touch widget exposes a cross-platform compatible API for handling user-initiated touch events, multi-touch gestures and event sequences (drag, swipe, etc.). Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["blockquote",["para","Unlike most mobile widgets, the Touch widget does not need an active mobile application instance."]],["header",{"level":2},"Configuration"],["header",{"level":3},"filter ",["inlinecode","String"]],["para","jQuery selector that specifies child elements that are touchable if a widget is attached to a container."],["header",{"level":4},"Example"],["code_block","<ul id=\"list\">\n    <li class=\"touch\">Foo</li>\n    <li>Not selected</li>\n    <li class=\"touch\">Foo</li>\n    <li>Not selected</li>\n</ul>\n\n<script>\n$(\"#list\").kendoTouch({\n    filter: \".touch\",\n    drag: function(e) {\n        console.log(\"you dragged a list item\");\n    }\n});\n</script>"],["header",{"level":3},"surface ",["inlinecode","jQuery"]," ",["em","(default: null)"]],["para","If specified, the user drags will be tracked within the surface boundaries.\nThis option is useful if the widget is instantiated on small DOM elements like buttons, or thin list items."],["header",{"level":4},"Example"],["code_block","<ul id=\"list\">\n    <li>Foo</li>\n    <li>Foo</li>\n    <li>Foo</li>\n    <li>Foo</li>\n</ul>\n\n<script>\n$(\"#list li\").kendoTouch({\n    surface: $(\"#list\"),\n    drag: function(e) {\n        console.log(\"you dragged a list item\");\n    }\n});\n</script>"],["header",{"level":3},"multiTouch ",["inlinecode","Boolean"]," ",["em","(default:  false)"]],["para","If set to true, the widget will capture and trigger the ",["inlinecode","gesturestart"],", ",["inlinecode","gesturechange"],", and ",["inlinecode","gestureend"]," events when the user touches the element with two fingers."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturestart: function (e) {\n        console.log(\"User touched the element with two fingers\");\n    }\n});\n</script>"],["header",{"level":3},"enableSwipe ",["inlinecode","Boolean"]," ",["em","(default:  false)"]],["para","If set to true, the Touch widget will recognize horizontal swipes and trigger the ",["inlinecode","swipe"]," event."],["para",["strong","Notice"],": if the ",["inlinecode","enableSwipe"]," option is set to true, the ",["inlinecode","dragstart"],", ",["inlinecode","drag"]," and ",["inlinecode","dragend"]," events will not be triggered."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    swipe: function (e) {\n        console.log(\"User swiped the element\");\n    }\n});\n</script>"],["header",{"level":3},"minXDelta ",["inlinecode","Number"]," ",["em","(default:  30)"]],["para","The minimum horizontal distance in pixels the user should swipe before the ",["inlinecode","swipe"]," event is triggered."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    minXDelta: 50,\n    swipe: function (e) {\n        console.log(\"Long swipe\");\n    }\n});\n</script>"],["header",{"level":3},"maxYDelta ",["inlinecode","Number"]," ",["em","(default:  20)"]],["para","The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    maxYDelta: 50,\n    swipe: function (e) {\n        console.log(\"Loose shaky swipe\");\n    }\n});\n</script>"],["header",{"level":3},"maxDuration ",["inlinecode","Number"]," ",["em","(default:  1000)"]],["para","The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Swipe me\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    enableSwipe: true,\n    maxDuration: 500,\n    swipe: function (e) {\n        console.log(\"fast swipe\");\n    }\n});\n</script>"],["header",{"level":3},"minHold ",["inlinecode","Number"]," ",["em","(default:  800)"]],["para","The timeout in milliseconds before the ",["inlinecode","hold"]," event is fired."],["para",["strong","Notice"],": the hold event will be triggered after the time passes, not after the user lifts his/hers finger."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Press and hold here\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    minHold: 2000,\n    hold: function (e) {\n        console.log(\"holding for a while.\");\n    }\n});\n</script>"],["header",{"level":3},"doubleTapTimeout ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","The maximum period (in milliseconds) between two consecutive taps which will trigger the ",["inlinecode","doubletap"]," event."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Double tap here\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    doubleTapTimeout: 2000,\n    doubletap: function (e) {\n        console.log(\"two taps\");\n    }\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Touch"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Touch element from DOM."]],["header",{"level":2},"Events"],["header",{"level":3},"touchstart"],["para","Fires when the user presses the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ touchstart: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"dragstart"],["para","Fires when the user starts dragging the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragstart: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"drag"],["para","Fires each time the user drags (within the element boundaries)."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ drag: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"dragend"],["para","Fires when the user lifts his/hers finger, or drags outside of the element boundaries."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ dragend: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"tap"],["para","Fires when the user taps on the element. A touch sequence is considered a tap if the user does not perform dragging."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ tap: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"doubletap"],["para","Fires when the user quickly taps twice on the element."],["blockquote",["para","The two taps should be at a maximum distance of 3 pixels."]],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ doubletap: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"hold"],["para","Fires when the user presses and holds  his/hers finger on the element for a minimum amount of time."],["para","The minimum amount can be configured through the ",["inlinecode","minHold"]," configuration option."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ hold: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":3},"swipe"],["para","Fires when the user performs a horizontal swipe on the element."],["para","For this event to be triggered, the ",["inlinecode","enableSwipe"]," configuration option should be set to ",["inlinecode","true"],"."],["blockquote",["para","The ",["inlinecode","minXDelta"],", ",["inlinecode","maxYDelta"]," and ",["inlinecode","maxDuration"]," configuration options determine when the drag event sequence is considered a swipe."]],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n\n<script>\n$(\"#touch\").kendoTouch({ enableSwipe: true, swipe: function (e) { console.log(e); } });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touch ",["inlinecode","TouchEvent"]],["para","The touch event instance"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":4},"e.direction ",["inlinecode","String"]],["para","The swipe event direction. Can be either ",["inlinecode","left"]," or ",["inlinecode","right"],"."],["header",{"level":3},"gesturestart"],["para","Fires when the user presses the element with two fingers (or presses with a second finger while a first finger is still touching the element)."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturestart: function (e) {\n        console.log(\"User touched the element with two fingers\");\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches."],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches."],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."],["header",{"level":3},"gesturechange"],["para","Fires when the user moves a finger while multiple fingers are touching the element."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gesturechange: function (e) {\n        console.log(e);\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches."],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches"],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."],["header",{"level":3},"gestureend"],["para","Fires when the user lifts the second finger from the element.\n",["strong","Notice"],": After the last finger is moved, the ",["inlinecode","dragend"]," event is fired."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">\n    Touch me with two fingers\n</div>\n\n<script>\n$(\"#touch\").kendoTouch({\n    multiTouch: true,\n    gestureend: function (e) {\n        console.log(e);\n    }\n});\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.touches ",["inlinecode","Array"]],["para","An array containing the active touches"],["header",{"level":5},"e.event ",["inlinecode","jQueryEvent"]],["para","The jQuery event which triggered the touch event."],["header",{"level":5},"e.distance ",["inlinecode","Number"]],["para","The distance (in pixels) between the two touches"],["header",{"level":5},"e.center ",["inlinecode","Point"]],["para","The center point between the two touches. The point has two properties, ",["inlinecode","x"]," and ",["inlinecode","y"],", which contain the x and the y coordinate, respectively."],["header",{"level":2},"TouchEvent"],["para","The touch event object (available in the event handler event object) contains information about an active touch.  The touch event object instance has two properties of type ",["inlinecode","TouchAxis"]," - ",["inlinecode","x"]," and ",["inlinecode","y"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"touch\">Touch here</div>\n<script>\nfunction getEventInfo(e) {\n    var touch = e.touch;\n    var xAxis = touch.x;\n    var yAxis = touch.y;\n\n    console.log(xAxis.location);\n    console.log(yAxis.location);\n}\n\n$(\"#touch\").kendoTouch({ tap: getEventInfo });\n</script>"],["header",{"level":3},"Properties"],["header",{"level":3},"target ",["inlinecode","jQuery"]],["para","The element from which the touch originated."],["header",{"level":2},"TouchAxis"],["header",{"level":3},"Properties"],["header",{"level":3},"location ",["inlinecode","Number"]],["para","The offset of the touch relative to the ",["em","entire document"]," (pageX/Y);"],["header",{"level":3},"startLocation ",["inlinecode","Number"]],["para","The offset of the touch relative to the document when the touch started;"],["header",{"level":3},"client ",["inlinecode","Number"]],["para","The offset of the touch relative to the ",["em","viewport"]," (clientX/Y);"],["header",{"level":3},"delta ",["inlinecode","Number"]],["para","The change from the previous event location"],["header",{"level":3},"velocity ",["inlinecode","Number"]],["para","The pixels per millisecond speed of the current move. For instance, the mobile ScrollView widget considers a swipe with velocity below 0.8 a slow one, while velocity above 1.6 is a fast one."]]},"kendo.mobile.ui.View":{"file":"api/mobile/view.md","name":"kendo.mobile.ui.View","config":[{"name":"model","type":["String","ObservableObject"],"default":"null","short_doc":[["para","The MVVM model to bind to. If a string is passed, The view will try to resolve a reference to the view model variable in the global scope."]],"doc":[["para","The MVVM model to bind to. If a string is passed, The view will try to resolve a reference to the view model variable in the global scope."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-model=\"foo\">\n   <span data-bind=\"text:bar\"></span>\n</div>\n\n<script>\nvar foo = { bar: \"baz\" }\nnew kendo.mobile.Application();\n</script>"]]},{"name":"reload","type":["Boolean"],"default":"false","short_doc":[["para","Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to."]],"doc":[["para","Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to."],["header",{"level":4},"Example"],["code_block","<!-- foo.html -->\n<div data-role=\"view\">\n    <a data-role=\"button\" href=\"bar.html\">Go to bar</a>\n</div>\n\n<!-- bar.html -->\n<div data-role=\"view\" data-reload=\"true\">\n  I will be requested from the server every time I am displayed\n  <a href=\"#\" id=\"link\">Link</a>\n</div>"]]},{"name":"stretch","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling.\nUseful if the view contains an image or a map."]],"doc":[["para","If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling.\nUseful if the view contains an image or a map."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div style=\"background: gray\">This element will be stretched</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"title","type":["String"],"short_doc":[["para","The text to display in the NavBar title (if present) and the browser title."]],"doc":[["para","The text to display in the NavBar title (if present) and the browser title."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-title=\"foo\">\n  <div data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"useNativeScrolling","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the view will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 5+, Android > 3+, WP8. BlackBerry devices do support it, but the native scroller is flaky."]],"doc":[["para","If set to true, the view will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 5+, Android > 3+, WP8. BlackBerry devices do support it, but the native scroller is flaky."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-use-native-scrolling=\"true\">\n  <div style=\"height: 2000px;\">Tall element - this view has native scrolling</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]},{"name":"zoom","type":["Boolean"],"default":"false","short_doc":[["para","If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture."]],"doc":[["para","If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-zoom=\"true\">\n  <div style=\"height: 2000px;width:200px;\">Big element - the view can be zoomed with two fingers</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"]]}],"methods":[{"name":"contentElement","args":[],"short_doc":[["para","Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise."],["blockquote",["para",["strong","Important:"]," Use this method to get a reference container in order to remove or append contents to the View"]]],"doc":[["para","Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise."],["blockquote",["para",["strong","Important:"]," Use this method to get a reference container in order to remove or append contents to the View"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"getContentElement\">Tap here</a>\n</div>\n\n<script>\nfunction getContentElement() {\n    var view = $(\"#myView\").data(\"kendoMobileView\");\n    console.log(view.contentElement());\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"getContentElement\">Tap here</a>\n</div>\n\n<script>\nfunction getContentElement() {\n    var view = $(\"#myView\").data(\"kendoMobileView\");\n    console.log(view.contentElement());\n}\n\nnew kendo.mobile.Application();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","View"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the View element from DOM."]]],"doc":[["para","Prepares the ",["strong","View"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the View element from DOM."]]],"examples":[]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Omitting the parameter or passing ",["inlinecode","true"]," enables the view. Passing ",["inlinecode","false"]," disables the view."]],"doc":[["para","Omitting the parameter or passing ",["inlinecode","true"]," enables the view. Passing ",["inlinecode","false"]," disables the view."]]}],"short_doc":[["para","Enables or disables the user interaction with the view and its contents."]],"doc":[["para","Enables or disables the user interaction with the view and its contents."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Omitting the parameter or passing ",["inlinecode","true"]," enables the view. Passing ",["inlinecode","false"]," disables the view."],["header",{"level":4},"Example - disable a view"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"disableView\">Tap here</a>\n</div>\n\n<script>\nfunction disableView() {\n    $(\"#myView\").data(\"kendoMobileView\").enable(false);\n}\n\nnew kendo.mobile.Application();\n</script>"]],"examples":[[["header",{"level":4},"Example - disable a view"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"disableView\">Tap here</a>\n</div>\n\n<script>\nfunction disableView() {\n    $(\"#myView\").data(\"kendoMobileView\").enable(false);\n}\n\nnew kendo.mobile.Application();\n</script>"]]]}],"events":[{"name":"afterShow","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires after the mobile View becomes visible. If the view is displayed with transition, the event is triggered after the transition is complete."]],"doc":[["para","Fires after the mobile View becomes visible. If the view is displayed with transition, the event is triggered after the transition is complete."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#bar\" data-role=\"button\">Go to bar</a>\n</div>\n\n<div data-role=\"view\" id=\"bar\" data-after-show=\"afterShow\">\n    Bar\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction afterShow(e) {\n    console.log(e.view);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#bar\" data-role=\"button\">Go to bar</a>\n</div>\n\n<div data-role=\"view\" id=\"bar\" data-after-show=\"afterShow\">\n    Bar\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction afterShow(e) {\n    console.log(e.view);\n}\n</script>"]]],"type":["Function"]},{"name":"beforeHide","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires before the mobile View becomes hidden."]],"doc":[["para","Fires before the mobile View becomes hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-before-hide=\"beforeHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction beforeHide(e) {\n    console.log('foo hidden');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-before-hide=\"beforeHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction beforeHide(e) {\n    console.log('foo hidden');\n}\n</script>"]]],"type":["Function"]},{"name":"beforeShow","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires before the mobile View becomes visible. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in case a redirection should happen."]],"doc":[["para","Fires before the mobile View becomes visible. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in case a redirection should happen."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#protected\" data-role=\"button\">Go to protected</a>\n</div>\n\n<div data-role=\"view\" id=\"protected\" data-before-show=\"redirectBack\">\n    I am a protected view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction redirectBack(e) {\n    e.preventDefault();\n    app.navigate(\"#foo\");\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#protected\" data-role=\"button\">Go to protected</a>\n</div>\n\n<div data-role=\"view\" id=\"protected\" data-before-show=\"redirectBack\">\n    I am a protected view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction redirectBack(e) {\n    e.preventDefault();\n    app.navigate(\"#foo\");\n}\n</script>"]]],"type":["Function"]},{"name":"hide","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires when the mobile View becomes hidden."]],"doc":[["para","Fires when the mobile View becomes hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-hide=\"onHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onHide(e) {\n    console.log('foo hidden');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-hide=\"onHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onHide(e) {\n    console.log('foo hidden');\n}\n</script>"]]],"type":["Function"]},{"name":"init","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance"]],"doc":[["para","The mobile view instance"]]}],"short_doc":[["para","Fires after the mobile View and its child widgets are initialized."]],"doc":[["para","Fires after the mobile View and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"init\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction init(e) {\n    console.log('init');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"init\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction init(e) {\n    console.log('init');\n}\n</script>"]]],"type":["Function"]},{"name":"show","args":[{"name":"e.view","type":["kendo.mobile.ui.View"],"short_doc":[["para","The mobile view instance."]],"doc":[["para","The mobile view instance."]]}],"short_doc":[["para","Fires when the mobile View becomes visible."]],"doc":[["para","Fires when the mobile View becomes visible."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-show=\"show\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction show(e) {\n    console.log('show');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-show=\"show\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction show(e) {\n    console.log('show');\n}\n</script>"]]],"type":["Function"]}],"fields":[{"name":"header","type":["jQuery"],"short_doc":[["para","The ",["strong","View"]," (or the applied mobile layout) header DOM element."]],"doc":[["para","The ",["strong","View"]," (or the applied mobile layout) header DOM element."]]},{"name":"footer","type":["jQuery"],"short_doc":[["para","The ",["strong","View"]," (or the applied mobile layout) footer DOM element."]],"doc":[["para","The ",["strong","View"]," (or the applied mobile layout) footer DOM element."]]},{"name":"content","type":["jQuery"],"short_doc":[["para","The ",["strong","View"]," content DOM element. If there is a scroller in the View, it will become a child of this element. Please use the ",["inlinecode","contentElement"]," method instead, to always get the correct content element."]],"doc":[["para","The ",["strong","View"]," content DOM element. If there is a scroller in the View, it will become a child of this element. Please use the ",["inlinecode","contentElement"]," method instead, to always get the correct content element."]]},{"name":"scrollerContent","type":["jQuery"],"short_doc":[["para","The View mobile scroller container DOM element. Recommended if scrollable mobile View contents need to be manipulated or replaced. If you don't know if the View has a Scroller initialized, please use the ",["inlinecode","contentElement"]," method instead."]],"doc":[["para","The View mobile scroller container DOM element. Recommended if scrollable mobile View contents need to be manipulated or replaced. If you don't know if the View has a Scroller initialized, please use the ",["inlinecode","contentElement"]," method instead."],["header",{"level":4},"Replace scrollable View contents"],["code_block","<div data-role=\"view\" data-init=\"replaceContents\"> Old content</div>\n\n<script>\nfunction replaceContents(e) {\n  e.view.scrollerContent.html(\"<b>New content</b>\");\n}\n\nnew kendo.mobile.Application();\n</script>"]]}],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"model ",["inlinecode","String | ObservableObject"],["em","(default: null)"]],["para","The MVVM model to bind to. If a string is passed, The view will try to resolve a reference to the view model variable in the global scope."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-model=\"foo\">\n   <span data-bind=\"text:bar\"></span>\n</div>\n\n<script>\nvar foo = { bar: \"baz\" }\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"reload ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to."],["header",{"level":4},"Example"],["code_block","<!-- foo.html -->\n<div data-role=\"view\">\n    <a data-role=\"button\" href=\"bar.html\">Go to bar</a>\n</div>\n\n<!-- bar.html -->\n<div data-role=\"view\" data-reload=\"true\">\n  I will be requested from the server every time I am displayed\n  <a href=\"#\" id=\"link\">Link</a>\n</div>"],["header",{"level":3},"stretch ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling.\nUseful if the view contains an image or a map."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-stretch=\"true\">\n  <div style=\"background: gray\">This element will be stretched</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"title ",["inlinecode","String"]],["para","The text to display in the NavBar title (if present) and the browser title."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-title=\"foo\">\n  <div data-role=\"header\">\n    <div data-role=\"navbar\">\n      <span data-role=\"view-title\"></span>\n    </div>\n  </div>\n </div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"useNativeScrolling ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the view will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).\nNative scrolling is only enabled on platforms that support it: iOS > 5+, Android > 3+, WP8. BlackBerry devices do support it, but the native scroller is flaky."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-use-native-scrolling=\"true\">\n  <div style=\"height: 2000px;\">Tall element - this view has native scrolling</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"zoom ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" data-zoom=\"true\">\n  <div style=\"height: 2000px;width:200px;\">Big element - the view can be zoomed with two fingers</div>\n</div>\n\n<script>\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"contentElement"],["para","Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise."],["blockquote",["para",["strong","Important:"]," Use this method to get a reference container in order to remove or append contents to the View"]],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"getContentElement\">Tap here</a>\n</div>\n\n<script>\nfunction getContentElement() {\n    var view = $(\"#myView\").data(\"kendoMobileView\");\n    console.log(view.contentElement());\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","View"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the View element from DOM."]],["header",{"level":3},"enable"],["para","Enables or disables the user interaction with the view and its contents."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Omitting the parameter or passing ",["inlinecode","true"]," enables the view. Passing ",["inlinecode","false"]," disables the view."],["header",{"level":4},"Example - disable a view"],["code_block","<div data-role=\"view\" id=\"myView\">\n    <a data-role=\"button\" data-click=\"disableView\">Tap here</a>\n</div>\n\n<script>\nfunction disableView() {\n    $(\"#myView\").data(\"kendoMobileView\").enable(false);\n}\n\nnew kendo.mobile.Application();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"afterShow"],["para","Fires after the mobile View becomes visible. If the view is displayed with transition, the event is triggered after the transition is complete."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#bar\" data-role=\"button\">Go to bar</a>\n</div>\n\n<div data-role=\"view\" id=\"bar\" data-after-show=\"afterShow\">\n    Bar\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction afterShow(e) {\n    console.log(e.view);\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"],["header",{"level":3},"beforeHide"],["para","Fires before the mobile View becomes hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-before-hide=\"beforeHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction beforeHide(e) {\n    console.log('foo hidden');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"],["header",{"level":3},"beforeShow"],["para","Fires before the mobile View becomes visible. The event can be prevented by calling the ",["inlinecode","preventDefault"]," method of the event parameter, in case a redirection should happen."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\">\n    <a href=\"#protected\" data-role=\"button\">Go to protected</a>\n</div>\n\n<div data-role=\"view\" id=\"protected\" data-before-show=\"redirectBack\">\n    I am a protected view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction redirectBack(e) {\n    e.preventDefault();\n    app.navigate(\"#foo\");\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"],["header",{"level":3},"hide"],["para","Fires when the mobile View becomes hidden."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-hide=\"onHide\">\n    <a href=\"#bar\" data-role=\"button\">Bar</a>\n</div>\n\n<div id=\"bar\" data-role=\"view\">\n    The bar view\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction onHide(e) {\n    console.log('foo hidden');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"],["header",{"level":3},"init"],["para","Fires after the mobile View and its child widgets are initialized."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-init=\"init\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\n\nfunction init(e) {\n    console.log('init');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance"],["header",{"level":3},"show"],["para","Fires when the mobile View becomes visible."],["header",{"level":4},"Example"],["code_block","<div data-role=\"view\" id=\"foo\" data-show=\"show\">\n    Foo\n</div>\n\n<script>\nvar app = new kendo.mobile.Application();\nfunction show(e) {\n    console.log('show');\n}\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","kendo.mobile.ui.View"]],["para","The mobile view instance."],["header",{"level":2},"Fields"],["header",{"level":3},"header ",["inlinecode","jQuery"]],["para","The ",["strong","View"]," (or the applied mobile layout) header DOM element."],["header",{"level":3},"footer ",["inlinecode","jQuery"]],["para","The ",["strong","View"]," (or the applied mobile layout) footer DOM element."],["header",{"level":3},"content ",["inlinecode","jQuery"]],["para","The ",["strong","View"]," content DOM element. If there is a scroller in the View, it will become a child of this element. Please use the ",["inlinecode","contentElement"]," method instead, to always get the correct content element."],["header",{"level":3},"scrollerContent ",["inlinecode","jQuery"]],["para","The View mobile scroller container DOM element. Recommended if scrollable mobile View contents need to be manipulated or replaced. If you don't know if the View has a Scroller initialized, please use the ",["inlinecode","contentElement"]," method instead."],["header",{"level":4},"Replace scrollable View contents"],["code_block","<div data-role=\"view\" data-init=\"replaceContents\"> Old content</div>\n\n<script>\nfunction replaceContents(e) {\n  e.view.scrollerContent.html(\"<b>New content</b>\");\n}\n\nnew kendo.mobile.Application();\n</script>"]]},"kendo.ui.AutoComplete":{"file":"api/web/autocomplete.md","name":"kendo.ui.AutoComplete","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the suggestion popup is opened."]],"doc":[["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation played when the suggestion popup is closed."]],"doc":[["para","The animation played when the suggestion popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"},{"name":"duration","type":["Number"],"default":"100","short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"}],"orig":"animation.close"}]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used to display suggestions for the current value. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used to display suggestions for the current value. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autoComplete\").kendoAutoComplete({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#autoComplete\").kendoAutoComplete({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\"\n});\n</script>"]]},{"name":"dataTextField","type":["String"],"default":"null","short_doc":[["para","The field of the data item used when searching for suggestions.  This is the text that will be displayed in the list of matched results."]],"doc":[["para","The field of the data item used when searching for suggestions.  This is the text that will be displayed in the list of matched results."],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar data = [\n  { id: 1, name: \"Apples\" },\n  { id: 2, name: \"Oranges\" }\n];\n$(\"#autocomplete\").kendoAutoComplete({\n  dataTextField: \"name\", // The widget is bound to the \"name\" field\n  dataSource: data\n});\n</script>"]]},{"name":"delay","type":["Number"],"default":"200","short_doc":[["para","The delay in milliseconds between a keystroke and when the widget displays the suggestion popup."]],"doc":[["para","The delay in milliseconds between a keystroke and when the widget displays the suggestion popup."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  delay: 500\n});\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  enable: false\n});\n</script>"]]},{"name":"filter","type":["String"],"default":"\"startswith\"","short_doc":[["para","The filtering method used to determine the suggestions for the current value. The default filter is \"startswith\" -\nall data items which begin with the current widget value are displayed in the suggestion popup. The supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."]],"doc":[["para","The filtering method used to determine the suggestions for the current value. The default filter is \"startswith\" -\nall data items which begin with the current widget value are displayed in the suggestion popup. The supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  filter: \"contains\"\n});\n</script>"]]},{"name":"height","type":["Number"],"default":"200","short_doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."]],"doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  height: 500\n});\n</script>"]]},{"name":"highlightFirst","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."]],"doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  highlightFirst: false\n});\n</script>"]]},{"name":"ignoreCase","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."]],"doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  ignoreCase: false\n});\n</script>"]]},{"name":"minLength","type":["Number"],"default":"1","short_doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."]],"doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  minLength: 3\n});\n</script>"]]},{"name":"placeholder","type":["String"],"default":"\"\"","short_doc":[["para","The hint displayed by the widget when it is empty. Not set by default."]],"doc":[["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  placeholder: \"Enter value ...\"\n});\n</script>"],["para","The Kendo UI AutoComplete widget could also use the value of the ",["inlinecode","placeholder"]," HTML attribute as hint."],["header",{"level":4},"Example - use the placeholder HTML attribute"],["code_block","<input id=\"autocomplete\" placeholder=\"Enter value...\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n</script>"]]},{"name":"separator","type":["String"],"default":"\"\"","short_doc":[["para","The character used to separate multiple values. Empty by default."]],"doc":[["para","The character used to separate multiple values. Empty by default."],["header",{"level":4},"Example - set separator to allow multiple values"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  separator: \", \"\n});\n</script>"]]},{"name":"suggest","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."],["header",{"level":4},"Example - enable automatic suggestion"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  suggest: true\n});\n</script>"]]},{"name":"headerTemplate","type":["String","Function"],"short_doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]]],"doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"]]},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the suggestions. By default the widget displays only the text of the suggestion (configured via ",["inlinecode","dataTextField"],")."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the suggestions. By default the widget displays only the text of the suggestion (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"autocomplete\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"]]},{"name":"valuePrimitive","type":["Boolean"],"default":"false","short_doc":[["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item text field. If set to false, the View-Model field will be updated with the selected item."]],"doc":[["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item text field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item text"],["code_block","<input id=\"autocomplete\" data-bind=\"value: productName, source: products\" />\n\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  valuePrimitive: true,\n  dataTextField: \"name\"\n});\nvar viewModel = kendo.observable({\n  productName: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#autocomplete\"), viewModel);\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the widget suggestion popup."]],"doc":[["para","Closes the widget suggestion popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\n// Close the suggestion popup\nautocomplete.close();\n</script>"]],"examples":[[["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\n// Close the suggestion popup\nautocomplete.close();\n</script>"]]]},{"name":"dataItem","args":[{"name":"index","type":["Number"],"short_doc":[["para","The zero-based index of of the data item."]],"doc":[["para","The zero-based index of of the data item."]]}],"short_doc":[["para","Returns the data item at the specified index."]],"doc":[["para","Returns the data item at the specified index."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of of the data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the data item at the specified index. Returns ",["inlinecode","undefined"]," if the index is not within bounds."],["header",{"level":4},"Example - get the item at certain index"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n    dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\nconsole.log(autocomplete.dataItem(0)); // Displays \"Apples\" in the browser console\n</script>"]],"examples":[[["header",{"level":4},"Example - get the item at certain index"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n    dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\nconsole.log(autocomplete.dataItem(0)); // Displays \"Apples\" in the browser console\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  enable: false\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(true);\n</script>"],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  enable: false\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(true);\n</script>"]],[["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(false);\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.focus();\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.readonly(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.readonly(true);\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Refresh the suggestion popup by rendering all items again."]],"doc":[["para","Refresh the suggestion popup by rendering all items again."],["header",{"level":4},"Example - refresh the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.refresh();\n</script>"]]]},{"name":"search","args":[{"name":"word","type":["String"],"short_doc":[["para","The value to search for. All matches are displayed in the suggestion popup."]],"doc":[["para","The value to search for. All matches are displayed in the suggestion popup."]]}],"short_doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."]],"doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The value to search for. All matches are displayed in the suggestion popup."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"A\"); // Displays \"Apples\" in the suggestion popup\n</script>"]],"examples":[[["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"A\"); // Displays \"Apples\" in the suggestion popup\n</script>"]]]},{"name":"select","args":[{"name":"item","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Selects the item provided as an argument and updates the value of the widget."]],"doc":[["para","Selects the item provided as an argument and updates the value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector."],["header",{"level":4},"Example - select item"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"John\", \"Jane\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"J\");\nautocomplete.select(autocomplete.ul.children().eq(1)); // Selects the second suggestion which is \"Jane\"\n</script>"]],"examples":[[["header",{"level":4},"Example - select item"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"John\", \"Jane\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"J\");\nautocomplete.select(autocomplete.ul.children().eq(1)); // Selects the second suggestion which is \"Jane\"\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the data source of the widget."]],"doc":[["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.setDataSource(dataSource);\n</script>"]]]},{"name":"suggest","args":[{"name":"value","type":["String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Sets the value of the widget to the specified argument and visually selects the text."]],"doc":[["para","Sets the value of the widget to the specified argument and visually selects the text."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.suggest(\"Apples\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.suggest(\"Apples\");\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the value of the widget."]],"doc":[["para","Gets or sets the value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the value of the widget."],["header",{"level":4},"Example - set and get the value of the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.value(\"Apples\");\nvar value = autocomplete.value();\nconsole.log(value); // Displays \"Apples\"\n</script>"]],"examples":[[["header",{"level":4},"Example - set and get the value of the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.value(\"Apples\");\nvar value = autocomplete.value();\nconsole.log(value); // Displays \"Apples\"\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.AutoComplete"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]]],"doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"change\", autocomplete_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"change\", autocomplete_change);\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.AutoComplete"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the suggestion popup of the widget is closed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the suggestion popup of the widget is closed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_close(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"close\", autocomplete_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_close(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"close\", autocomplete_close);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.AutoComplete"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_dataBound(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"dataBound\", autocomplete_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_dataBound(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"dataBound\", autocomplete_dataBound);\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.AutoComplete"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the suggestion popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the suggestion popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_open(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"open\", autocomplete_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_open(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"open\", autocomplete_open);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the selected item."]],"doc":[["para","The jQuery object which represents the selected item."]]},{"name":"e.sender","type":["kendo.ui.AutoComplete"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when an item from the suggestion popup is selected by the user."]],"doc":[["para","Fired when an item from the suggestion popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"select\", autocomplete_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"select\", autocomplete_select);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\"\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.dataSource.read();\nautocomplete.dataSource.add({ name: \"Appricot\" });\nautocomplete.search(\"A\");\n</script>"]]},{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar element = autocomplete.element;\n\nvar options = autocomplete.options;\n<script>"]]},{"name":"list","type":["jQuery"],"short_doc":[["para","A jQuery object of the drop-down list element."]],"doc":[["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar list = autocomplete.list;\n<script>"]]},{"name":"ul","type":["jQuery"],"short_doc":[["para","A jQuery object of the ul element, which holds the available options."]],"doc":[["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar ul = autocomplete.ul;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI AutoComplete widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["blockquote",["para",["strong","Important:"]," The Kendo UI AutoComplete should be created from an ",["em","input"]," HTML element."]]],"doc":[["para","Represents the Kendo UI AutoComplete widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["blockquote",["para",["strong","Important:"]," The Kendo UI AutoComplete should be created from an ",["em","input"]," HTML element."]],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation played when the suggestion popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used to display suggestions for the current value. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autoComplete\").kendoAutoComplete({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#autoComplete\").kendoAutoComplete({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\"\n});\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String"]," ",["em","(default: null)"]],["para","The field of the data item used when searching for suggestions.  This is the text that will be displayed in the list of matched results."],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar data = [\n  { id: 1, name: \"Apples\" },\n  { id: 2, name: \"Oranges\" }\n];\n$(\"#autocomplete\").kendoAutoComplete({\n  dataTextField: \"name\", // The widget is bound to the \"name\" field\n  dataSource: data\n});\n</script>"],["header",{"level":3},"delay ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The delay in milliseconds between a keystroke and when the widget displays the suggestion popup."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  delay: 500\n});\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  enable: false\n});\n</script>"],["header",{"level":3},"filter ",["inlinecode","String"]," ",["em","(default: \"startswith\")"]],["para","The filtering method used to determine the suggestions for the current value. The default filter is \"startswith\" -\nall data items which begin with the current widget value are displayed in the suggestion popup. The supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  filter: \"contains\"\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  height: 500\n});\n</script>"],["header",{"level":3},"highlightFirst ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  highlightFirst: false\n});\n</script>"],["header",{"level":3},"ignoreCase ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  ignoreCase: false\n});\n</script>"],["header",{"level":3},"minLength ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  minLength: 3\n});\n</script>"],["header",{"level":3},"placeholder ",["inlinecode","String"]," ",["em","(default: \"\")"]],["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  placeholder: \"Enter value ...\"\n});\n</script>"],["para","The Kendo UI AutoComplete widget could also use the value of the ",["inlinecode","placeholder"]," HTML attribute as hint."],["header",{"level":4},"Example - use the placeholder HTML attribute"],["code_block","<input id=\"autocomplete\" placeholder=\"Enter value...\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n</script>"],["header",{"level":3},"separator ",["inlinecode","String"]," ",["em","(default: \"\")"]],["para","The character used to separate multiple values. Empty by default."],["header",{"level":4},"Example - set separator to allow multiple values"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  separator: \", \"\n});\n</script>"],["header",{"level":3},"suggest ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."],["header",{"level":4},"Example - enable automatic suggestion"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  suggest: true\n});\n</script>"],["header",{"level":3},"headerTemplate ",["inlinecode","String|Function"]],["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the suggestions. By default the widget displays only the text of the suggestion (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"autocomplete\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"],["header",{"level":3},"valuePrimitive ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item text field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item text"],["code_block","<input id=\"autocomplete\" data-bind=\"value: productName, source: products\" />\n\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  valuePrimitive: true,\n  dataTextField: \"name\"\n});\nvar viewModel = kendo.observable({\n  productName: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#autocomplete\"), viewModel);\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\"\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.dataSource.read();\nautocomplete.dataSource.add({ name: \"Appricot\" });\nautocomplete.search(\"A\");\n</script>"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar element = autocomplete.element;\n\nvar options = autocomplete.options;\n<script>"],["header",{"level":3},"list ",["inlinecode","jQuery"]],["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar list = autocomplete.list;\n<script>"],["header",{"level":3},"ul ",["inlinecode","jQuery"]],["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\n\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n\nvar ul = autocomplete.ul;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the widget suggestion popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\n// Close the suggestion popup\nautocomplete.close();\n</script>"],["header",{"level":3},"dataItem"],["para","Returns the data item at the specified index."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of of the data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," the data item at the specified index. Returns ",["inlinecode","undefined"]," if the index is not within bounds."],["header",{"level":4},"Example - get the item at certain index"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n    dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nautocomplete.search(\"A\");\nconsole.log(autocomplete.dataItem(0)); // Displays \"Apples\" in the browser console\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  enable: false\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(true);\n</script>"],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.enable(false);\n</script>"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.focus();\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.readonly(true);\n</script>"],["header",{"level":3},"refresh"],["para","Refresh the suggestion popup by rendering all items again."],["header",{"level":4},"Example - refresh the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.refresh();\n</script>"],["header",{"level":3},"search"],["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The value to search for. All matches are displayed in the suggestion popup."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"A\"); // Displays \"Apples\" in the suggestion popup\n</script>"],["header",{"level":3},"select"],["para","Selects the item provided as an argument and updates the value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector."],["header",{"level":4},"Example - select item"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"John\", \"Jane\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.search(\"J\");\nautocomplete.select(autocomplete.ul.children().eq(1)); // Selects the second suggestion which is \"Jane\"\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.setDataSource(dataSource);\n</script>"],["header",{"level":3},"suggest"],["para","Sets the value of the widget to the specified argument and visually selects the text."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Example"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.suggest(\"Apples\");\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the value of the widget."],["header",{"level":4},"Example - set and get the value of the widget"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.value(\"Apples\");\nvar value = autocomplete.value();\nconsole.log(value); // Displays \"Apples\"\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"change\", autocomplete_change);\n</script>"],["header",{"level":3},"close"],["para","Fired when the suggestion popup of the widget is closed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_close(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"close\", autocomplete_close);\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_dataBound(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"dataBound\", autocomplete_dataBound);\n</script>"],["header",{"level":3},"open"],["para","Fired when the suggestion popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_open(e) {\n  // handle the event\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"open\", autocomplete_open);\n</script>"],["header",{"level":3},"select"],["para","Fired when an item from the suggestion popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.AutoComplete"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\n$(\"#autocomplete\").kendoAutoComplete({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"autocomplete\" />\n<script>\nfunction autocomplete_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#autocomplete\").kendoAutoComplete();\nvar autocomplete = $(\"#autocomplete\").data(\"kendoAutoComplete\");\nautocomplete.bind(\"select\", autocomplete_select);\n</script>"]]},"kendo.ui.Button":{"file":"api/web/button.md","name":"kendo.ui.Button","config":[{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. By default, it is enabled, unless a ",["inlinecode","disabled=\"disabled\""]," attribute is detected."]],"doc":[["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. By default, it is enabled, unless a ",["inlinecode","disabled=\"disabled\""]," attribute is detected."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Foo</button>\n<script>\n$(\"#button\").kendoButton({\n\tenable: false\n});\n</script>"]]},{"name":"icon","type":["String"],"short_doc":[["para","Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nThe ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-icon"]," CSS class applied.\nFor a list of available icon names, please refer to the ",["link",{"href":"http://demos.kendoui.com/web/styling/icons.html"},"Icons demo"],"."]],"doc":[["para","Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nThe ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-icon"]," CSS class applied.\nFor a list of available icon names, please refer to the ",["link",{"href":"http://demos.kendoui.com/web/styling/icons.html"},"Icons demo"],"."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Cancel</button>\n<script>\n$(\"#button\").kendoButton({\n\ticon: \"cancel\"\n});\n</script>"],["header",{"level":4},"Example with an existing span element"],["code_block","<button id=\"button\" type=\"button\">\n\t<span class=\"k-icon\"></span> Cancel\n</button>\n<script>\n$(\"#button\").kendoButton({\n\ticon: \"cancel\"\n});\n</script>"]]},{"name":"imageUrl","type":["String"],"short_doc":[["para","Defines a URL, which will be used for an ",["inlinecode","img"]," element inside the Button. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL."],["para","The ",["inlinecode","img"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-image"]," CSS class applied."]],"doc":[["para","Defines a URL, which will be used for an ",["inlinecode","img"]," element inside the Button. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL."],["para","The ",["inlinecode","img"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-image"]," CSS class applied."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\timageUrl: \"/images/edit-icon.gif\"\n});\n</script>"],["header",{"level":4},"Example with an existing img element"],["code_block","<button id=\"button\" type=\"button\">\n\t<img class=\"k-image\" alt=\"Edit\" /> Edit\n</button>\n<script>\n$(\"#button\").kendoButton({\n\timageUrl: \"/images/edit-icon.gif\"\n});\n</script>"]]},{"name":"spriteCssClass","type":["String"],"short_doc":[["para","Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nIn case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the ",["link",{"href":"#configuration-icon"},["inlinecode","icon"]," property"],"."],["para","The ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-sprite"]," CSS class applied."]],"doc":[["para","Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nIn case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the ",["link",{"href":"#configuration-icon"},["inlinecode","icon"]," property"],"."],["para","The ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-sprite"]," CSS class applied."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\tspriteCssClass: \"myEditIcon\"\n});\n</script>"],["header",{"level":4},"Example with an existing span element"],["code_block","<button id=\"button\" type=\"button\">\n\t<span class=\"k-sprite\"></span> Edit\n</button>\n<script>\n$(\"#button\").kendoButton({\n\tspriteCssClass: \"myEditIcon\"\n});\n</script>"]]}],"methods":[{"name":"enable","args":[{"name":"toggle","type":["Boolean"],"short_doc":[["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. Truthy and falsy arguments are accepted. If no argument is supplied, the ",["strong","Button"]," will assume ",["inlinecode","true"]," and will be enabled."]],"doc":[["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. Truthy and falsy arguments are accepted. If no argument is supplied, the ",["strong","Button"]," will assume ",["inlinecode","true"]," and will be enabled."]]}],"short_doc":[["para","Enables or disables the Button."]],"doc":[["para","Enables or disables the Button."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. Truthy and falsy arguments are accepted. If no argument is supplied, the ",["strong","Button"]," will assume ",["inlinecode","true"]," and will be enabled."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\n// disable button\nbutton.enable(false);\n// enable button\nbutton.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\n// disable button\nbutton.enable(false);\n// enable button\nbutton.enable(true);\n</script>"]]]}],"events":[{"name":"click","args":[{"name":"e.event","type":["Object"],"short_doc":[["para","The original DOM event."]],"doc":[["para","The original DOM event."]]}],"short_doc":[["para","Fires when the ",["strong","Button"]," is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the ",["strong","Button"]," is focused."]],"doc":[["para","Fires when the ",["strong","Button"]," is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the ",["strong","Button"]," is focused."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","Object"]],["para","The original DOM event."],["header",{"level":4},"Example - subscribe to the \"click\" event during initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\tclick: function(e) {\n\t\talert(e.event.target.tagName);\n\t}\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"click\" event after initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\nbutton.bind(\"click\", function(e) {\n\talert(e.event.target.tagName);\n});\t\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"click\" event during initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\tclick: function(e) {\n\t\talert(e.event.target.tagName);\n\t}\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"click\" event after initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\nbutton.bind(\"click\", function(e) {\n\talert(e.event.target.tagName);\n});\t\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Configuration"],["header",{"level":3},"enable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. By default, it is enabled, unless a ",["inlinecode","disabled=\"disabled\""]," attribute is detected."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Foo</button>\n<script>\n$(\"#button\").kendoButton({\n\tenable: false\n});\n</script>"],["header",{"level":3},"icon ",["inlinecode","String"]],["para","Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nThe ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-icon"]," CSS class applied.\nFor a list of available icon names, please refer to the ",["link",{"href":"http://demos.kendoui.com/web/styling/icons.html"},"Icons demo"],"."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Cancel</button>\n<script>\n$(\"#button\").kendoButton({\n\ticon: \"cancel\"\n});\n</script>"],["header",{"level":4},"Example with an existing span element"],["code_block","<button id=\"button\" type=\"button\">\n\t<span class=\"k-icon\"></span> Cancel\n</button>\n<script>\n$(\"#button\").kendoButton({\n\ticon: \"cancel\"\n});\n</script>"],["header",{"level":3},"imageUrl ",["inlinecode","String"]],["para","Defines a URL, which will be used for an ",["inlinecode","img"]," element inside the Button. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL."],["para","The ",["inlinecode","img"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-image"]," CSS class applied."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\timageUrl: \"/images/edit-icon.gif\"\n});\n</script>"],["header",{"level":4},"Example with an existing img element"],["code_block","<button id=\"button\" type=\"button\">\n\t<img class=\"k-image\" alt=\"Edit\" /> Edit\n</button>\n<script>\n$(\"#button\").kendoButton({\n\timageUrl: \"/images/edit-icon.gif\"\n});\n</script>"],["header",{"level":3},"spriteCssClass ",["inlinecode","String"]],["para","Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a ",["inlinecode","span"]," element inside the ",["strong","Button"],".\nIn case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the ",["link",{"href":"#configuration-icon"},["inlinecode","icon"]," property"],"."],["para","The ",["inlinecode","span"]," element can be added automatically by the widget, or an existing element can be used, if it has a ",["inlinecode","k-sprite"]," CSS class applied."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\tspriteCssClass: \"myEditIcon\"\n});\n</script>"],["header",{"level":4},"Example with an existing span element"],["code_block","<button id=\"button\" type=\"button\">\n\t<span class=\"k-sprite\"></span> Edit\n</button>\n<script>\n$(\"#button\").kendoButton({\n\tspriteCssClass: \"myEditIcon\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"enable"],["para","Enables or disables the Button."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Indicates whether the ",["strong","Button"]," should be enabled or disabled. Truthy and falsy arguments are accepted. If no argument is supplied, the ",["strong","Button"]," will assume ",["inlinecode","true"]," and will be enabled."],["header",{"level":4},"Example"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\n// disable button\nbutton.enable(false);\n// enable button\nbutton.enable(true);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"click"],["para","Fires when the ",["strong","Button"]," is clicked with the mouse, touched on a touch device, or ENTER (or SPACE) is pressed while the ",["strong","Button"]," is focused."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","Object"]],["para","The original DOM event."],["header",{"level":4},"Example - subscribe to the \"click\" event during initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton({\n\tclick: function(e) {\n\t\talert(e.event.target.tagName);\n\t}\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"click\" event after initialization"],["code_block","<button id=\"button\" type=\"button\">Edit</button>\n<script>\n$(\"#button\").kendoButton();\nvar button = $(\"#button\").data(\"kendoButton\");\nbutton.bind(\"click\", function(e) {\n\talert(e.event.target.tagName);\n});\t\n</script>"]]},"kendo.ui.Calendar":{"file":"api/web/calendar.md","name":"kendo.ui.Calendar","config":[{"name":"culture","type":["String"],"default":"\"en-US\"","short_doc":[["para"," Specifies the culture info used by the widget."]],"doc":[["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        culture: \"de-DE\"\n    });\n</script>"]]},{"name":"dates","type":["Array"],"short_doc":[["para"," Specifies a list of dates, which will be passed to the month template."]],"doc":[["para"," Specifies a list of dates, which will be passed to the month template."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 10, 30, 0)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"]]},{"name":"depth","type":["String"],"short_doc":[["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"]],"doc":[["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        depth: \"year\"\n    });\n</script>"]]},{"name":"footer","type":["String","Function"],"short_doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer. If false, the footer will not be rendered."]],"doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<div id=\"calendar\"></div>\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        footer: kendo.template($(\"#footer-template\").html())\n    });\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        footer: \"Today - #: kendo.toString(data, 'd') #\"\n    });\n</script>"]]},{"name":"format","type":["String"],"default":"\"MM/dd/yyyy\"","short_doc":[["para"," Specifies the format, which is used to parse value set with value() method."]],"doc":[["para"," Specifies the format, which is used to parse value set with value() method."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        format: \"yyyy/MM/dd\"\n    });\n</script>"]]},{"name":"max","type":["Date"],"default":"Date(2099, 11, 31)","short_doc":[["para"," Specifies the maximum date, which the calendar can show."]],"doc":[["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        max: new Date(2013, 0, 1) // set the max date to Jan 1st, 2013\n    });\n</script>"]]},{"name":"min","type":["Date"],"default":"Date(1900, 0, 1)","short_doc":[["para"," Specifies the minimum date, which the calendar can show."]],"doc":[["para"," Specifies the minimum date, which the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<div id=\"calendar\"></div>\n<script>\n    // set the min date to Jan 1st, 2011\n    $(\"#calendar\").kendoCalendar({\n        min: new Date(2011, 0, 1)\n    });\n</script>"]]},{"name":"month","type":["Object"],"short_doc":[["para"," Templates for the cells rendered in \"month\" view."]],"doc":[["para"," Templates for the cells rendered in \"month\" view."]],"sub":[{"name":"empty","type":["String"],"short_doc":[["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range.\n By default, the widget renders an empty string."]],"doc":[["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range.\n By default, the widget renders an empty string."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        month: {\n           empty: '-'\n        }\n    });\n</script>"]],"orig":"month.empty"},{"name":"content","type":["String"],"short_doc":[["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range.\n By default, the widget renders the value of the corresponding day."]],"doc":[["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range.\n By default, the widget renders the value of the corresponding day."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<div id=\"calendar\"></div>\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        month: {\n           content: $(\"#cell-template\").html()\n        }\n    });\n</script>"]],"orig":"month.content"}]},{"name":"start","type":["String"],"default":"\"month\"","short_doc":[["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"]],"doc":[["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        start: \"year\"\n    });\n</script>"]]},{"name":"value","type":["Date"],"default":"null","short_doc":[["para"," Specifies the selected date."]],"doc":[["para"," Specifies the selected date."],["header",{"level":4},"Example - specify the selected value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2012, 0, 1)\n    });\n</script>"]]}],"methods":[{"name":"current","args":[],"short_doc":[["para","Gets currently focused date."]],"doc":[["para","Gets currently focused date."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The current focused date shown in the calendar."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var current = calendar.current(); //will be today, because value is `null`\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var current = calendar.current(); //will be today, because value is `null`\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Calendar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Calendar element from DOM."]]],"doc":[["para","Prepares the ",["strong","Calendar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Calendar element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.destroy();\n</script>"]]]},{"name":"max","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The max date to set."]],"doc":[["para","The max date to set."]]}],"short_doc":[["para","Gets/Sets the max value of the calendar."]],"doc":[["para","Gets/Sets the max value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The max date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The max value of the calendar."],["header",{"level":4},"Example - get the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var max = calendar.max();\n</script>"],["header",{"level":4},"Example - set the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.max(new Date(2100, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var max = calendar.max();\n</script>"]],[["header",{"level":4},"Example - set the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.max(new Date(2100, 0, 1));\n</script>"]]]},{"name":"min","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The min date to set."]],"doc":[["para","The min date to set."]]}],"short_doc":[["para","Gets/Sets the min value of the calendar."]],"doc":[["para","Gets/Sets the min value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The min date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The min value of the calendar."],["header",{"level":4},"Example - get the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var min = calendar.min();\n</script>"],["header",{"level":4},"Example - set the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.min(new Date(1900, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var min = calendar.min();\n</script>"]],[["header",{"level":4},"Example - set the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.min(new Date(1900, 0, 1));\n</script>"]]]},{"name":"navigate","args":[{"name":"value","type":["Date"],"short_doc":[["para","Desired date."]],"doc":[["para","Desired date."]]},{"name":"view","type":["String"],"short_doc":[["para","Desired view."]],"doc":[["para","Desired view."]]}],"short_doc":[["para","Navigates to view."]],"doc":[["para","Navigates to view."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]],["para","Desired date."],["header",{"level":5},"view ",["inlinecode","String"]],["para","Desired view."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigate(new Date(2012, 0, 1), \"year\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigate(new Date(2012, 0, 1), \"year\");\n</script>"]]]},{"name":"navigateDown","args":[{"name":"value","type":["Date"],"short_doc":[["para","Desired date."]],"doc":[["para","Desired date."]]}],"short_doc":[["para","Navigates to the lower view."]],"doc":[["para","Navigates to the lower view."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]],["para","Desired date."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateDown(new Date(2012, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateDown(new Date(2012, 0, 1));\n</script>"]]]},{"name":"navigateToFuture","args":[],"short_doc":[["para","Navigates to the future."]],"doc":[["para","Navigates to the future."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToFuture();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToFuture();\n</script>"]]]},{"name":"navigateToPast","args":[],"short_doc":[["para","Navigates to the past."]],"doc":[["para","Navigates to the past."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToPast();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToPast();\n</script>"]]]},{"name":"navigateUp","args":[],"short_doc":[["para","Navigates to the upper view."]],"doc":[["para","Navigates to the upper view."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateUp();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateUp();\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The date to set."]],"doc":[["para","The date to set."]]}],"short_doc":[["para","Gets/Sets the value of the calendar."]],"doc":[["para","Gets/Sets the value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The value of the calendar."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var value = calendar.value();\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.value(new Date());\n</script>"]],"examples":[[["header",{"level":4},"Example - gets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var value = calendar.value();\n</script>"]],[["header",{"level":4},"Example - sets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.value(new Date());\n</script>"]]]},{"name":"view","args":[],"short_doc":[["para","Gets an instance of the current view used by the calendar."]],"doc":[["para","Gets an instance of the current view used by the calendar."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The instance of the current view used by the calendar."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var view = calendar.view();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var view = calendar.view();\n</script>"]]]}],"events":[{"name":"change","args":[],"short_doc":[["para","Fires when the selected date is changed."]],"doc":[["para","Fires when the selected date is changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        change: function() {\n            var value = this.value();\n            console.log(value); //value is the selected date in the calendar\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"change\", function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the calendar\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        change: function() {\n            var value = this.value();\n            console.log(value); //value is the selected date in the calendar\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"change\", function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the calendar\n    });\n</script>"]]],"type":["Function"]},{"name":"navigate","args":[],"short_doc":[["para","Fires when calendar navigates."]],"doc":[["para","Fires when calendar navigates."],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        navigate: function() {\n            var view = this.view();\n            console.log(view.name); //name of the current view\n\n            var current = this.current();\n            console.log(current); //currently focused date\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"navigate\", function() {\n        var view = this.view();\n        console.log(view.name); //name of the current view\n\n        var current = this.current();\n        console.log(current); //currently focused date\n    });\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        navigate: function() {\n            var view = this.view();\n            console.log(view.name); //name of the current view\n\n            var current = this.current();\n            console.log(current); //currently focused date\n        }\n    });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"navigate\", function() {\n        var view = this.view();\n        console.log(view.name); //name of the current view\n\n        var current = this.current();\n        console.log(current); //currently focused date\n    });\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Calendar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Calendar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"culture ",["inlinecode","String"],["em","(default: \"en-US\")"]],["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        culture: \"de-DE\"\n    });\n</script>"],["header",{"level":3},"dates ",["inlinecode","Array"]],["para"," Specifies a list of dates, which will be passed to the month template."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 10, 30, 0)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"],["header",{"level":3},"depth ",["inlinecode","String"]],["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        depth: \"year\"\n    });\n</script>"],["header",{"level":3},"footer ",["inlinecode","String|Function"]],["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<div id=\"calendar\"></div>\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        footer: kendo.template($(\"#footer-template\").html())\n    });\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        footer: \"Today - #: kendo.toString(data, 'd') #\"\n    });\n</script>"],["header",{"level":3},"format ",["inlinecode","String"],["em","(default: \"MM/dd/yyyy\")"]],["para"," Specifies the format, which is used to parse value set with value() method."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        format: \"yyyy/MM/dd\"\n    });\n</script>"],["header",{"level":3},"max ",["inlinecode","Date"],["em","(default: Date(2099, 11, 31))"]],["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        max: new Date(2013, 0, 1) // set the max date to Jan 1st, 2013\n    });\n</script>"],["header",{"level":3},"min ",["inlinecode","Date"],["em","(default: Date(1900, 0, 1))"]],["para"," Specifies the minimum date, which the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<div id=\"calendar\"></div>\n<script>\n    // set the min date to Jan 1st, 2011\n    $(\"#calendar\").kendoCalendar({\n        min: new Date(2011, 0, 1)\n    });\n</script>"],["header",{"level":3},"month ",["inlinecode","Object"]],["para"," Templates for the cells rendered in \"month\" view."],["header",{"level":3},"month.content ",["inlinecode","String"]],["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range.\n By default, the widget renders the value of the corresponding day."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<div id=\"calendar\"></div>\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        month: {\n           content: $(\"#cell-template\").html()\n        }\n    });\n</script>"],["header",{"level":3},"month.empty ",["inlinecode","String"]],["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range.\n By default, the widget renders an empty string."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        month: {\n           empty: '-'\n        }\n    });\n</script>"],["header",{"level":3},"start ",["inlinecode","String"],["em","(default: \"month\")"]],["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        start: \"year\"\n    });\n</script>"],["header",{"level":3},"value ",["inlinecode","Date"],["em","(default: null)"]],["para"," Specifies the selected date."],["header",{"level":4},"Example - specify the selected value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2012, 0, 1)\n    });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"current"],["para","Gets currently focused date."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The current focused date shown in the calendar."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var current = calendar.current(); //will be today, because value is `null`\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Calendar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Calendar element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.destroy();\n</script>"],["header",{"level":3},"max"],["para","Gets/Sets the max value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The max date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The max value of the calendar."],["header",{"level":4},"Example - get the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var max = calendar.max();\n</script>"],["header",{"level":4},"Example - set the max value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.max(new Date(2100, 0, 1));\n</script>"],["header",{"level":3},"min"],["para","Gets/Sets the min value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The min date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The min value of the calendar."],["header",{"level":4},"Example - get the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var min = calendar.min();\n</script>"],["header",{"level":4},"Example - set the min value of the calendar"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.min(new Date(1900, 0, 1));\n</script>"],["header",{"level":3},"navigate"],["para","Navigates to view."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]],["para","Desired date."],["header",{"level":5},"view ",["inlinecode","String"]],["para","Desired view."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigate(new Date(2012, 0, 1), \"year\");\n</script>"],["header",{"level":3},"navigateDown"],["para","Navigates to the lower view."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]],["para","Desired date."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateDown(new Date(2012, 0, 1));\n</script>"],["header",{"level":3},"navigateToFuture"],["para","Navigates to the future."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToFuture();\n</script>"],["header",{"level":3},"navigateToPast"],["para","Navigates to the past."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateToPast();\n</script>"],["header",{"level":3},"navigateUp"],["para","Navigates to the upper view."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.navigateUp();\n</script>"],["header",{"level":3},"value"],["para","Gets/Sets the value of the calendar."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The value of the calendar."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var value = calendar.value();\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        value: new Date(2013, 10, 10)\n    });\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.value(new Date());\n</script>"],["header",{"level":3},"view"],["para","Gets an instance of the current view used by the calendar."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The instance of the current view used by the calendar."],["header",{"level":4},"Example"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    var view = calendar.view();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the selected date is changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        change: function() {\n            var value = this.value();\n            console.log(value); //value is the selected date in the calendar\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"change\", function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the calendar\n    });\n</script>"],["header",{"level":3},"navigate"],["para","Fires when calendar navigates."],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar({\n        navigate: function() {\n            var view = this.view();\n            console.log(view.name); //name of the current view\n\n            var current = this.current();\n            console.log(current); //currently focused date\n        }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"calendar\"></div>\n<script>\n    $(\"#calendar\").kendoCalendar();\n\n    var calendar = $(\"#calendar\").data(\"kendoCalendar\");\n\n    calendar.bind(\"navigate\", function() {\n        var view = this.view();\n        console.log(view.name); //name of the current view\n\n        var current = this.current();\n        console.log(current); //currently focused date\n    });\n</script>"]]},"kendo.ui.ColorPalette":{"file":"api/web/colorpalette.md","name":"kendo.ui.ColorPalette","config":[{"name":"palette","type":["String","Array"],"default":"\"basic\"","short_doc":[["para","Specifies the color palette to display.\nIt can be a string with comma-separated colors in hex representation, an array of ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," objects or of strings that ",["link",{"href":"/api/framework/kendo#parseColor"},"parseColor"]," understands.  As a shortcut, you can pass \"basic\" to get the simple palette (this is the default) or \"websafe\" to get the Web-safe palette."]],"doc":[["para","Specifies the color palette to display.\nIt can be a string with comma-separated colors in hex representation, an array of ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," objects or of strings that ",["link",{"href":"/api/framework/kendo#parseColor"},"parseColor"]," understands.  As a shortcut, you can pass \"basic\" to get the simple palette (this is the default) or \"websafe\" to get the Web-safe palette."],["header",{"level":4},"Example - use \"websafe\" palette"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"websafe\"\n});\n</script>"],["header",{"level":4},"Example - use list of colors"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 6\n});\n</script>"]]},{"name":"columns","type":["Number"],"default":"10","short_doc":[["para","The number of columns to display.  When you use the \"websafe\" palette, this will automatically default to 18."]],"doc":[["para","The number of columns to display.  When you use the \"websafe\" palette, this will automatically default to 18."],["header",{"level":4},"Example - wrap list of colors on two rows with 3 columns"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 3\n});\n</script>"]]},{"name":"tileSize","type":["Number","Object"],"default":"14","short_doc":[["para","The size of a color cell."]],"doc":[["para","The size of a color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: 32\n});\n</script>"]],"sub":[{"name":"height","type":["Number"],"default":"14","short_doc":[["para","The height of the color cell."]],"doc":[["para","The height of the color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: { height: 40 }\n});\n</script>"]],"orig":"tileSize.height"},{"name":"width","type":["Number"],"default":"14","short_doc":[["para","The width of the color cell."]],"doc":[["para","The width of the color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: { width: 40 }\n});\n</script>"]],"orig":"tileSize.width"}]},{"name":"value","type":["String","Color"],"default":"null","short_doc":[["para","Specifies the initially selected color."]],"doc":[["para","Specifies the initially selected color."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  value: \"#fff\"\n});\n</script>"]]}],"methods":[{"name":"value","args":[{"name":"color","type":["String"],"short_doc":[],"doc":[]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format ",["inlinecode","#FFFFFF"],"."],["para","If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," object."],["blockquote",["para","This method does not trigger the \"change\" event."]]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format ",["inlinecode","#FFFFFF"],"."],["para","If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," object."],["blockquote",["para","This method does not trigger the \"change\" event."]],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\n\n// set palette value\npalette.value(\"#ccc\");\n\n// get palette value\nvar value = palette.value();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\n\n// set palette value\npalette.value(\"#ccc\");\n\n// get palette value\nvar value = palette.value();\n</script>"]]]},{"name":"color","args":[{"name":"color","type":["kendo.Color"],"short_doc":[["para","The color that should be set as the current value"]],"doc":[["para","The color that should be set as the current value"]]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"]],"examples":[]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]],"doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the color palette"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.enable(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - disable the color palette"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.enable(false);\n</script>"]]]}],"events":[{"name":"change","args":[],"short_doc":[["para","Triggers when a new color has been changed."]],"doc":[["para","Triggers when a new color has been changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"palette\"></div>\n<script>\nfunction palette_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.bind(\"change\", palette_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"palette\"></div>\n<script>\nfunction palette_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.bind(\"change\", palette_change);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","This is the widget used by the color picker to display the simple,\nweb-safe, or a custom color palette.  You can use it independently if\nyou need such a widget directly in the page somewhere, rather than in\na drop-down."]],"doc":[["para","This is the widget used by the color picker to display the simple,\nweb-safe, or a custom color palette.  You can use it independently if\nyou need such a widget directly in the page somewhere, rather than in\na drop-down."],["header",{"level":2},"Configuration"],["header",{"level":3},"palette ",["inlinecode","String|Array"]," ",["em","(default: \"basic\")"]],["para","Specifies the color palette to display.\nIt can be a string with comma-separated colors in hex representation, an array of ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," objects or of strings that ",["link",{"href":"/api/framework/kendo#parseColor"},"parseColor"]," understands.  As a shortcut, you can pass \"basic\" to get the simple palette (this is the default) or \"websafe\" to get the Web-safe palette."],["header",{"level":4},"Example - use \"websafe\" palette"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"websafe\"\n});\n</script>"],["header",{"level":4},"Example - use list of colors"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 6\n});\n</script>"],["header",{"level":3},"columns ",["inlinecode","Number"]," ",["em","(default: 10)"]],["para","The number of columns to display.  When you use the \"websafe\" palette, this will automatically default to 18."],["header",{"level":4},"Example - wrap list of colors on two rows with 3 columns"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 3\n});\n</script>"],["header",{"level":3},"tileSize ",["inlinecode","Number | Object"]," ",["em","(default: 14)"]],["para","The size of a color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: 32\n});\n</script>"],["header",{"level":3},"tileSize.width ",["inlinecode","Number"]," ",["em","(default: 14)"]],["para","The width of the color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: { width: 40 }\n});\n</script>"],["header",{"level":3},"tileSize.height ",["inlinecode","Number"]," ",["em","(default: 14)"]],["para","The height of the color cell."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  tileSize: { height: 40 }\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String | Color"]," ",["em","(default: null)"]],["para","Specifies the initially selected color."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  palette: \"basic\",\n  value: \"#fff\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"value ",["inlinecode","String | Color"],["em","(default: null)"]],["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format ",["inlinecode","#FFFFFF"],"."],["para","If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"]," object."],["blockquote",["para","This method does not trigger the \"change\" event."]],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\n\n// set palette value\npalette.value(\"#ccc\");\n\n// get palette value\nvar value = palette.value();\n</script>"],["header",{"level":3},"color"],["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the color palette"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.enable(false);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Triggers when a new color has been changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"palette\"></div>\n<script>\n$(\"#palette\").kendoColorPalette({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"palette\"></div>\n<script>\nfunction palette_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#palette\").kendoColorPalette();\nvar palette = $(\"#palette\").data(\"kendoColorPalette\");\npalette.bind(\"change\", palette_change);\n</script>"]]},"kendo.ui.ColorPicker":{"file":"api/web/colorpicker.md","name":"kendo.ui.ColorPicker","config":[{"name":"buttons","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether the widget should display the Apply / Cancel buttons."],["para","Applicable only for the HSV selector, when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is not specified."]],"doc":[["para","Specifies whether the widget should display the Apply / Cancel buttons."],["para","Applicable only for the HSV selector, when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is not specified."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  buttons: false\n})\n</script>"]]},{"name":"columns","type":["Number"],"short_doc":[["para","The number of columns to show in the color dropdown when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is specified.\nThis is automatically initialized for the \"basic\" and \"websafe\" palettes.\nIf you use a custom palette then you can set this to some value that makes sense for your colors."]],"doc":[["para","The number of columns to show in the color dropdown when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is specified.\nThis is automatically initialized for the \"basic\" and \"websafe\" palettes.\nIf you use a custom palette then you can set this to some value that makes sense for your colors."],["header",{"level":4},"Example - wrap list of colors on two rows with 3 columns"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 3\n});\n</script>"]]},{"name":"tileSize","type":["Number","Object"],"default":"14","short_doc":[["para","The size of a color cell."]],"doc":[["para","The size of a color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: 32\n});\n</script>"]],"sub":[{"name":"height","type":["Number"],"default":"14","short_doc":[["para","The height of the color cell."]],"doc":[["para","The height of the color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: { height: 40 }\n});\n</script>"]],"orig":"tileSize.height"},{"name":"width","type":["Number"],"default":"14","short_doc":[["para","The width of the color cell."]],"doc":[["para","The width of the color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: { width: 40 }\n});\n</script>"]],"orig":"tileSize.width"}]},{"name":"messages","type":["Object"],"short_doc":[["para","Allows customization of \"Apply\" / \"Cancel\" labels."]],"doc":[["para","Allows customization of \"Apply\" / \"Cancel\" labels."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  messages: {\n    apply: \"Update\",\n    cancel: \"Discard\"\n  }\n})\n</script>"]]},{"name":"palette","type":["String","Array"],"default":"null","short_doc":[["para","When a non-null ",["inlinecode","palette"]," argument is supplied, the drop-down will be\na simple color picker that lists the colors. The following are supported:"],["bulletlist",["listitem",["para","\"basic\" -- displays 20 basic colors"]],["listitem",["para","\"websafe\" -- display the \"web-safe\" color palette"]],["listitem",["para","otherwise, pass a string with colors in HEX representation separated with\ncommas, or an array of colors, and it will display that palette instead.\nIf you pass an array it can contain strings supported by ",["link_ref",{"ref":"parsecolor","original":"[parseColor][]"},"parseColor"]," or\n",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," objects."]]],["para","If ",["inlinecode","palette"]," is missing or ",["inlinecode","null"],", the widget will display the HSV\nselector."]],"doc":[["para","When a non-null ",["inlinecode","palette"]," argument is supplied, the drop-down will be\na simple color picker that lists the colors. The following are supported:"],["bulletlist",["listitem",["para","\"basic\" -- displays 20 basic colors"]],["listitem",["para","\"websafe\" -- display the \"web-safe\" color palette"]],["listitem",["para","otherwise, pass a string with colors in HEX representation separated with\ncommas, or an array of colors, and it will display that palette instead.\nIf you pass an array it can contain strings supported by ",["link_ref",{"ref":"parsecolor","original":"[parseColor][]"},"parseColor"]," or\n",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," objects."]]],["para","If ",["inlinecode","palette"]," is missing or ",["inlinecode","null"],", the widget will display the HSV\nselector."],["header",{"level":4},"Example - use \"websafe\" palette"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"websafe\"\n});\n</script>"],["header",{"level":4},"Example - use list of colors"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 6\n});\n</script>"]]},{"name":"opacity","type":["Boolean"],"default":"false","short_doc":[["para","Only for the HSV selector.  If ",["inlinecode","true"],", the widget will display the opacity slider.\nNote that currently in HTML5 the ",["inlinecode","<input type=\"color\">"]," does not support opacity."]],"doc":[["para","Only for the HSV selector.  If ",["inlinecode","true"],", the widget will display the opacity slider.\nNote that currently in HTML5 the ",["inlinecode","<input type=\"color\">"]," does not support opacity."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  opacity: true\n});\n</script>"]]},{"name":"preview","type":["Boolean"],"default":"true","short_doc":[["para","Only applicable for the HSV selector."],["para","Displays the color preview element, along with an input field where the end user can paste a color in a CSS-supported notation."]],"doc":[["para","Only applicable for the HSV selector."],["para","Displays the color preview element, along with an input field where the end user can paste a color in a CSS-supported notation."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  preview: false\n});\n</script>"]]},{"name":"toolIcon","type":["String"],"default":"null","short_doc":[["para","A CSS class name to display an icon in the color picker button.  If\nspecified, the HTML for the element will look like this:"],["code_block","<span class=\"k-tool-icon ${toolIcon}\">\n  <span class=\"k-selected-color\"></span>\n</span>"]],"doc":[["para","A CSS class name to display an icon in the color picker button.  If\nspecified, the HTML for the element will look like this:"],["code_block","<span class=\"k-tool-icon ${toolIcon}\">\n  <span class=\"k-selected-color\"></span>\n</span>"],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  toolIcon: \"k-foreColor\"\n});\n</script>"]]},{"name":"value","type":["String","Color"],"default":"null","short_doc":[["para","The initially selected color.\nNote that when initializing the widget from an ",["inlinecode","<input>"]," element, the initial color will be decided by the field instead."]],"doc":[["para","The initially selected color.\nNote that when initializing the widget from an ",["inlinecode","<input>"]," element, the initial color will be decided by the field instead."],["header",{"level":4},"Example"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  value: \"#b72bba\"\n});\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the popup."]],"doc":[["para","Closes the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n\nsetTimeout(function() {\n    colorpicker.close();\n}, 1000);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n\nsetTimeout(function() {\n    colorpicker.close();\n}, 1000);\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the popup element with the color selector."]],"doc":[["para","Opens the popup element with the color selector."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n</script>"]]]},{"name":"toggle","args":[],"short_doc":[["para","Toggles the popup."]],"doc":[["para","Toggles the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.toggle();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.toggle();\n</script>"]]]},{"name":"value","args":[{"name":"color","type":["String"],"short_doc":[],"doc":[]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\n\n// set picker value\ncolorpicker.value(\"#ccc\");\n\n// get picker value\nvar value = colorpicker.value();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\n\n// set picker value\ncolorpicker.value(\"#ccc\");\n\n// get picker value\nvar value = colorpicker.value();\n</script>"]]]},{"name":"color","args":[{"name":"color","type":["kendo.Color"],"short_doc":[["para","The color that should be set as the current value"]],"doc":[["para","The color that should be set as the current value"]]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"]],"examples":[]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]],"doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the color picker"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.enable(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - disable the color picker"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.enable(false);\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.value","type":["String"],"short_doc":[["para","The value of the colorpicker."]],"doc":[["para","The value of the colorpicker."]]}],"short_doc":[["para","Fires when a color was selected, either by clicking on it (in the\nsimple picker), by clicking ENTER or by pressing \"Apply\" in the HSV\npicker."]],"doc":[["para","Fires when a color was selected, either by clicking on it (in the\nsimple picker), by clicking ENTER or by pressing \"Apply\" in the HSV\npicker."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  change: function(e) {\n    console.log(\"The picked color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The picked color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"change\", picker_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  change: function(e) {\n    console.log(\"The picked color is \", e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The picked color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"change\", picker_change);\n</script>"]]],"type":["Function"]},{"name":"select","args":[],"short_doc":[["para","Fires as a new color is displayed in the drop-down picker.  This is\nnot necessarily the \"final\" value; for example this event triggers\nwhen the sliders in the HSV selector are dragged, but then pressing\nESC would cancel the selection and the color will revert to the\noriginal value."]],"doc":[["para","Fires as a new color is displayed in the drop-down picker.  This is\nnot necessarily the \"final\" value; for example this event triggers\nwhen the sliders in the HSV selector are dragged, but then pressing\nESC would cancel the selection and the color will revert to the\noriginal value."],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  select: function(e) {\n    console.log(\"The selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_select(e) {\n  console.log(\"The selected color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"select\", picker_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  select: function(e) {\n    console.log(\"The selected color is \", e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_select(e) {\n  console.log(\"The selected color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"select\", picker_select);\n</script>"]]],"type":["Function"]},{"name":"open","args":[],"short_doc":[["para","Fires when the picker popup is opening."]],"doc":[["para","Fires when the picker popup is opening."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  open: function() {\n    console.log(\"Picker popup opened\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_open() {\n  console.log(\"Picker popup opened\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"open\", picker_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  open: function() {\n    console.log(\"Picker popup opened\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_open() {\n  console.log(\"Picker popup opened\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"open\", picker_open);\n</script>"]]],"type":["Function"]},{"name":"close","args":[],"short_doc":[["para","Fires when the picker popup is closing."]],"doc":[["para","Fires when the picker popup is closing."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  close: function() {\n    console.log(\"Picker popup closed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_close() {\n  console.log(\"Picker popup closed\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"close\", picker_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  close: function() {\n    console.log(\"Picker popup closed\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_close() {\n  console.log(\"Picker popup closed\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"close\", picker_close);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","A drop-down color picker widget."],["para","This widget can be used as a replacement for the browser's built-in color\npicker widget - ",["inlinecode","<input type=\"color\">"]," in HTML5.  It can be\ninstantiated from such an element and by default it will replace it in\nthe DOM."]],"doc":[["para","A drop-down color picker widget."],["para","This widget can be used as a replacement for the browser's built-in color\npicker widget - ",["inlinecode","<input type=\"color\">"]," in HTML5.  It can be\ninstantiated from such an element and by default it will replace it in\nthe DOM."],["header",{"level":2},"Configuration"],["header",{"level":3},"buttons ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether the widget should display the Apply / Cancel buttons."],["para","Applicable only for the HSV selector, when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is not specified."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  buttons: false\n})\n</script>"],["header",{"level":3},"columns ",["inlinecode","Number"]],["para","The number of columns to show in the color dropdown when a ",["link",{"href":"#configuration-palette"},["inlinecode","pallete"]]," is specified.\nThis is automatically initialized for the \"basic\" and \"websafe\" palettes.\nIf you use a custom palette then you can set this to some value that makes sense for your colors."],["header",{"level":4},"Example - wrap list of colors on two rows with 3 columns"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 3\n});\n</script>"],["header",{"level":3},"tileSize ",["inlinecode","Number|Object"]," ",["em","(default: 14)"]],["para","The size of a color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: 32\n});\n</script>"],["header",{"level":3},"tileSize.width ",["inlinecode","Number"]," ",["em","(default: 14)"]],["para","The width of the color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: { width: 40 }\n});\n</script>"],["header",{"level":3},"tileSize.height ",["inlinecode","Number"]," ",["em","(default: 14)"]],["para","The height of the color cell."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"basic\",\n  tileSize: { height: 40 }\n});\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","Allows customization of \"Apply\" / \"Cancel\" labels."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  messages: {\n    apply: \"Update\",\n    cancel: \"Discard\"\n  }\n})\n</script>"],["header",{"level":3},"palette ",["inlinecode","String|Array"]," ",["em","(default: null)"]],["para","When a non-null ",["inlinecode","palette"]," argument is supplied, the drop-down will be\na simple color picker that lists the colors. The following are supported:"],["bulletlist",["listitem",["para","\"basic\" -- displays 20 basic colors"]],["listitem",["para","\"websafe\" -- display the \"web-safe\" color palette"]],["listitem",["para","otherwise, pass a string with colors in HEX representation separated with\ncommas, or an array of colors, and it will display that palette instead.\nIf you pass an array it can contain strings supported by ",["link_ref",{"ref":"parsecolor","original":"[parseColor][]"},"parseColor"]," or\n",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," objects."]]],["para","If ",["inlinecode","palette"]," is missing or ",["inlinecode","null"],", the widget will display the HSV\nselector."],["header",{"level":4},"Example - use \"websafe\" palette"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: \"websafe\"\n});\n</script>"],["header",{"level":4},"Example - use list of colors"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  palette: [ \"#000\", \"#333\", \"#666\", \"#999\", \"#ccc\", \"#fff\" ],\n  columns: 6\n});\n</script>"],["header",{"level":3},"opacity ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Only for the HSV selector.  If ",["inlinecode","true"],", the widget will display the opacity slider.\nNote that currently in HTML5 the ",["inlinecode","<input type=\"color\">"]," does not support opacity."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  opacity: true\n});\n</script>"],["header",{"level":3},"preview ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Only applicable for the HSV selector."],["para","Displays the color preview element, along with an input field where the end user can paste a color in a CSS-supported notation."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  preview: false\n});\n</script>"],["header",{"level":3},"toolIcon ",["inlinecode","String"]," ",["em","(default: null)"]],["para","A CSS class name to display an icon in the color picker button.  If\nspecified, the HTML for the element will look like this:"],["code_block","<span class=\"k-tool-icon ${toolIcon}\">\n  <span class=\"k-selected-color\"></span>\n</span>"],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  toolIcon: \"k-foreColor\"\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String|Color"]," ",["em","(default: null)"]],["para","The initially selected color.\nNote that when initializing the widget from an ",["inlinecode","<input>"]," element, the initial color will be decided by the field instead."],["header",{"level":4},"Example"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  value: \"#b72bba\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n\nsetTimeout(function() {\n    colorpicker.close();\n}, 1000);\n</script>"],["header",{"level":3},"open"],["para","Opens the popup element with the color selector."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.open();\n</script>"],["header",{"level":3},"toggle"],["para","Toggles the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"colorpicker\" type=\"color\" />\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.toggle();\n</script>"],["header",{"level":3},"value ",["inlinecode","String|Color"]," ",["em","(default: null)"]],["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\n\n// set picker value\ncolorpicker.value(\"#ccc\");\n\n// get picker value\nvar value = colorpicker.value();\n</script>"],["header",{"level":3},"color"],["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the color picker"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.enable(false);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when a color was selected, either by clicking on it (in the\nsimple picker), by clicking ENTER or by pressing \"Apply\" in the HSV\npicker."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  change: function(e) {\n    console.log(\"The picked color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The picked color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"change\", picker_change);\n</script>"],["header",{"level":3},"select"],["para","Fires as a new color is displayed in the drop-down picker.  This is\nnot necessarily the \"final\" value; for example this event triggers\nwhen the sliders in the HSV selector are dragged, but then pressing\nESC would cancel the selection and the color will revert to the\noriginal value."],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  select: function(e) {\n    console.log(\"The selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_select(e) {\n  console.log(\"The selected color is \", e.value);\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"select\", picker_select);\n</script>"],["header",{"level":3},"open"],["para","Fires when the picker popup is opening."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  open: function() {\n    console.log(\"Picker popup opened\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_open() {\n  console.log(\"Picker popup opened\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"open\", picker_open);\n</script>"],["header",{"level":3},"close"],["para","Fires when the picker popup is closing."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\n$(\"#colorpicker\").kendoColorPicker({\n  close: function() {\n    console.log(\"Picker popup closed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"colorpicker\"></div>\n<script>\nfunction picker_close() {\n  console.log(\"Picker popup closed\");\n}\n$(\"#colorpicker\").kendoColorPicker();\nvar colorpicker = $(\"#colorpicker\").data(\"kendoColorPicker\");\ncolorpicker.bind(\"close\", picker_close);\n</script>"]]},"kendo.ui.ComboBox":{"file":"api/web/combobox.md","name":"kendo.ui.ComboBox","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the suggestion popup is opened."]],"doc":[["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[],"doc":[["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"100","short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether to bind the widget to the data source on initialization."]],"doc":[["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n    autoBind: false\n});\n</script>"]]},{"name":"cascadeFrom","type":["String"],"short_doc":[["para","Use it to set the Id of the parent ComboBox widget.\n",["link",{"href":"/getting-started/web/combobox/cascading"},"Help topic showing how cascading functionality works"]]],"doc":[["para","Use it to set the Id of the parent ComboBox widget.\n",["link",{"href":"/getting-started/web/combobox/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoComboBox({\n    dataTextField: \"parentName\",\n    dataValueField: \"parentId\",\n    dataSource: [\n        { parentName: \"Parent1\", parentId: 1 },\n        { parentName: \"Parent2\", parentId: 2 }\n    ]\n});\n\n$(\"#child\").kendoComboBox({\n    cascadeFrom: \"parent\",\n    dataTextField: \"childName\",\n    dataValueField: \"childId\",\n    dataSource: [\n        { childName: \"Child1\", childId: 1, parentId: 1 },\n        { childName: \"Child2\", childId: 2, parentId: 2 },\n        { childName: \"Child3\", childId: 3, parentId: 1 },\n        { childName: \"Child4\", childId: 4, parentId: 2 }\n    ]\n});\n</script>"]]},{"name":"cascadeFromField","type":["String"],"short_doc":[["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/combobox#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/web/combobox/cascading"},"Help topic showing how cascading functionality works"]]],"doc":[["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/combobox#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/web/combobox/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoComboBox({\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Parent1\", id: 1 },\n        { name: \"Parent2\", id: 2 }\n    ]\n});\n\n$(\"#child\").kendoComboBox({\n    cascadeFrom: \"parent\",\n    cascadeFromField: \"parentId\",\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Child1\", id: 1, parentId: 1 },\n        { name: \"Child2\", id: 2, parentId: 2 },\n        { name: \"Child3\", id: 3, parentId: 1 },\n        { name: \"Child4\", id: 4, parentId: 2 }\n    ]\n});\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"combobox\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#combobox\").kendoComboBox({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"combobox\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#combobox\").kendoComboBox({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"]]},{"name":"dataTextField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#comboBox\").kendoComboBox({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"dataValueField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#comboBox\").kendoComboBox({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"delay","type":["Number"],"default":"200","short_doc":[["para","The delay in milliseconds between a keystroke and when the widget displays the popup."]],"doc":[["para","The delay in milliseconds between a keystroke and when the widget displays the popup."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  delay: 500\n});\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  enable: false\n});\n</script>"]]},{"name":"filter","type":["String"],"default":"\"none\"","short_doc":[["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."]],"doc":[["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  filter: \"contains\"\n});\n</script>"]]},{"name":"height","type":["Number"],"default":"200","short_doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."]],"doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  height: 500\n});\n</script>"]]},{"name":"highlightFirst","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."]],"doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  highlightFirst: false\n});\n</script>"]]},{"name":"ignoreCase","type":["String"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."]],"doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  ignoreCase: false\n});\n</script>"]]},{"name":"index","type":["Number"],"default":"-1","short_doc":[["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."]],"doc":[["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."],["header",{"level":4},"Example - select second item"],["code_block","<input id=\"combobox\" />\n<script>\nvar items = [{ text: \"Item 1\", value: \"1\" }, { text: \"Item 2\", value: \"2\" }];\n$(\"#combobox\").kendoComboBox({\n    dataTextField: \"text\",\n    dataValueField: \"value\",\n    dataSource: items,\n    index: 1\n});\n</script>"]]},{"name":"minLength","type":["Number"],"default":"1","short_doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."]],"doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  minLength: 3\n});\n</script>"]]},{"name":"placeholder","type":["String"],"default":"\"\"","short_doc":[["para","The hint displayed by the widget when it is empty. Not set by default."]],"doc":[["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder option"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  placeholder: \"Select...\"\n});\n</script>"],["header",{"level":4},"Example - specify placeholder as HTML attribute"],["code_block","<input id=\"combobox\" placeholder=\"Select...\" />\n\n<script>\n$(\"#combobox\").kendoComboBox({\n    dataSource: [\"Item1\", \"Item2\"]\n});\n</script>"]]},{"name":"suggest","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."],["header",{"level":4},"Example - enable automatic suggestion"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  suggest: true\n});\n</script>"]]},{"name":"headerTemplate","type":["String","Function"],"short_doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]]],"doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"]]},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"combobox\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"]]},{"name":"text","type":["String"],"default":"\"\"","short_doc":[["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."]],"doc":[["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."],["header",{"level":4},"Example - specify text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n     autoBind: false,\n     text: \"Chai\"\n});\n</script>"]]},{"name":"value","type":["String"],"default":"\"\"","short_doc":[["para","The value of the widget."]],"doc":[["para","The value of the widget."],["header",{"level":4},"Example - specify value of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n     dataSource: [\"Item1\", \"Item2\"],\n     value: \"Item1\"\n});\n</script>"]]},{"name":"valuePrimitive","type":["Boolean"],"default":"false","short_doc":[["para","Specifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."]],"doc":[["para","Specifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item value"],["code_block","<input id=\"combobox\" data-bind=\"value: selectedProductId, source: products\" />\n\n<script>\n$(\"#combobox\").kendoComboBox({\n  valuePrimitive: true,\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\nvar viewModel = kendo.observable({\n  selectedProductId: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#combobox\"), viewModel);\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the widget popup."]],"doc":[["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ncombobox.search(\"A\");\n// Close the suggestion popup\ncombobox.close();\n</script>"]],"examples":[[["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ncombobox.search(\"A\");\n// Close the suggestion popup\ncombobox.close();\n</script>"]]]},{"name":"dataItem","args":[{"name":"index","type":["Number"],"short_doc":[["para","The zero-based index of the data record."]],"doc":[["para","The zero-based index of the data record."]]}],"short_doc":[["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."]],"doc":[["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of the data record."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The raw data record. Returns <i>undefined</i> if no data."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = combobox.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = combobox.dataItem(0);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = combobox.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = combobox.dataItem(0);\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ComboBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ComboBox element from DOM."]]],"doc":[["para","Prepares the ",["strong","ComboBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ComboBox element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  enable: false\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  enable: false\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.enable(true);\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.readonly(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.readonly(true);\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the popup."]],"doc":[["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Refresh the popup by rendering all items again."]],"doc":[["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.refresh();\n</script>"]]]},{"name":"search","args":[{"name":"word","type":["String"],"short_doc":[["para","The filter value."]],"doc":[["para","The filter value."]]}],"short_doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."]],"doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The filter value."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.search(\"App\");\n</script>"]],"examples":[[["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.search(\"App\");\n</script>"]]]},{"name":"select","args":[{"name":"li","type":["jQuery","Number","Function"],"short_doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."]],"doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."]]}],"short_doc":[["para","Selects the item provided as an argument and updates the value and text of the widget."]],"doc":[["para","Selects the item provided as an argument and updates the value and text of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number | Function"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is ",["inlinecode","-1"],"."],["para",["inlinecode","undefined"]," If called with a parameter as a setter."],["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(combobox.ul.children().eq(0));\n</script>"],["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(1);\n</script>"],["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"],["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar selectedIndex = combobox.select();\n</script>"]],"examples":[[["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(combobox.ul.children().eq(0));\n</script>"]],[["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(1);\n</script>"]],[["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"]],[["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar selectedIndex = combobox.select();\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the dataSource of an existing ComboBox and rebinds it."]],"doc":[["para","Sets the dataSource of an existing ComboBox and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.setDataSource(dataSource);\n</script>"]]]},{"name":"suggest","args":[{"name":"value","type":["String"],"short_doc":[["para","Characters to force a suggestion."]],"doc":[["para","Characters to force a suggestion."]]}],"short_doc":[["para","Sets the value of the widget to the specified argument and visually selects the text."]],"doc":[["para","Sets the value of the widget to the specified argument and visually selects the text."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","Characters to force a suggestion."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.suggest(\"Apples\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.suggest(\"Apples\");\n</script>"]]]},{"name":"text","args":[{"name":"text","type":["String"],"short_doc":[["para","The text to set."]],"doc":[["para","The text to set."]]}],"short_doc":[["para","Gets or sets the text of the ComboBox. Widget will select the item with same text. If\nthere are no matches then the text will be considered as a custom value of the widget."]],"doc":[["para","Gets or sets the text of the ComboBox. Widget will select the item with same text. If\nthere are no matches then the text will be considered as a custom value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of the combobox."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.text(\"Apples\");\n</script>"]],"examples":[[["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.text(\"Apples\");\n</script>"]]]},{"name":"toggle","args":[{"name":"toggle","type":["Boolean"],"short_doc":[["para","Defines the whether to open/close the drop-down list."]],"doc":[["para","Defines the whether to open/close the drop-down list."]]}],"short_doc":[["para","Opens or closes the widget popup."]],"doc":[["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.toggle();\n</script>"]],"examples":[[["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.toggle();\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the value of the combobox."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]]],"doc":[["para","Gets or sets the value of the combobox."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the combobox."],["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.value(\"Oranges\");\n</script>"]],"examples":[[["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.value(\"Oranges\");\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]]],"doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"change\", combobox_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"change\", combobox_change);\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_close(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"close\", combobox_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_close(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"close\", combobox_close);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_dataBound(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"dataBound\", combobox_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_dataBound(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"dataBound\", combobox_dataBound);\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_open(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"open\", combobox_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_open(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"open\", combobox_open);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the selected item."]],"doc":[["para","The jQuery object which represents the selected item."]]},{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when an item from the popup is selected by the user."]],"doc":[["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_select);\n</script>"]]],"type":["Function"]},{"name":"cascade","args":[{"name":"e.sender","type":["kendo.ui.ComboBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed via API or user interaction."]],"doc":[["para","Fired when the value of the widget is changed via API or user interaction."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cascade\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"cascade\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_cascade(e) {\n    // Handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_cascade);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"cascade\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"cascade\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_cascade(e) {\n    // Handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_cascade);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.dataSource.add({ name: \"Appricot\" });\ncombobox.search(\"A\");\n</script>"]]},{"name":"input","type":["jQuery"],"short_doc":[["para","A jQuery object of the visible input element, where the user types."]],"doc":[["para","A jQuery object of the visible input element, where the user types."],["header",{"level":4},"Example - get input element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar input = combobox.input;\n<script>"]]},{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar options = combobox.options;\n<script>"]]},{"name":"list","type":["jQuery"],"short_doc":[["para","A jQuery object of the drop-down list element."]],"doc":[["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar list = combobox.list;\n<script>"]]},{"name":"ul","type":["jQuery"],"short_doc":[["para","A jQuery object of the ul element, which holds the available options."]],"doc":[["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar ul = combobox.ul;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI ComboBox widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI ComboBox widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n    autoBind: false\n});\n</script>"],["header",{"level":3},"cascadeFrom ",["inlinecode","String"]],["para","Use it to set the Id of the parent ComboBox widget.\n",["link",{"href":"/getting-started/web/combobox/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoComboBox({\n    dataTextField: \"parentName\",\n    dataValueField: \"parentId\",\n    dataSource: [\n        { parentName: \"Parent1\", parentId: 1 },\n        { parentName: \"Parent2\", parentId: 2 }\n    ]\n});\n\n$(\"#child\").kendoComboBox({\n    cascadeFrom: \"parent\",\n    dataTextField: \"childName\",\n    dataValueField: \"childId\",\n    dataSource: [\n        { childName: \"Child1\", childId: 1, parentId: 1 },\n        { childName: \"Child2\", childId: 2, parentId: 2 },\n        { childName: \"Child3\", childId: 3, parentId: 1 },\n        { childName: \"Child4\", childId: 4, parentId: 2 }\n    ]\n});\n</script>"],["header",{"level":3},"cascadeFromField ",["inlinecode","String"]],["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/combobox#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/web/combobox/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoComboBox({\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Parent1\", id: 1 },\n        { name: \"Parent2\", id: 2 }\n    ]\n});\n\n$(\"#child\").kendoComboBox({\n    cascadeFrom: \"parent\",\n    cascadeFromField: \"parentId\",\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Child1\", id: 1, parentId: 1 },\n        { name: \"Child2\", id: 2, parentId: 2 },\n        { name: \"Child3\", id: 3, parentId: 1 },\n        { name: \"Child4\", id: 4, parentId: 2 }\n    ]\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"combobox\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#combobox\").kendoComboBox({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"combobox\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#combobox\").kendoComboBox({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#comboBox\").kendoComboBox({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"dataValueField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#comboBox\").kendoComboBox({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"delay ",["inlinecode","Number"],["em","(default: 200)"]],["para","The delay in milliseconds between a keystroke and when the widget displays the popup."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  delay: 500\n});\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  enable: false\n});\n</script>"],["header",{"level":3},"filter ",["inlinecode","String"],["em","(default: \"none\")"]],["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  filter: \"contains\"\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number"],["em","(default: 200)"]],["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  height: 500\n});\n</script>"],["header",{"level":3},"highlightFirst ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  highlightFirst: false\n});\n</script>"],["header",{"level":3},"ignoreCase ",["inlinecode","String"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  ignoreCase: false\n});\n</script>"],["header",{"level":3},"index ",["inlinecode","Number"],["em","(default: -1)"]],["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."],["header",{"level":4},"Example - select second item"],["code_block","<input id=\"combobox\" />\n<script>\nvar items = [{ text: \"Item 1\", value: \"1\" }, { text: \"Item 2\", value: \"2\" }];\n$(\"#combobox\").kendoComboBox({\n    dataTextField: \"text\",\n    dataValueField: \"value\",\n    dataSource: items,\n    index: 1\n});\n</script>"],["header",{"level":3},"minLength ",["inlinecode","Number"],["em","(default: 1)"]],["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  minLength: 3\n});\n</script>"],["header",{"level":3},"placeholder ",["inlinecode","String"],["em","(default: \"\")"]],["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder option"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  placeholder: \"Select...\"\n});\n</script>"],["header",{"level":4},"Example - specify placeholder as HTML attribute"],["code_block","<input id=\"combobox\" placeholder=\"Select...\" />\n\n<script>\n$(\"#combobox\").kendoComboBox({\n    dataSource: [\"Item1\", \"Item2\"]\n});\n</script>"],["header",{"level":3},"suggest ",["inlinecode","Boolean"],["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the widget will automatically use the first suggestion as its value."],["header",{"level":4},"Example - enable automatic suggestion"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  suggest: true\n});\n</script>"],["header",{"level":3},"headerTemplate ",["inlinecode","String|Function"]],["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"combobox\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"],["header",{"level":3},"text ",["inlinecode","String"],["em","(default: \"\")"]],["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."],["header",{"level":4},"Example - specify text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n     autoBind: false,\n     text: \"Chai\"\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String"],["em","(default: \"\")"]],["para","The value of the widget."],["header",{"level":4},"Example - specify value of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n     dataSource: [\"Item1\", \"Item2\"],\n     value: \"Item1\"\n});\n</script>"],["header",{"level":3},"valuePrimitive ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Specifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item value"],["code_block","<input id=\"combobox\" data-bind=\"value: selectedProductId, source: products\" />\n\n<script>\n$(\"#combobox\").kendoComboBox({\n  valuePrimitive: true,\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\nvar viewModel = kendo.observable({\n  selectedProductId: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#combobox\"), viewModel);\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.dataSource.add({ name: \"Appricot\" });\ncombobox.search(\"A\");\n</script>"],["header",{"level":3},"input ",["inlinecode","jQuery"]],["para","A jQuery object of the visible input element, where the user types."],["header",{"level":4},"Example - get input element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar input = combobox.input;\n<script>"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar options = combobox.options;\n<script>"],["header",{"level":3},"list ",["inlinecode","jQuery"]],["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar list = combobox.list;\n<script>"],["header",{"level":3},"ul ",["inlinecode","jQuery"]],["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar ul = combobox.ul;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ncombobox.search(\"A\");\n// Close the suggestion popup\ncombobox.close();\n</script>"],["header",{"level":3},"dataItem"],["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of the data record."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The raw data record. Returns <i>undefined</i> if no data."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = combobox.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = combobox.dataItem(0);\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ComboBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ComboBox element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  enable: false\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.enable(true);\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.readonly(true);\n</script>"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"],["header",{"level":3},"open"],["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.focus();\n</script>"],["header",{"level":3},"refresh"],["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.refresh();\n</script>"],["header",{"level":3},"search"],["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The filter value."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.search(\"App\");\n</script>"],["header",{"level":3},"select"],["para","Selects the item provided as an argument and updates the value and text of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number | Function"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is ",["inlinecode","-1"],"."],["para",["inlinecode","undefined"]," If called with a parameter as a setter."],["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(combobox.ul.children().eq(0));\n</script>"],["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(1);\n</script>"],["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"],["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\nvar selectedIndex = combobox.select();\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the dataSource of an existing ComboBox and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.setDataSource(dataSource);\n</script>"],["header",{"level":3},"suggest"],["para","Sets the value of the widget to the specified argument and visually selects the text."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","Characters to force a suggestion."],["header",{"level":4},"Example"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.suggest(\"Apples\");\n</script>"],["header",{"level":3},"text"],["para","Gets or sets the text of the ComboBox. Widget will select the item with same text. If\nthere are no matches then the text will be considered as a custom value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of the combobox."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.text(\"Apples\");\n</script>"],["header",{"level":3},"toggle"],["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.toggle();\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the combobox."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the combobox."],["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\n\ncombobox.value(\"Oranges\");\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"change\", combobox_change);\n</script>"],["header",{"level":3},"close"],["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_close(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"close\", combobox_close);\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_dataBound(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"dataBound\", combobox_dataBound);\n</script>"],["header",{"level":3},"open"],["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_open(e) {\n  // handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"open\", combobox_open);\n</script>"],["header",{"level":3},"select"],["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_select);\n</script>"],["header",{"level":3},"cascade"],["para","Fired when the value of the widget is changed via API or user interaction."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ComboBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cascade\" event during initialization"],["code_block","<input id=\"combobox\" />\n<script>\n$(\"#combobox\").kendoComboBox({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"cascade\" event after initialization"],["code_block","<input id=\"combobox\" />\n<script>\nfunction combobox_cascade(e) {\n    // Handle the event\n}\n$(\"#combobox\").kendoComboBox();\nvar combobox = $(\"#combobox\").data(\"kendoComboBox\");\ncombobox.bind(\"select\", combobox_cascade);\n</script>"]]},"kendo.ui.DatePicker":{"file":"api/web/datepicker.md","name":"kendo.ui.DatePicker","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the calendar popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the calendar popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the calendar popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the calendar popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the calendar popup is opened."]],"doc":[["para","The animation played when the calendar popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation played when the calendar popup is closed."]],"doc":[["para","The animation played when the calendar popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"ARIATemplate","type":["String"],"default":"\"Current focused date is #=kendo.toString(data.current, 'D')#\"","short_doc":[["para"," Specifies a template used to populate value of the aria-label attribute."]],"doc":[["para"," Specifies a template used to populate value of the aria-label attribute."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    ARIATemplate: \"Date: #=kendo.toString(data.current, 'G')#\"\n});\n</script>"]]},{"name":"culture","type":["String"],"default":"\"en-US\"","short_doc":[["para"," Specifies the culture info used by the widget."]],"doc":[["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    culture: \"de-DE\"\n});\n</script>"]]},{"name":"dates","type":["Array"],"short_doc":[["para"," Specifies a list of dates, which will be passed to the month template."]],"doc":[["para"," Specifies a list of dates, which will be passed to the month template."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<input id=\"datepicker\" />\n<script>\n    $(\"#datepicker\").kendoDatePicker({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 30)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"]]},{"name":"depth","type":["String"],"short_doc":[["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"]],"doc":[["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar popup"],["code_block","<div id=\"datepicker\"></div>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    depth: \"year\"\n});\n</script>"]]},{"name":"footer","type":["String","Function"],"short_doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."]],"doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<input id=\"datepicker\" />\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    footer: kendo.template($(\"#footer-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    footer: \"Today - #: kendo.toString(data, 'd') #\"\n});\n</script>"]]},{"name":"format","type":["String"],"default":"\"MM/dd/yyyy\"","short_doc":[["para"," Specifies the format, which is used to format the value of the DatePicker displayed in the input. The format also will be used to parse the input."]],"doc":[["para"," Specifies the format, which is used to format the value of the DatePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    format: \"yyyy/MM/dd\"\n});\n</script>"]]},{"name":"max","type":["Date"],"default":"Date(2099, 11, 31)","short_doc":[["para"," Specifies the maximum date, which the calendar can show."]],"doc":[["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    max: new Date(2013, 0, 1) // sets max date to Jan 1st, 2013\n});\n</script>"]]},{"name":"min","type":["Date"],"default":"Date(1900, 0, 1)","short_doc":[["para"," Specifies the minimum date that the calendar can show."]],"doc":[["para"," Specifies the minimum date that the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    min: new Date(2011, 0, 1) // sets max date to Jan 1st, 2011\n});\n</script>"]]},{"name":"month","type":["Object"],"short_doc":[["para"," Templates for the cells rendered in the calendar \"month\" view."]],"doc":[["para"," Templates for the cells rendered in the calendar \"month\" view."]],"sub":[{"name":"empty","type":["String"],"short_doc":[["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range."]],"doc":[["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    month: {\n       empty: '-'\n    }\n});\n</script>"]],"orig":"month.empty"},{"name":"content","type":["String"],"short_doc":[["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range."]],"doc":[["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<input id=\"datepicker\" />\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    month: {\n       content: $(\"#cell-template\").html()\n    }\n});\n</script>"]],"orig":"month.content"}]},{"name":"parseFormats","type":["Array"],"short_doc":[["para"," Specifies a lis of date formats used to parse the value set with ",["inlinecode","value()"]," method or by direct user input. If not set the value of the format will be used.\n Note that format option is always used parsing process."]],"doc":[["para"," Specifies a lis of date formats used to parse the value set with ",["inlinecode","value()"]," method or by direct user input. If not set the value of the format will be used.\n Note that format option is always used parsing process."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    format: \"yyyy/MM/dd\",\n    parseFormats: [\"MMMM yyyy\"] //format also will be added to parseFormats\n});\n</script>"]]},{"name":"start","type":["String"],"default":"\"month\"","short_doc":[["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"]],"doc":[["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<input id=\"datepicker\" />\n<script>\n    $(\"#datepicker\").kendoDatePicker({\n        start: \"year\"\n    });\n</script>"]]},{"name":"value","type":["Date"],"default":"null","short_doc":[["para"," Specifies the selected date."]],"doc":[["para"," Specifies the selected date."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2011, 0, 1)\n});\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the calendar."]],"doc":[["para","Closes the calendar."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#close\").click(function() {\n    datepicker.close();\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#close\").click(function() {\n    datepicker.close();\n});\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","DatePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DatePicker element from DOM."]]],"doc":[["para","Prepares the ",["strong","DatePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DatePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n// detach events\ndatepicker.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n// detach events\ndatepicker.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","The argument, which defines whether to enable/disable the DatePicker."]],"doc":[["para","The argument, which defines whether to enable/disable the DatePicker."]]}],"short_doc":[["para","Enable/Disable the DatePicker widget."]],"doc":[["para","Enable/Disable the DatePicker widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the DatePicker."],["header",{"level":4},"Example - disable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - disable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(false);\n</script>"]],[["header",{"level":4},"Example - enable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(true);\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","The argument, which defines whether the datepicker should be readonly or editable."]],"doc":[["para","The argument, which defines whether the datepicker should be readonly or editable."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datepicker should be readonly or editable."],["header",{"level":4},"Example - make DatePicker widget readonly"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly();\n</script>"],["header",{"level":4},"Example - make DatePicker widget editable"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - make DatePicker widget readonly"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly();\n</script>"]],[["header",{"level":4},"Example - make DatePicker widget editable"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly(false);\n</script>"]]]},{"name":"max","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The max date to set."]],"doc":[["para","The max date to set."]]}],"short_doc":[["para","Gets/Sets the max value of the DatePicker."]],"doc":[["para","Gets/Sets the max value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The max date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The max value of the DatePicker."],["header",{"level":4},"Example - get the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar max = datepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.max(new Date(2100, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar max = datepicker.max();\n\nconsole.log(max);\n</script>"]],[["header",{"level":4},"Example - set the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.max(new Date(2100, 0, 1));\n</script>"]]]},{"name":"min","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The min date to set."]],"doc":[["para","The min date to set."]]}],"short_doc":[["para","Gets/Sets the min value of the DatePicker."]],"doc":[["para","Gets/Sets the min value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The min date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The min value of the DatePicker."],["header",{"level":4},"Example - get the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar min = datepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.min(new Date(2000, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar min = datepicker.min();\n\nconsole.log(min);\n</script>"]],[["header",{"level":4},"Example - set the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.min(new Date(2000, 0, 1));\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the calendar."]],"doc":[["para","Opens the calendar."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#open\").click(function() {\n    datepicker.open();\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#open\").click(function() {\n    datepicker.open();\n});\n</script>"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The new configuration options."]],"doc":[["para","The new configuration options."]]}],"short_doc":[["para","Changes the initial DatePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]]],"doc":[["para","Changes the initial DatePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets/Sets the value of the DatePicker."]],"doc":[["para","Gets/Sets the value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The value of the DatePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar value = datepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.value(new Date());\n</script>"]],"examples":[[["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar value = datepicker.value();\nconsole.log(value);\n</script>"]],[["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.value(new Date());\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.DatePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the selected date is changed"]],"doc":[["para","Fires when the selected date is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datepicker\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datepicker\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datepicker\n});\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.DatePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the calendar is closed"]],"doc":[["para","Fires when the calendar is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.DatePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the calendar is opened"]],"doc":[["para","Fires when the calendar is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]]],"type":["Function"]}],"fields":[{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar options = datepicker.options;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI DatePicker widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI DatePicker widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the calendar popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the calendar popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation played when the calendar popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the calendar popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"ARIATemplate ",["inlinecode","String"],["em","(default: \"Current focused date is #=kendo.toString(data.current, 'D')#\")"]],["para"," Specifies a template used to populate value of the aria-label attribute."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    ARIATemplate: \"Date: #=kendo.toString(data.current, 'G')#\"\n});\n</script>"],["header",{"level":3},"culture ",["inlinecode","String"],["em","(default: \"en-US\")"]],["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    culture: \"de-DE\"\n});\n</script>"],["header",{"level":3},"dates ",["inlinecode","Array"]],["para"," Specifies a list of dates, which will be passed to the month template."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<input id=\"datepicker\" />\n<script>\n    $(\"#datepicker\").kendoDatePicker({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 30)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"],["header",{"level":3},"depth ",["inlinecode","String"]],["para","Specifies the navigation depth. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar popup"],["code_block","<div id=\"datepicker\"></div>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    depth: \"year\"\n});\n</script>"],["header",{"level":3},"footer ",["inlinecode","String|Function"]],["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<input id=\"datepicker\" />\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    footer: kendo.template($(\"#footer-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    footer: \"Today - #: kendo.toString(data, 'd') #\"\n});\n</script>"],["header",{"level":3},"format ",["inlinecode","String"],["em","(default: \"MM/dd/yyyy\")"]],["para"," Specifies the format, which is used to format the value of the DatePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    format: \"yyyy/MM/dd\"\n});\n</script>"],["header",{"level":3},"max ",["inlinecode","Date"],["em","(default: Date(2099, 11, 31))"]],["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    max: new Date(2013, 0, 1) // sets max date to Jan 1st, 2013\n});\n</script>"],["header",{"level":3},"min ",["inlinecode","Date"],["em","(default: Date(1900, 0, 1))"]],["para"," Specifies the minimum date that the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    min: new Date(2011, 0, 1) // sets max date to Jan 1st, 2011\n});\n</script>"],["header",{"level":3},"month ",["inlinecode","Object"]],["para"," Templates for the cells rendered in the calendar \"month\" view."],["header",{"level":3},"month.content ",["inlinecode","String"]],["para"," The template to be used for rendering the cells in \"month\" view, which are between the min/max range."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<input id=\"datepicker\" />\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    month: {\n       content: $(\"#cell-template\").html()\n    }\n});\n</script>"],["header",{"level":3},"month.empty ",["inlinecode","String"]],["para"," The template to be used for rendering the cells in the \"month\" view, which are not in the min/max range."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    month: {\n       empty: '-'\n    }\n});\n</script>"],["header",{"level":3},"parseFormats ",["inlinecode","Array"]],["para"," Specifies a lis of date formats used to parse the value set with ",["inlinecode","value()"]," method or by direct user input. If not set the value of the format will be used.\n Note that format option is always used parsing process."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    format: \"yyyy/MM/dd\",\n    parseFormats: [\"MMMM yyyy\"] //format also will be added to parseFormats\n});\n</script>"],["header",{"level":3},"start ",["inlinecode","String"],["em","(default: \"month\")"]],["para","Specifies the start view.\nThe following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<input id=\"datepicker\" />\n<script>\n    $(\"#datepicker\").kendoDatePicker({\n        start: \"year\"\n    });\n</script>"],["header",{"level":3},"value ",["inlinecode","Date"],["em","(default: null)"]],["para"," Specifies the selected date."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2011, 0, 1)\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar options = datepicker.options;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the calendar."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#close\").click(function() {\n    datepicker.close();\n});\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","DatePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DatePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n// detach events\ndatepicker.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enable/Disable the DatePicker widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the DatePicker."],["header",{"level":4},"Example - disable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable DatePicker widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.enable(true);\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datepicker should be readonly or editable."],["header",{"level":4},"Example - make DatePicker widget readonly"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly();\n</script>"],["header",{"level":4},"Example - make DatePicker widget editable"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.readonly(false);\n</script>"],["header",{"level":3},"max"],["para","Gets/Sets the max value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The max date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The max value of the DatePicker."],["header",{"level":4},"Example - get the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar max = datepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.max(new Date(2100, 0, 1));\n</script>"],["header",{"level":3},"min"],["para","Gets/Sets the min value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The min date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The min value of the DatePicker."],["header",{"level":4},"Example - get the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar min = datepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the datepicker"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.min(new Date(2000, 0, 1));\n</script>"],["header",{"level":3},"open"],["para","Opens the calendar."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\n$(\"#open\").click(function() {\n    datepicker.open();\n});\n</script>"],["header",{"level":3},"setOptions"],["para","Changes the initial DatePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"],["header",{"level":3},"value"],["para","Gets/Sets the value of the DatePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The value of the DatePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\nvar value = datepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.value(new Date());\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the selected date is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datepicker\n});\n</script>"],["header",{"level":3},"close"],["para","Fires when the calendar is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"],["header",{"level":3},"open"],["para","Fires when the calendar is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DatePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datepicker\" />\n<script>\n$(\"#datepicker\").kendoDatePicker();\n\nvar datepicker = $(\"#datepicker\").data(\"kendoDatePicker\");\n\ndatepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]]},"kendo.ui.DateTimePicker":{"file":"api/web/datetimepicker.md","name":"kendo.ui.DateTimePicker","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the popups. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the popups. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the popup is opened."]],"doc":[["para","The animation played when the popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation played when a popup is closed."]],"doc":[["para","The animation played when a popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"ARIATemplate","type":["String"],"default":"\"Current focused date is #=kendo.toString(data.current, 'G')#\"","short_doc":[["para"," Specifies a template used to populate value of the aria-label attribute."]],"doc":[["para"," Specifies a template used to populate value of the aria-label attribute."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    ARIATemplate: \"Date: #=kendo.toString(data.current, 'G')#\"\n});\n</script>"]]},{"name":"culture","type":["String"],"default":"\"en-US\"","short_doc":[["para"," Specifies the culture info used by the widget."]],"doc":[["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    culture: \"de-DE\"\n});\n</script>"]]},{"name":"dates","type":["Array"],"short_doc":[["para"," Specifies a list of dates, which will be passed to the month template of the DateView. All dates, which match the date portion of the selected date will be used to re-bind the TimeView."]],"doc":[["para"," Specifies a list of dates, which will be passed to the month template of the DateView. All dates, which match the date portion of the selected date will be used to re-bind the TimeView."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<input id=\"datetimepicker\" />\n<script>\n    $(\"#datetimepicker\").kendoDateTimePicker({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 12, 10, 30, 0)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"]]},{"name":"depth","type":["String"],"short_doc":[["para","Specifies the navigation depth of the calendar. The following\nsettings are available for the ",["strong","depth"]," value:"]],"doc":[["para","Specifies the navigation depth of the calendar. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar popup"],["code_block","<div id=\"datetimepicker\"></div>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    depth: \"year\"\n});\n</script>"]]},{"name":"footer","type":["String"],"short_doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."]],"doc":[["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<input id=\"datetimepicker\" />\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    footer: kendo.template($(\"#footer-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    footer: \"Today - #: kendo.toString(data, 'd') #\"\n});\n</script>"]]},{"name":"format","type":["String"],"default":"\"MM/dd/yyyy h:mm tt\"","short_doc":[["para"," Specifies the format, which is used to format the value of the DateTimePicker displayed in the input. The format also will be used to parse the input."]],"doc":[["para"," Specifies the format, which is used to format the value of the DateTimePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    format: \"yyyy/MM/dd hh:mm tt\"\n});\n</script>"]]},{"name":"interval","type":["Number"],"default":"30","short_doc":[["para"," Specifies the interval, between values in the popup list, in minutes."]],"doc":[["para"," Specifies the interval, between values in the popup list, in minutes."],["header",{"level":4},"Example - specify a time interval"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#dateTimePicker\").kendoDateTimePicker({\n    interval: 15\n});\n</script>"]]},{"name":"max","type":["Date"],"default":"Date(2099, 11, 31)","short_doc":[["para"," Specifies the maximum date, which the calendar can show."]],"doc":[["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    max: new Date(2013, 0, 1, 22, 0, 0)\n});\n</script>"]]},{"name":"min","type":["Date"],"default":"Date(1900, 0, 1)","short_doc":[["para"," Specifies the minimum date that the calendar can show."]],"doc":[["para"," Specifies the minimum date that the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    min: new Date(2011, 0, 1, 8, 0, 0)\n});\n</script>"]]},{"name":"month","type":["Object"],"short_doc":[["para"," Templates for the cells rendered in the calendar \"month\" view."]],"doc":[["para"," Templates for the cells rendered in the calendar \"month\" view."]],"sub":[{"name":"empty","type":["String"],"short_doc":[["para","The template used for rendering the cells in the calendar \"month\" view, which are not in the range between\nthe minimum and maximum values."]],"doc":[["para","The template used for rendering the cells in the calendar \"month\" view, which are not in the range between\nthe minimum and maximum values."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    month: {\n       empty: '-'\n    }\n});\n</script>"]],"orig":"month.empty"},{"name":"content","type":["String"],"short_doc":[["para"," Template to be used for rendering the cells in the calendar \"month\" view, which are in range."]],"doc":[["para"," Template to be used for rendering the cells in the calendar \"month\" view, which are in range."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    month: {\n       content: $(\"#cell-template\").html()\n    }\n});\n</script>"]],"orig":"month.content"}]},{"name":"parseFormats","type":["Array"],"short_doc":[["para"," Specifies the formats, which are used to parse the value set with value() method or by direct input. If not set the value of the options.format and options.timeFormat will be used. Note that value of the format option is always used."]],"doc":[["para"," Specifies the formats, which are used to parse the value set with value() method or by direct input. If not set the value of the options.format and options.timeFormat will be used. Note that value of the format option is always used."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    format: \"yyyy/MM/dd hh:mm tt\",\n    parseFormats: [\"MMMM yyyy\", \"HH:mm\"] //format also will be added to parseFormats\n});\n</script>"]]},{"name":"start","type":["String"],"default":"\"month\"","short_doc":[["para"," Specifies the start view of the calendar.\n The following settings are available for the ",["strong","start"]," value:"]],"doc":[["para"," Specifies the start view of the calendar.\n The following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<input id=\"datetimepicker\" />\n<script>\n    $(\"#datetimepicker\").kendoDateTimePicker({\n        start: \"year\"\n    });\n</script>"]]},{"name":"timeFormat","type":["String"],"default":"\"h:mm tt\"","short_doc":[["para"," Specifies the format, which is used to format the values in the time drop-down list."]],"doc":[["para"," Specifies the format, which is used to format the values in the time drop-down list."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    timeFormat: \"HH:mm\" //24 hours format\n});\n</script>"]]},{"name":"value","type":["Date"],"default":"null","short_doc":[["para"," Specifies the selected value."]],"doc":[["para"," Specifies the selected value."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2011, 0, 1)\n});\n</script>"]]}],"methods":[{"name":"close","args":[{"name":"view","type":["String"],"short_doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]],"doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]]}],"short_doc":[["para","Closes the calendar or the time drop-down list."]],"doc":[["para","Closes the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - close the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"date\");\n});\n</script>"],["header",{"level":4},"Example - close the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"time\");\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - close the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"date\");\n});\n</script>"]],[["header",{"level":4},"Example - close the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"time\");\n});\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","DateTimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DateTimePicker element from DOM."]]],"doc":[["para","Prepares the ",["strong","DateTimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DateTimePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n// detach events\ndatetimepicker.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n// detach events\ndatetimepicker.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a DateTimePicker."]],"doc":[["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a DateTimePicker."]]}],"short_doc":[["para","Enables or disables a DateTimePicker."]],"doc":[["para","Enables or disables a DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a DateTimePicker."],["header",{"level":4},"Example - disable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable();\n</script>"]],"examples":[[["header",{"level":4},"Example - disable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable(false);\n</script>"]],[["header",{"level":4},"Example - enable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable();\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","The argument, which defines whether the datetimepicker should be readonly or editable."]],"doc":[["para","The argument, which defines whether the datetimepicker should be readonly or editable."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datetimepicker should be readonly or editable."],["header",{"level":4},"Example - make DateTimePicker widget readonly"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly();\n</script>"],["header",{"level":4},"Example - make DateTimePicker widget editable"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - make DateTimePicker widget readonly"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly();\n</script>"]],[["header",{"level":4},"Example - make DateTimePicker widget editable"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly(false);\n</script>"]]]},{"name":"max","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string."]],"doc":[["para","The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the maximum value of the DateTimePicker."]],"doc":[["para","Gets or sets the maximum value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The maximum time value of a DateTimePicker."],["header",{"level":4},"Example - get the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar max = datetimepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.max(new Date(2100, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar max = datetimepicker.max();\n\nconsole.log(max);\n</script>"]],[["header",{"level":4},"Example - set the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.max(new Date(2100, 0, 1));\n</script>"]]]},{"name":"min","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string."]],"doc":[["para","The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the minimum value of the DateTimePicker."]],"doc":[["para","Gets or sets the minimum value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The minimum time value of a DateTimePicker."],["header",{"level":4},"Example - get the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar min = datetimepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.min(new Date(2000, 0, 1));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar min = datetimepicker.min();\n\nconsole.log(min);\n</script>"]],[["header",{"level":4},"Example - set the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.min(new Date(2000, 0, 1));\n</script>"]]]},{"name":"open","args":[{"name":"view","type":["String"],"short_doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]],"doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]]}],"short_doc":[["para","Opens the calendar or the time drop-down list."]],"doc":[["para","Opens the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - open the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"date\");\n});\n</script>"],["header",{"level":4},"Example - open the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"time\");\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - open the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"date\");\n});\n</script>"]],[["header",{"level":4},"Example - open the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"time\");\n});\n</script>"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The new configuration options."]],"doc":[["para","The new configuration options."]]}],"short_doc":[],"doc":[["header",{"level":4},"Parameters"],["para","Changes the initial DateTimePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"]]]},{"name":"toggle","args":[{"name":"view","type":["String"],"short_doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]],"doc":[["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."]]}],"short_doc":[["para","Toggles the calendar or the time drop-down list."]],"doc":[["para","Toggles the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - toggle the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"date\");\n});\n</script>"],["header",{"level":4},"Example - toggle the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"time\");\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - toggle the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"date\");\n});\n</script>"]],[["header",{"level":4},"Example - toggle the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"time\");\n});\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The time value to set for a DateTimePicker, expressed as a Date object or as a string."]],"doc":[["para","The time value to set for a DateTimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the value of the DateTimePicker."]],"doc":[["para","Gets or sets the value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The time value of a DateTimePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar value = datetimepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.value(new Date());\n</script>"]],"examples":[[["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar value = datetimepicker.value();\nconsole.log(value);\n</script>"]],[["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.value(new Date());\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.DateTimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Triggered when the underlying value of a DateTimePicker is changed."]],"doc":[["para","Triggered when the underlying value of a DateTimePicker is changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datetimepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datetimepicker\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datetimepicker\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datetimepicker\n});\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.view","type":["String"],"short_doc":[["para","The view which is closed. Possible values are \"date\" and \"time\"."]],"doc":[["para","The view which is closed. Possible values are \"date\" and \"time\"."]]},{"name":"e.sender","type":["kendo.ui.DateTimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the calendar or the time drop-down list is closed"]],"doc":[["para","Fires when the calendar or the time drop-down list is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","The view which is closed. Possible values are \"date\" and \"time\"."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    close: function(e) {\n        if (e.view === \"date\") {\n            e.preventDefault(); //prevent popup closing\n        }\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"close\", function(e) {\n    if (e.view === \"date\") {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    close: function(e) {\n        if (e.view === \"date\") {\n            e.preventDefault(); //prevent popup closing\n        }\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"close\", function(e) {\n    if (e.view === \"date\") {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.view","type":["String"],"short_doc":[["para","The view which is opened. Possible values are \"date\" and \"time\"."]],"doc":[["para","The view which is opened. Possible values are \"date\" and \"time\"."]]},{"name":"e.sender","type":["kendo.ui.DateTimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the calendar or the time drop-down list is opened"]],"doc":[["para","Fires when the calendar or the time drop-down list is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","The view which is opened. Possible values are \"date\" and \"time\"."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    open: function(e) {\n        if (e.view === \"time\") {\n            e.preventDefault(); //prevent popup opening\n        }\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"open\", function(e) {\n    if (e.view === \"time\") {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    open: function(e) {\n        if (e.view === \"time\") {\n            e.preventDefault(); //prevent popup opening\n        }\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"open\", function(e) {\n    if (e.view === \"time\") {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"]]],"type":["Function"]}],"fields":[{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"datetimepicker\");\n\nvar options = datetimepicker.options;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI DateTimePicker widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI DateTimePicker widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the popups. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation played when a popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"ARIATemplate ",["inlinecode","String"],["em","(default: \"Current focused date is #=kendo.toString(data.current, 'G')#\")"]],["para"," Specifies a template used to populate value of the aria-label attribute."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    ARIATemplate: \"Date: #=kendo.toString(data.current, 'G')#\"\n});\n</script>"],["header",{"level":3},"culture ",["inlinecode","String"],["em","(default: \"en-US\")"]],["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    culture: \"de-DE\"\n});\n</script>"],["header",{"level":3},"dates ",["inlinecode","Array"]],["para"," Specifies a list of dates, which will be passed to the month template of the DateView. All dates, which match the date portion of the selected date will be used to re-bind the TimeView."],["header",{"level":4},"Example - specify a list of dates"],["code_block","<input id=\"datetimepicker\" />\n<script>\n    $(\"#datetimepicker\").kendoDateTimePicker({\n        value: new Date(2000, 10, 1),\n        dates: [\n            new Date(2000, 10, 10, 10, 0, 0),\n            new Date(2000, 10, 12, 10, 30, 0)\n        ] //can manipulate month template depending on this array.\n    });\n</script>"],["header",{"level":3},"depth ",["inlinecode","String"]],["para","Specifies the navigation depth of the calendar. The following\nsettings are available for the ",["strong","depth"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - set navigation depth of the calendar popup"],["code_block","<div id=\"datetimepicker\"></div>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    depth: \"year\"\n});\n</script>"],["header",{"level":3},"footer ",["inlinecode","String"]],["para"," The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer of the calendar. If false, the footer will not be rendered."],["header",{"level":4},"Example - specify footer template as a function"],["code_block","<input id=\"datetimepicker\" />\n<script id=\"footer-template\" type=\"text/x-kendo-template\">\n    Today - #: kendo.toString(data, \"d\") #\n</script>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    footer: kendo.template($(\"#footer-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify footer template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    footer: \"Today - #: kendo.toString(data, 'd') #\"\n});\n</script>"],["header",{"level":3},"format ",["inlinecode","String"],["em","(default: \"MM/dd/yyyy h:mm tt\")"]],["para"," Specifies the format, which is used to format the value of the DateTimePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom date format"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    format: \"yyyy/MM/dd hh:mm tt\"\n});\n</script>"],["header",{"level":3},"interval ",["inlinecode","Number"],["em","(default: 30)"]],["para"," Specifies the interval, between values in the popup list, in minutes."],["header",{"level":4},"Example - specify a time interval"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#dateTimePicker\").kendoDateTimePicker({\n    interval: 15\n});\n</script>"],["header",{"level":3},"max ",["inlinecode","Date"],["em","(default: Date(2099, 11, 31))"]],["para"," Specifies the maximum date, which the calendar can show."],["header",{"level":4},"Example - specify the maximum date"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    max: new Date(2013, 0, 1, 22, 0, 0)\n});\n</script>"],["header",{"level":3},"min ",["inlinecode","Date"],["em","(default: Date(1900, 0, 1))"]],["para"," Specifies the minimum date that the calendar can show."],["header",{"level":4},"Example - specify the minimum date"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    min: new Date(2011, 0, 1, 8, 0, 0)\n});\n</script>"],["header",{"level":3},"month ",["inlinecode","Object"]],["para"," Templates for the cells rendered in the calendar \"month\" view."],["header",{"level":3},"month.content ",["inlinecode","String"]],["para"," Template to be used for rendering the cells in the calendar \"month\" view, which are in range."],["header",{"level":4},"Example - specify cell template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script id=\"cell-template\" type=\"text/x-kendo-template\">\n    <div class=\"#= data.value < 10 ? 'exhibition' : 'party' #\"></div>\n    #= data.value #\n</script>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    month: {\n       content: $(\"#cell-template\").html()\n    }\n});\n</script>"],["header",{"level":3},"month.empty ",["inlinecode","String"]],["para","The template used for rendering the cells in the calendar \"month\" view, which are not in the range between\nthe minimum and maximum values."],["header",{"level":4},"Example - specify an empty cell template as a string"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    month: {\n       empty: '-'\n    }\n});\n</script>"],["header",{"level":3},"parseFormats ",["inlinecode","Array"]],["para"," Specifies the formats, which are used to parse the value set with value() method or by direct input. If not set the value of the options.format and options.timeFormat will be used. Note that value of the format option is always used."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    format: \"yyyy/MM/dd hh:mm tt\",\n    parseFormats: [\"MMMM yyyy\", \"HH:mm\"] //format also will be added to parseFormats\n});\n</script>"],["header",{"level":3},"start ",["inlinecode","String"],["em","(default: \"month\")"]],["para"," Specifies the start view of the calendar.\n The following settings are available for the ",["strong","start"]," value:"],["header",{"level":4},["em","\"month\""]],["para","shows the days of the month"],["header",{"level":4},["em","\"year\""]],["para","shows the months of the year"],["header",{"level":4},["em","\"decade\""]],["para","shows the years of the decade"],["header",{"level":4},["em","\"century\""]],["para","shows the decades from the century"],["header",{"level":4},"Example - specify the initial view, which calendar renders"],["code_block","<input id=\"datetimepicker\" />\n<script>\n    $(\"#datetimepicker\").kendoDateTimePicker({\n        start: \"year\"\n    });\n</script>"],["header",{"level":3},"timeFormat ",["inlinecode","String"],["em","(default: \"h:mm tt\")"]],["para"," Specifies the format, which is used to format the values in the time drop-down list."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    timeFormat: \"HH:mm\" //24 hours format\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","Date"],["em","(default: null)"]],["para"," Specifies the selected value."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2011, 0, 1)\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"datetimepicker\");\n\nvar options = datetimepicker.options;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - close the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"date\");\n});\n</script>"],["header",{"level":4},"Example - close the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#close\").click(function() {\n    datetimepicker.close(\"time\");\n});\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","DateTimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DateTimePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n// detach events\ndatetimepicker.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables a DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a DateTimePicker."],["header",{"level":4},"Example - disable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable DateTimePicker widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.enable();\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datetimepicker should be readonly or editable."],["header",{"level":4},"Example - make DateTimePicker widget readonly"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly();\n</script>"],["header",{"level":4},"Example - make DateTimePicker widget editable"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.readonly(false);\n</script>"],["header",{"level":3},"max"],["para","Gets or sets the maximum value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The maximum time value of a DateTimePicker."],["header",{"level":4},"Example - get the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar max = datetimepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.max(new Date(2100, 0, 1));\n</script>"],["header",{"level":3},"min"],["para","Gets or sets the minimum value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The minimum time value of a DateTimePicker."],["header",{"level":4},"Example - get the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar min = datetimepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the datetimepicker"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.min(new Date(2000, 0, 1));\n</script>"],["header",{"level":3},"open"],["para","Opens the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - open the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"date\");\n});\n</script>"],["header",{"level":4},"Example - open the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#open\").click(function() {\n    datetimepicker.open(\"time\");\n});\n</script>"],["header",{"level":3},"setOptions"],["header",{"level":4},"Parameters"],["para","Changes the initial DateTimePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    min: new Date(2001, 0, 1),\n    max: new Date()\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.setOptions({\n    min: new Date(2010, 5, 6)\n});\n</script>"],["header",{"level":3},"toggle"],["para","Toggles the calendar or the time drop-down list."],["header",{"level":4},"Parameters"],["header",{"level":5},"view ",["inlinecode","String"]],["para","The view of the DateTimePicker, expressed as a string.\nAvailable views are \"time\" and \"date\"."],["header",{"level":4},"Example - toggle the calendar popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"date\");\n});\n</script>"],["header",{"level":4},"Example - toggle the time popup"],["code_block","<input id=\"datetimepicker\" />\n<button id=\"toggle\">Toggle</button>\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\n$(\"#toggle\").click(function() {\n    datetimepicker.toggle(\"time\");\n});\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the DateTimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The time value to set for a DateTimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The time value of a DateTimePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\nvar value = datetimepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    value: new Date(2013, 10, 10)\n});\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.value(new Date());\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Triggered when the underlying value of a DateTimePicker is changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the datetimepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the datetimepicker\n});\n</script>"],["header",{"level":3},"close"],["para","Fires when the calendar or the time drop-down list is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","The view which is closed. Possible values are \"date\" and \"time\"."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    close: function(e) {\n        if (e.view === \"date\") {\n            e.preventDefault(); //prevent popup closing\n        }\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"close\", function(e) {\n    if (e.view === \"date\") {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"],["header",{"level":3},"open"],["para","Fires when the calendar or the time drop-down list is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","The view which is opened. Possible values are \"date\" and \"time\"."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DateTimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker({\n    open: function(e) {\n        if (e.view === \"time\") {\n            e.preventDefault(); //prevent popup opening\n        }\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"datetimepicker\" />\n<script>\n$(\"#datetimepicker\").kendoDateTimePicker();\n\nvar datetimepicker = $(\"#datetimepicker\").data(\"kendoDateTimePicker\");\n\ndatetimepicker.bind(\"open\", function(e) {\n    if (e.view === \"time\") {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"]]},"kendo.ui.DropDownList":{"file":"api/web/dropdownlist.md","name":"kendo.ui.DropDownList","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the suggestion popup is opened."]],"doc":[["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[],"doc":[["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"100","short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether to bind the widget to the data source on initialization."]],"doc":[["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    autoBind: false\n});\n</script>"]]},{"name":"cascadeFrom","type":["String"],"short_doc":[["para","Use it to set the Id of the parent dropdownlist widget.\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]]],"doc":[["para","Use it to set the Id of the parent dropdownlist widget.\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoDropDownList({\n    dataTextField: \"parentName\",\n    dataValueField: \"parentId\",\n    dataSource: [\n        { parentName: \"Parent1\", parentId: 1 },\n        { parentName: \"Parent2\", parentId: 2 }\n    ]\n});\n\n$(\"#child\").kendoDropDownList({\n    cascadeFrom: \"parent\",\n    dataTextField: \"childName\",\n    dataValueField: \"childId\",\n    dataSource: [\n        { childName: \"Child1\", childId: 1, parentId: 1 },\n        { childName: \"Child2\", childId: 2, parentId: 2 },\n        { childName: \"Child3\", childId: 3, parentId: 1 },\n        { childName: \"Child4\", childId: 4, parentId: 2 }\n    ]\n});\n</script>"]]},{"name":"cascadeFromField","type":["String"],"short_doc":[["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/dropdownlist#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]]],"doc":[["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/dropdownlist#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoDropDownList({\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Parent1\", id: 1 },\n        { name: \"Parent2\", id: 2 }\n    ]\n});\n\n$(\"#child\").kendoDropDownList({\n    cascadeFrom: \"parent\",\n    cascadeFromField: \"parentId\",\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Child1\", id: 1, parentId: 1 },\n        { name: \"Child2\", id: 2, parentId: 2 },\n        { name: \"Child3\", id: 3, parentId: 1 },\n        { name: \"Child4\", id: 4, parentId: 2 }\n    ]\n});\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"]]},{"name":"dataTextField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"dataValueField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"delay","type":["Number"],"default":"500","short_doc":[["para"," Specifies the delay in milliseconds before the search-text typed by the end user is cleared."]],"doc":[["para"," Specifies the delay in milliseconds before the search-text typed by the end user is cleared."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    delay: 1000 // wait 1 second before clearing the user input\n});\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  enable: false\n});\n</script>"]]},{"name":"height","type":["Number"],"default":"200","short_doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."]],"doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  height: 500\n});\n</script>"]]},{"name":"ignoreCase","type":["String"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."]],"doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  ignoreCase: false\n});\n</script>"]]},{"name":"index","type":["Number"],"default":"0","short_doc":[["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."]],"doc":[["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."],["header",{"level":4},"Example - select second item"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar items = [{ text: \"Item 1\", value: \"1\" }, { text: \"Item 2\", value: \"2\" }];\n$(\"#dropdownlist\").kendoDropDownList({\n    dataTextField: \"text\",\n    dataValueField: \"value\",\n    dataSource: items,\n    index: 1\n});\n</script>"]]},{"name":"optionLabel","type":["String","Object"],"default":"\"\"","short_doc":[["para"," Define the text of the default empty item. If the value is an object, then the widget will use it a valid data item.\n Note that the optionLabel will not be available if the widget is empty."],["blockquote",["para",["strong","Important:"]," If optionLabel is an object, it needs to have atleast dataValueField and dataTextField properties. Otherwise, widget will show ",["inlinecode","undefined"],"."],["para",["strong","Important:"]," Widget's value will be equal to the optionLabel if the dataValueField and dataTextField options are equal or not defined"]]],"doc":[["para"," Define the text of the default empty item. If the value is an object, then the widget will use it a valid data item.\n Note that the optionLabel will not be available if the widget is empty."],["blockquote",["para",["strong","Important:"]," If optionLabel is an object, it needs to have atleast dataValueField and dataTextField properties. Otherwise, widget will show ",["inlinecode","undefined"],"."],["para",["strong","Important:"]," Widget's value will be equal to the optionLabel if the dataValueField and dataTextField options are equal or not defined"]],["header",{"level":4},"Example - specify optionLabel as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [\"Apples\", \"Oranges\"],\n    optionLabel: \"Select a fruit...\"\n});\n</script>"],["header",{"level":4},"Example - specify optionLabel as an object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [\n        { productName: \"Product 1\", productId: 1 },\n        { productName: \"Product 2\", productId: 2 }\n    ],\n    dataTextField: \"productName\",\n    dataValueField: \"productId\",\n    optionLabel: {\n        productName: \"Select a product...\",\n        productId: \"\"\n    }\n});\n</script>"]]},{"name":"headerTemplate","type":["String","Function"],"short_doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]]],"doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"]]},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"dropdownlist\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"]]},{"name":"valueTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"valueTemplate"]," used to render the selected value. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"valueTemplate"]," used to render the selected value. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify valueTemplate as a function"],["code_block","<input id=\"dropdownlist\" />\n<script id=\"valueTemplate\" type=\"text/x-kendo-template\">\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n</script>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  valueTemplate: kendo.template($(\"#valueTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  valueTemplate: '<img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #'\n});\n</script>"]]},{"name":"text","type":["String"],"default":"\"\"","short_doc":[["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."]],"doc":[["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."],["header",{"level":4},"Example - specify text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n     autoBind: false,\n     text: \"Chai\"\n});\n</script>"]]},{"name":"value","type":["String"],"default":"\"\"","short_doc":[["para","The value of the widget."]],"doc":[["para","The value of the widget."],["header",{"level":4},"Example - specify value of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n     dataSource: [\"Item1\", \"Item2\"],\n     value: \"Item1\"\n});\n</script>"]]},{"name":"valuePrimitive","type":["Boolean"],"default":"false","short_doc":[["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."]],"doc":[["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item value"],["code_block","<select id=\"dropdown\" data-bind=\"value: selectedProductId, source: products\" >\n</select>\n\n<script>\n$(\"#dropdown\").kendoDropDownList({\n  valuePrimitive: true,\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  optionLabel: \"Select product...\"\n});\nvar viewModel = kendo.observable({\n  selectedProductId: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#dropdown\"), viewModel);\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the widget popup."]],"doc":[["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ndropdownlist.search(\"A\");\n// Close the suggestion popup\ndropdownlist.close();\n</script>"]],"examples":[[["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ndropdownlist.search(\"A\");\n// Close the suggestion popup\ndropdownlist.close();\n</script>"]]]},{"name":"dataItem","args":[{"name":"index","type":["Number"],"short_doc":[["para","The zero-based index of the data record."]],"doc":[["para","The zero-based index of the data record."]]}],"short_doc":[["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."]],"doc":[["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of the data record."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The raw data record. Returns <i>undefined</i> if no data."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = dropdownlist.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = dropdownlist.dataItem(0);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = dropdownlist.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = dropdownlist.dataItem(0);\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","DropDownList"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DropDownList element from DOM."]]],"doc":[["para","Prepares the ",["strong","DropDownList"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DropDownList element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.destroy();\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the popup."]],"doc":[["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"dropdownlist\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  enable: false\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"dropdownlist\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  enable: false\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.enable(true);\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","The argument, which defines whether the datepicker should be readonly or editable."]],"doc":[["para","The argument, which defines whether the datepicker should be readonly or editable."]]}],"short_doc":[["para","Controls whether the widget is editable or readonly."]],"doc":[["para","Controls whether the widget is editable or readonly."],["header",{"level":4},"Example"],["code_block","// get a reference to the dropdownlist widget\nvar dropdownlist = $(\"dropdownlist\").data(\"kendoDropDownList\");\n\n// makes dropdownlist readonly\ndropdownlist.readonly();\n\n// makes dropdownlist editable\ndropdownlist.readonly(false);"],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datepicker should be readonly or editable."]],"examples":[[["header",{"level":4},"Example"],["code_block","// get a reference to the dropdownlist widget\nvar dropdownlist = $(\"dropdownlist\").data(\"kendoDropDownList\");\n\n// makes dropdownlist readonly\ndropdownlist.readonly();\n\n// makes dropdownlist editable\ndropdownlist.readonly(false);"]]]},{"name":"refresh","args":[],"short_doc":[["para","Refresh the popup by rendering all items again."]],"doc":[["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.refresh();\n</script>"]]]},{"name":"search","args":[{"name":"word","type":["String"],"short_doc":[["para","The search value."]],"doc":[["para","The search value."]]}],"short_doc":[["para","Selects an item, which starts with the provided value."]],"doc":[["para","Selects an item, which starts with the provided value."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The search value."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.search(\"Oranges\");\n</script>"]],"examples":[[["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.search(\"Oranges\");\n</script>"]]]},{"name":"select","args":[{"name":"li","type":["jQuery","Number","Function"],"short_doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."]],"doc":[["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."]]}],"short_doc":[["para","Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget."]],"doc":[["para","Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number | Function"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is ",["inlinecode","-1"],"."],["para",["inlinecode","undefined"]," If called with a parameter as a setter."],["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(dropdownlist.ul.children().eq(0));\n</script>"],["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(1);\n</script>"],["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"],["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar selectedIndex = dropdownlist.select();\n</script>"]],"examples":[[["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(dropdownlist.ul.children().eq(0));\n</script>"]],[["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(1);\n</script>"]],[["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"]],[["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar selectedIndex = dropdownlist.select();\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the dataSource of an existing DropDownList and rebinds it."]],"doc":[["para","Sets the dataSource of an existing DropDownList and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.setDataSource(dataSource);\n</script>"]]]},{"name":"text","args":[{"name":"text","type":["String"],"short_doc":[["para","The text to set."]],"doc":[["para","The text to set."]]}],"short_doc":[["para","Gets or sets the text of the dropdownlist."]],"doc":[["para","Gets or sets the text of the dropdownlist."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of the dropdownlist."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.text(\"Apples\");\n</script>"]],"examples":[[["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.text(\"Apples\");\n</script>"]]]},{"name":"toggle","args":[{"name":"toggle","type":["Boolean"],"short_doc":[["para","Defines the whether to open/close the drop-down list."]],"doc":[["para","Defines the whether to open/close the drop-down list."]]}],"short_doc":[["para","Opens or closes the widget popup."]],"doc":[["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.toggle();\n</script>"]],"examples":[[["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.toggle();\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the value of the dropdownlist. The value will not be set if there is no item with such value. If value is undefined, text of the data item is used."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]]],"doc":[["para","Gets or sets the value of the dropdownlist. The value will not be set if there is no item with such value. If value is undefined, text of the data item is used."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the dropdownlist."],["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.value(\"Oranges\");\n</script>"]],"examples":[[["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.value(\"Oranges\");\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]]],"doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"change\", dropdownlist_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"change\", dropdownlist_change);\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_close(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"close\", dropdownlist_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_close(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"close\", dropdownlist_close);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_dataBound(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"dataBound\", dropdownlist_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_dataBound(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"dataBound\", dropdownlist_dataBound);\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_open(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"open\", dropdownlist_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_open(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"open\", dropdownlist_open);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the selected item."]],"doc":[["para","The jQuery object which represents the selected item."]]},{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when an item from the popup is selected by the user."]],"doc":[["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_select);\n</script>"]]],"type":["Function"]},{"name":"cascade","args":[{"name":"e.sender","type":["kendo.ui.DropDownList"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed via API or user interactionTriggered."]],"doc":[["para","Fired when the value of the widget is changed via API or user interactionTriggered."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_cascade(e) {\n    // Handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_cascade);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_cascade(e) {\n    // Handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_cascade);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.dataSource.add({ name: \"Appricot\" });\ndropdownlist.search(\"A\");\n</script>"]]},{"name":"span","type":["jQuery"],"short_doc":[["para","A jQuery object of the span element which holds the selected text."]],"doc":[["para","A jQuery object of the span element which holds the selected text."],["header",{"level":4},"Example - modify span element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar span = dropdownlist.span;\n\nspan.css(\"background-color\", \"red\");\n<script>"]]},{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar options = dropdownlist.options;\n<script>"]]},{"name":"list","type":["jQuery"],"short_doc":[["para","A jQuery object of the drop-down list element."]],"doc":[["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar list = dropdownlist.list;\n<script>"]]},{"name":"ul","type":["jQuery"],"short_doc":[["para","A jQuery object of the ul element, which holds the available options."]],"doc":[["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar ul = dropdownlist.ul;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI DropDownList widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI DropDownList widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    autoBind: false\n});\n</script>"],["header",{"level":3},"cascadeFrom ",["inlinecode","String"]],["para","Use it to set the Id of the parent dropdownlist widget.\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoDropDownList({\n    dataTextField: \"parentName\",\n    dataValueField: \"parentId\",\n    dataSource: [\n        { parentName: \"Parent1\", parentId: 1 },\n        { parentName: \"Parent2\", parentId: 2 }\n    ]\n});\n\n$(\"#child\").kendoDropDownList({\n    cascadeFrom: \"parent\",\n    dataTextField: \"childName\",\n    dataValueField: \"childId\",\n    dataSource: [\n        { childName: \"Child1\", childId: 1, parentId: 1 },\n        { childName: \"Child2\", childId: 2, parentId: 2 },\n        { childName: \"Child3\", childId: 3, parentId: 1 },\n        { childName: \"Child4\", childId: 4, parentId: 2 }\n    ]\n});\n</script>"],["header",{"level":3},"cascadeFromField ",["inlinecode","String"]],["para","Defines the field to be used to filter the data source. If not defined the ",["link",{"href":"/api/web/dropdownlist#configuration-dataValueField"},"parent's dataValueField option will be used"],".\n",["link",{"href":"/getting-started/web/dropdownlist/cascading"},"Help topic showing how cascading functionality works"]],["header",{"level":4},"Example"],["code_block","<input id=\"parent\" />\n<input id=\"child\" />\n<script>\n$(\"#parent\").kendoDropDownList({\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Parent1\", id: 1 },\n        { name: \"Parent2\", id: 2 }\n    ]\n});\n\n$(\"#child\").kendoDropDownList({\n    cascadeFrom: \"parent\",\n    cascadeFromField: \"parentId\",\n    dataTextField: \"name\",\n    dataValueField: \"id\",\n    dataSource: [\n        { name: \"Child1\", id: 1, parentId: 1 },\n        { name: \"Child2\", id: 2, parentId: 2 },\n        { name: \"Child3\", id: 3, parentId: 1 },\n        { name: \"Child4\", id: 4, parentId: 2 }\n    ]\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"dataValueField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"delay ",["inlinecode","Number"],["em","(default: 500)"]],["para"," Specifies the delay in milliseconds before the search-text typed by the end user is cleared."],["header",{"level":4},"Example - set the delay"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    delay: 1000 // wait 1 second before clearing the user input\n});\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  enable: false\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number"],["em","(default: 200)"]],["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  height: 500\n});\n</script>"],["header",{"level":3},"ignoreCase ",["inlinecode","String"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  ignoreCase: false\n});\n</script>"],["header",{"level":3},"index ",["inlinecode","Number"],["em","(default: 0)"]],["para","The index of the initially selected item. The index is ",["inlinecode","0"]," based."],["header",{"level":4},"Example - select second item"],["code_block","<input id=\"dropdownlist\" />\n<script>\nvar items = [{ text: \"Item 1\", value: \"1\" }, { text: \"Item 2\", value: \"2\" }];\n$(\"#dropdownlist\").kendoDropDownList({\n    dataTextField: \"text\",\n    dataValueField: \"value\",\n    dataSource: items,\n    index: 1\n});\n</script>"],["header",{"level":3},"optionLabel ",["inlinecode","String | Object"],["em","(default: \"\")"]],["para"," Define the text of the default empty item. If the value is an object, then the widget will use it a valid data item.\n Note that the optionLabel will not be available if the widget is empty."],["blockquote",["para",["strong","Important:"]," If optionLabel is an object, it needs to have atleast dataValueField and dataTextField properties. Otherwise, widget will show ",["inlinecode","undefined"],"."],["para",["strong","Important:"]," Widget's value will be equal to the optionLabel if the dataValueField and dataTextField options are equal or not defined"]],["header",{"level":4},"Example - specify optionLabel as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [\"Apples\", \"Oranges\"],\n    optionLabel: \"Select a fruit...\"\n});\n</script>"],["header",{"level":4},"Example - specify optionLabel as an object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n    dataSource: [\n        { productName: \"Product 1\", productId: 1 },\n        { productName: \"Product 2\", productId: 2 }\n    ],\n    dataTextField: \"productName\",\n    dataValueField: \"productId\",\n    optionLabel: {\n        productName: \"Select a product...\",\n        productId: \"\"\n    }\n});\n</script>"],["header",{"level":3},"headerTemplate ",["inlinecode","String|Function"]],["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify template as a function"],["code_block","<input id=\"dropdownlist\" />\n<script id=\"template\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  template: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"],["header",{"level":3},"valueTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"valueTemplate"]," used to render the selected value. By default the widget displays only the text of the data item (configured via ",["inlinecode","dataTextField"],")."],["header",{"level":4},"Example - specify valueTemplate as a function"],["code_block","<input id=\"dropdownlist\" />\n<script id=\"valueTemplate\" type=\"text/x-kendo-template\">\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n</script>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  valueTemplate: kendo.template($(\"#valueTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  valueTemplate: '<img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #'\n});\n</script>"],["header",{"level":3},"text ",["inlinecode","String"],["em","(default: \"\")"]],["para","The text of the widget used when the ",["inlinecode","autoBind"]," is set to ",["inlinecode","false"],"."],["header",{"level":4},"Example - specify text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n     autoBind: false,\n     text: \"Chai\"\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String"],["em","(default: \"\")"]],["para","The value of the widget."],["header",{"level":4},"Example - specify value of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n     dataSource: [\"Item1\", \"Item2\"],\n     value: \"Item1\"\n});\n</script>"],["header",{"level":3},"valuePrimitive ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Spcifies the ",["link",{"href":"/getting-started/framework/mvvm/bindings/value"},"value binding"]," behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item."],["header",{"level":4},"Example - specify that the View-Model field should be updated with the selected item value"],["code_block","<select id=\"dropdown\" data-bind=\"value: selectedProductId, source: products\" >\n</select>\n\n<script>\n$(\"#dropdown\").kendoDropDownList({\n  valuePrimitive: true,\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  optionLabel: \"Select product...\"\n});\nvar viewModel = kendo.observable({\n  selectedProductId: null,\n  products: [\n    { id: 1, name: \"Coffee\" },\n    { id: 2, name: \"Tea\" },\n    { id: 3, name: \"Juice\" }\n  ]\n});\n\nkendo.bind($(\"#dropdown\"), viewModel);\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.dataSource.add({ name: \"Appricot\" });\ndropdownlist.search(\"A\");\n</script>"],["header",{"level":3},"span ",["inlinecode","jQuery"]],["para","A jQuery object of the span element which holds the selected text."],["header",{"level":4},"Example - modify span element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar span = dropdownlist.span;\n\nspan.css(\"background-color\", \"red\");\n<script>"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar options = dropdownlist.options;\n<script>"],["header",{"level":3},"list ",["inlinecode","jQuery"]],["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar list = dropdownlist.list;\n<script>"],["header",{"level":3},"ul ",["inlinecode","jQuery"]],["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar ul = dropdownlist.ul;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\ndropdownlist.search(\"A\");\n// Close the suggestion popup\ndropdownlist.close();\n</script>"],["header",{"level":3},"dataItem"],["para","Returns the data item at the specified index. If the index is not specified, the selected index will be used."],["header",{"level":4},"Parameters"],["header",{"level":5},"index ",["inlinecode","Number"]," ",["em","(optional)"]],["para","The zero-based index of the data record."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The raw data record. Returns <i>undefined</i> if no data."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\n// get the dataItem corresponding to the selectedIndex.\nvar dataItem = dropdownlist.dataItem();\n\n// get the dataItem corresponding to the passed index.\nvar dataItem = dropdownlist.dataItem(0);\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","DropDownList"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the DropDownList element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.destroy();\n</script>"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"],["header",{"level":3},"open"],["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.focus();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"dropdownlist\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  enable: false\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.enable(true);\n</script>"],["header",{"level":3},"readonly"],["para","Controls whether the widget is editable or readonly."],["header",{"level":4},"Example"],["code_block","// get a reference to the dropdownlist widget\nvar dropdownlist = $(\"dropdownlist\").data(\"kendoDropDownList\");\n\n// makes dropdownlist readonly\ndropdownlist.readonly();\n\n// makes dropdownlist editable\ndropdownlist.readonly(false);"],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the datepicker should be readonly or editable."],["header",{"level":3},"refresh"],["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.refresh();\n</script>"],["header",{"level":3},"search"],["para","Selects an item, which starts with the provided value."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The search value."],["header",{"level":4},"Example - search the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.search(\"Oranges\");\n</script>"],["header",{"level":3},"select"],["para","Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"li ",["inlinecode","jQuery | Number | Function"]],["para","A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector.\nA number representing the index of the item or function predicate which returns the correct data item."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is ",["inlinecode","-1"],"."],["para",["inlinecode","undefined"]," If called with a parameter as a setter."],["header",{"level":4},"Example - select item based on jQuery object"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(dropdownlist.ul.children().eq(0));\n</script>"],["header",{"level":4},"Example - select item based on index"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(1);\n</script>"],["header",{"level":4},"Example - select item based on function predicate"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\"\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.select(function(dataItem) {\n    return dataItem.text === \"Apples\";\n});\n</script>"],["header",{"level":4},"Example - get selected index of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  index: 1\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\nvar selectedIndex = dropdownlist.select();\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the dataSource of an existing DropDownList and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.setDataSource(dataSource);\n</script>"],["header",{"level":3},"text"],["para","Gets or sets the text of the dropdownlist."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of the dropdownlist."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.text(\"Apples\");\n</script>"],["header",{"level":3},"toggle"],["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.toggle();\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the dropdownlist. The value will not be set if there is no item with such value. If value is undefined, text of the data item is used."],["blockquote",["para",["strong","Important:"]," If the widget is not bound, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the dropdownlist."],["header",{"level":4},"Example - set value of the widget"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\n\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\n\ndropdownlist.value(\"Oranges\");\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"change\", dropdownlist_change);\n</script>"],["header",{"level":3},"close"],["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_close(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"close\", dropdownlist_close);\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_dataBound(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"dataBound\", dropdownlist_dataBound);\n</script>"],["header",{"level":3},"open"],["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_open(e) {\n  // handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"open\", dropdownlist_open);\n</script>"],["header",{"level":3},"select"],["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_select);\n</script>"],["header",{"level":3},"cascade"],["para","Fired when the value of the widget is changed via API or user interactionTriggered."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.DropDownList"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\n$(\"#dropdownlist\").kendoDropDownList({\n  cascade: function() {\n    // Handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<input id=\"dropdownlist\" />\n<script>\nfunction dropdownlist_cascade(e) {\n    // Handle the event\n}\n$(\"#dropdownlist\").kendoDropDownList();\nvar dropdownlist = $(\"#dropdownlist\").data(\"kendoDropDownList\");\ndropdownlist.bind(\"select\", dropdownlist_cascade);\n</script>"]]},"kendo.ui.Editor":{"file":"api/web/editor.md","name":"kendo.ui.Editor","config":[{"name":"encoded","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the Editor should submit encoded HTML tags. By default, the submitted value is encoded."]],"doc":[["para","Indicates whether the Editor should submit encoded HTML tags. By default, the submitted value is encoded."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  value: \"<p>foo</p>\",\n  encoded: false\n});\nconsole.log($(\"#editor\").val()); // logs \"<p>foo</p>\"\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","Defines the text of the labels that are shown within the editor. Used primarily for localization."]],"doc":[["para","Defines the text of the labels that are shown within the editor. Used primarily for localization."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  messages: {\n    bold: \"Bold\",\n    italic: \"Italic\",\n    underline: \"Underline\",\n    strikethrough: \"Strikethrough\",\n    superscript: \"Superscript\",\n    subscript: \"Subscript\",\n    justifyCenter: \"Center text\",\n    justifyLeft: \"Align text left\",\n    justifyRight: \"Align text right\",\n    justifyFull: \"Justify\",\n    insertUnorderedList: \"Insert unordered list\",\n    insertOrderedList: \"Insert ordered list\",\n    indent: \"Indent\",\n    outdent: \"Outdent\",\n    createLink: \"Insert hyperlink\",\n    unlink: \"Remove hyperlink\",\n    insertImage: \"Insert image\",\n    insertHtml: \"Insert HTML\",\n    fontName: \"Select font family\",\n    fontNameInherit: \"(inherited font)\",\n    fontSize: \"Select font size\",\n    fontSizeInherit: \"(inherited size)\",\n    formatBlock: \"Format\",\n    formatting: \"Format\",\n    style: \"Styles\",\n    emptyFolder: \"Empty Folder\",\n    uploadFile: \"Upload\",\n    orderBy: \"Arrange by:\",\n    orderBySize: \"Size\",\n    orderByName: \"Name\",\n    invalidFileType: \"The selected file \\\"{0}\\\" is not valid. Supported file types are {1}.\",\n    deleteFile: \"Are you sure you want to delete \\\"{0}\\\"?\",\n    overwriteFile: \"A file with name \\\"{0}\\\" already exists in the current directory. Do you want to overwrite it?\",\n    directoryNotFound: \"A directory with this name was not found.\",\n    imageWebAddress: \"Web address\",\n    imageAltText: \"Alternate text\",\n    linkWebAddress: \"Web address\",\n    linkText: \"Text\",\n    linkToolTip: \"ToolTip\",\n    linkOpenInNewWindow: \"Open link in new window\",\n    dialogInsert: \"Insert\",\n    dialogUpdate: \"Update\",\n    dialogButtonSeparator: \"or\",\n    dialogCancel: \"Cancel\"\n  }\n});\n</script>"]]},{"name":"stylesheets","type":["Array"],"short_doc":[["para","Allows custom stylesheets to be included within the editing area."]],"doc":[["para","Allows custom stylesheets to be included within the editing area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  stylesheets: [\n    \"base.css\",\n    \"theme.css\"\n  ]\n});\n</script>"]]},{"name":"tools","type":["Array"],"short_doc":[["para","A collection of tools that are used to interact with the Editor.\nTools may be switched on by specifying their name.\nCustom tools and tools that require configuration are defined as objects."],["para","The available editor commands are:"],["bulletlist",["listitem","Basic text formatting\n    - ",["strong","bold"],", ",["strong","italic"],", ",["strong","underline"],", ",["strong","strikethrough"],", ",["strong","subscript"],", ",["strong","superscript"]],["listitem","Font and color\n    - ",["strong","fontName"],", ",["strong","fontSize"],", ",["strong","foreColor"],", ",["strong","backColor"]],["listitem","Alignment\n    - ",["strong","justifyLeft"],", ",["strong","justifyCenter"],", ",["strong","justifyRight"],", ",["strong","justifyFull"]],["listitem","Lists\n    - ",["strong","insertUnorderedList"],", ",["strong","insertOrderedList"],", ",["strong","indent"],", ",["strong","outdent"]],["listitem","Links and images\n    - ",["strong","createLink"],", ",["strong","unlink"],", ",["strong","insertImage"]],["listitem","Table editing\n    - ",["strong","createTable"],", ",["strong","addColumnLeft"],", ",["strong","addColumnRight"],", ",["strong","addRowAbove"],", ",["strong","addRowBelow"],", ",["strong","deleteRow"],", ",["strong","deleteColumn"]],["listitem","Structural markup and styles\n    - ",["strong","formatting"]],["listitem","Snippets\n    - ",["strong","insertHtml"]],["listitem","HTML code view\n    - ",["strong","viewHtml"]]]],"doc":[["para","A collection of tools that are used to interact with the Editor.\nTools may be switched on by specifying their name.\nCustom tools and tools that require configuration are defined as objects."],["para","The available editor commands are:"],["bulletlist",["listitem","Basic text formatting\n    - ",["strong","bold"],", ",["strong","italic"],", ",["strong","underline"],", ",["strong","strikethrough"],", ",["strong","subscript"],", ",["strong","superscript"]],["listitem","Font and color\n    - ",["strong","fontName"],", ",["strong","fontSize"],", ",["strong","foreColor"],", ",["strong","backColor"]],["listitem","Alignment\n    - ",["strong","justifyLeft"],", ",["strong","justifyCenter"],", ",["strong","justifyRight"],", ",["strong","justifyFull"]],["listitem","Lists\n    - ",["strong","insertUnorderedList"],", ",["strong","insertOrderedList"],", ",["strong","indent"],", ",["strong","outdent"]],["listitem","Links and images\n    - ",["strong","createLink"],", ",["strong","unlink"],", ",["strong","insertImage"]],["listitem","Table editing\n    - ",["strong","createTable"],", ",["strong","addColumnLeft"],", ",["strong","addColumnRight"],", ",["strong","addRowAbove"],", ",["strong","addRowBelow"],", ",["strong","deleteRow"],", ",["strong","deleteColumn"]],["listitem","Structural markup and styles\n    - ",["strong","formatting"]],["listitem","Snippets\n    - ",["strong","insertHtml"]],["listitem","HTML code view\n    - ",["strong","viewHtml"]]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    \"bold\", \"italic\", \"underline\"\n  ]\n});\n</script>"]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","The kendo template that will be used for rendering the given tool."]],"doc":[["para","The kendo template that will be used for rendering the given tool."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"custom\",\n      template: \"<button class='k-button'>Save draft</button>\"\n    }\n  ]\n});\n</script>"]],"orig":"tools.template"},{"name":"items","type":["Array"],"short_doc":[["para","For tools that display a list of items (fontName, fontSize, formatting), this option specifies the items in the shown list."]],"doc":[["para","For tools that display a list of items (fontName, fontSize, formatting), this option specifies the items in the shown list."],["header",{"level":4},"Example - specify custom font families"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontName\",\n      items: [\n        { text: \"Arial/Verdana\", value: \"Arial,Verdana,sans-serif\" }\n      ]\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"context","type":["String"],"short_doc":[["para","Only applicable for the formatting tool. Specifies the context in which the option will be available."]],"doc":[["para","Only applicable for the formatting tool. Specifies the context in which the option will be available."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"formatting\",\n      items: [\n        { text: \"Title\", value: \"h1\" },\n\n        // will be shown only when selection is in H1\n        { text: \"Note\", value: \"span.note\", context: \"h1\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"tools.items.context"},{"name":"value","type":["String"],"short_doc":[["para","The value that will be applied by the tool when this item is selected."]],"doc":[["para","The value that will be applied by the tool when this item is selected."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontSize\",\n      items: [\n        { text: \"12px\", value: \"12px\" },\n        { text: \"24px\", value: \"24px\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"tools.items.value"},{"name":"text","type":["String"],"short_doc":[["para","The string that the popup item will show."]],"doc":[["para","The string that the popup item will show."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontName\",\n      items: [\n        { text: \"Default site font\", value: \"Arial,Verdana,sans-serif\" },\n        { text: \"Monospaced font\", value: \"monospace\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"tools.items.text"}],"orig":"tools.items"},{"name":"exec","type":["Function"],"short_doc":[["para","The JavaScript function which will be executed when the end-user clicks the tool button."]],"doc":[["para","The JavaScript function which will be executed when the end-user clicks the tool button."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"custom\",\n      exec: function(e) {\n        var editor = $(this).data(\"kendoEditor\");\n        // ...\n      }\n    }\n  ]\n});\n</script>"]],"orig":"tools.exec"},{"name":"tooltip","type":["String"],"short_doc":[["para","The text which will be displayed when the end-user hovers the tool button with the mouse."]],"doc":[["para","The text which will be displayed when the end-user hovers the tool button with the mouse."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    { name: \"bold\", tooltip: \"Bold the selected text\" }\n  ]\n});\n</script>"]],"orig":"tools.tooltip"},{"name":"name","type":["String"],"short_doc":[["para","When specifying a tool as an object, a tool name is required. ",["strong","Please note that \"undo\" and \"redo\" are reserved tool names."]]],"doc":[["para","When specifying a tool as an object, a tool name is required. ",["strong","Please note that \"undo\" and \"redo\" are reserved tool names."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    { name: \"custom\" }\n  ]\n});\n</script>"]],"orig":"tools.name"}]},{"name":"imageBrowser","type":["Object"],"short_doc":[["para","Configuration for image browser dialog."]],"doc":[["para","Configuration for image browser dialog."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: \"imagebrowser/read\",\n      destroy: \"imagebrowser/destroy\",\n      create: \"imagebrowser/createDirectory\",\n      uploadUrl: \"imagebrowser/upload\",\n      thumbnailUrl: \"imagebrowser/thumbnail\"\n      imageUrl: \"/content/images/{0}\",\n    },\n    path: \"/myInitialPath/\"\n  }\n});\n</script>"]],"sub":[{"name":"messages","type":["Object"],"short_doc":[["para","Defines texts shown within the image browser."]],"doc":[["para","Defines texts shown within the image browser."]],"sub":[{"name":"search","type":["String"],"default":"\"Search\"","short_doc":[["para","Defines text for search box pleaceholder."]],"doc":[["para","Defines text for search box pleaceholder."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      search: \"Find\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.search"},{"name":"overwriteFile","type":["String"],"default":"\"A file with name '{0}' already exists in the current directory. Do you want to overwrite it?\"","short_doc":[["para","Defines text for dialog shown when an already existing file is set for upload."]],"doc":[["para","Defines text for dialog shown when an already existing file is set for upload."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      overwriteFile: \"Do you want to overwrite the file with name '{0}'?\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.overwriteFile"},{"name":"invalidFileType","type":["String"],"default":"\"The selected file '{0}' is not valid. Supported file types are {1}.\"","short_doc":[["para","Defines text for dialog shown when an invalid file is set for upload."]],"doc":[["para","Defines text for dialog shown when an invalid file is set for upload."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      invalidFileType: \"Supported file types are {1}. Please retry your upload.\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.invalidFileType"},{"name":"deleteFile","type":["String"],"default":"\"Are you sure you want to delete {0}?\"","short_doc":[["para","Defines text for dialog shown when the file or directory is deleted."]],"doc":[["para","Defines text for dialog shown when the file or directory is deleted."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      deleteFile: \"Are you sure? This action cannot be undone.\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.deleteFile"},{"name":"emptyFolder","type":["String"],"default":"\"Empty Folder\"","short_doc":[["para","Defines text displayed when folder does not contain items."]],"doc":[["para","Defines text displayed when folder does not contain items."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      emptyFolder: \"Folder is empty\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.emptyFolder"},{"name":"directoryNotFound","type":["String"],"default":"\"A directory with this name was not found.\"","short_doc":[["para","Defines text for dialog shown when the directory not found error occurs."]],"doc":[["para","Defines text for dialog shown when the directory not found error occurs."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      directoryNotFound: \"Directory not found!\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.directoryNotFound"},{"name":"orderBySize","type":["String"],"default":"\"Size\"","short_doc":[["para","Defines text for Size item of order by drop down list."]],"doc":[["para","Defines text for Size item of order by drop down list."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderBySize: \"File size\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.orderBySize"},{"name":"orderByName","type":["String"],"default":"\"Name\"","short_doc":[["para","Defines text for Name item of order by drop down list."]],"doc":[["para","Defines text for Name item of order by drop down list."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderByName: \"Filename\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.orderByName"},{"name":"orderBy","type":["String"],"default":"\"Arrange by\"","short_doc":[["para","Defines text for order by label."]],"doc":[["para","Defines text for order by label."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderBy: \"Order by\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.orderBy"},{"name":"uploadFile","type":["String"],"default":"\"Upload\"","short_doc":[["para","Defines text for upload button."]],"doc":[["para","Defines text for upload button."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      uploadFile: \"Upload a file\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.messages.uploadFile"}],"orig":"imageBrowser.messages"},{"name":"schema","type":["Object"],"short_doc":[["para","Set the object responsible for describing the image raw data format."]],"doc":[["para","Set the object responsible for describing the image raw data format."]],"sub":[{"name":"model","type":["Object"],"short_doc":[["para","Set the object which describes the image/directory entry fields. Note that a name, type and size fields should be set."]],"doc":[["para","Set the object which describes the image/directory entry fields. Note that a name, type and size fields should be set."]],"sub":[{"name":"fields","type":["Object"],"short_doc":[],"doc":[],"sub":[{"name":"size","type":["Object","String"],"short_doc":[["para","The field which contains the size of image."]],"doc":[["para","The field which contains the size of image."]],"sub":[{"name":"parse","type":["Function"],"short_doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"orig":"imageBrowser.schema.model.fields.size.parse"},{"name":"field","type":["String"],"short_doc":[["para","The name of the field."]],"doc":[["para","The name of the field."]],"orig":"imageBrowser.schema.model.fields.size.field"}],"orig":"imageBrowser.schema.model.fields.size"},{"name":"type","type":["Object","String"],"short_doc":[["para","The field which contains the type of the entry. Either ",["em","f"]," for image or ",["em","d"]," for directory."]],"doc":[["para","The field which contains the type of the entry. Either ",["em","f"]," for image or ",["em","d"]," for directory."]],"sub":[{"name":"field","type":["String"],"short_doc":[["para","The name of the field."]],"doc":[["para","The name of the field."]],"orig":"imageBrowser.schema.model.fields.type.field"},{"name":"parse","type":["Function"],"short_doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"orig":"imageBrowser.schema.model.fields.type.parse"}],"orig":"imageBrowser.schema.model.fields.type"},{"name":"name","type":["Object","String"],"short_doc":[["para","The field which contains the name of the image/directory"]],"doc":[["para","The field which contains the name of the image/directory"]],"sub":[{"name":"parse","type":["Function"],"short_doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"doc":[["para","Specifies the function which will parse the field value. If not set default parsers will be used."]],"orig":"imageBrowser.schema.model.fields.name.parse"},{"name":"field","type":["String"],"short_doc":[["para","The name of the field."]],"doc":[["para","The name of the field."]],"orig":"imageBrowser.schema.model.fields.name.field"}],"orig":"imageBrowser.schema.model.fields.name"}],"orig":"imageBrowser.schema.model.fields"},{"name":"id","type":["String"],"short_doc":[["para","The name of the field which acts as an identifier."]],"doc":[["para","The name of the field which acts as an identifier."]],"orig":"imageBrowser.schema.model.id"}],"orig":"imageBrowser.schema.model"}],"orig":"imageBrowser.schema"},{"name":"transport","type":["Object"],"short_doc":[["para","Specifies the settings for loading and saving data."]],"doc":[["para","Specifies the settings for loading and saving data."]],"sub":[{"name":"create","type":["Object","String"],"short_doc":[["para","Options or URL which will handle the directory creation. If not specified that create new folder button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.create"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]]],"doc":[["para","Options or URL which will handle the directory creation. If not specified that create new folder button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.create"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: \"/create\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The remote url to call when creating a new record."]],"doc":[["para","The remote url to call when creating a new record."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        url: \"/create\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify create url as function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        url: function(params) {\n          // build url\n          return \"/create?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.create.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.create.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.create.dataType"},{"name":"data","type":["Object","String","Function"],"short_doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify data as object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify data as function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        data: function() {\n          return {\n            id: 42,\n            name: \"John Doe\"\n          };\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.create.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.create.contentType"}],"orig":"imageBrowser.transport.create"},{"name":"destroy","type":["Object","String"],"short_doc":[["para","Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.destroy"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]]],"doc":[["para","Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.destroy"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: \"/destroy\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The remote url to call when creating a new record."]],"doc":[["para","The remote url to call when creating a new record."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        url: \"/destroy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Destroy URL As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        url: function(params) {\n          // build url\n          return \"/destroy?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.destroy.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.destroy.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.destroy.dataType"},{"name":"data","type":["Object","String","Function"],"short_doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify Data As Object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Data As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        data: function() {\n          return {\n            id: 42,\n            name: \"John Doe\"\n          };\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.destroy.data"},{"name":"contentType","type":["String"],"short_doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.destroy.contentType"}],"orig":"imageBrowser.transport.destroy"},{"name":"imageUrl","type":["String","Function"],"short_doc":[["para","The URL responsible for serving the original image. A file name placeholder should be specified."]],"doc":[["para","The URL responsible for serving the original image. A file name placeholder should be specified."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      imageUrl: \"/content/images/{0}\" //the placeholder will be replaced with the current virtual path and selected file name\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.imageUrl"},{"name":"uploadUrl","type":["String"],"short_doc":[["para","The URL which will handle the upload of the new images. If not specified the Upload button will not be displayed."]],"doc":[["para","The URL which will handle the upload of the new images. If not specified the Upload button will not be displayed."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      uploadUrl: \"/thumbnail\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.uploadUrl"},{"name":"thumbnailUrl","type":["String","Function"],"short_doc":[["para","The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown.\nIf function is assigned, the current path and image name will be provided."]],"doc":[["para","The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown.\nIf function is assigned, the current path and image name will be provided."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      thumbnailUrl: \"/thumbnail\"\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.thumbnailUrl"},{"name":"read","type":["Object","String"],"short_doc":[["para","Options or URL for remote image retrieval."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.read"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]]],"doc":[["para","Options or URL for remote image retrieval."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.read"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example - specify a read URL"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: \"/imagebrowser/read\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"url","type":["String","Function"],"short_doc":[["para","The remote url to call when fetching list of items."]],"doc":[["para","The remote url to call when fetching list of items."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        url: \"/read\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Read URL As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        url: function(params) {\n          // build url\n          return \"/read?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.read.url"},{"name":"type","type":["String"],"short_doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.read.type"},{"name":"dataType","type":["String"],"short_doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.read.dataType"},{"name":"data","type":["Object","String","Function"],"short_doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify Data As Object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Data As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        data: function() {\n          return { id: 42, name: \"John Doe\" };\n        }\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.read.data"},{"name":"contentType","type":["String"],"default":"\"application/x-www-form-urlencoded\"","short_doc":[["para","The content-type HTTP header sent to the server. Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."]],"doc":[["para","The content-type HTTP header sent to the server. Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        /* omitted for brevity */\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"imageBrowser.transport.read.contentType"}],"orig":"imageBrowser.transport.read"}],"orig":"imageBrowser.transport"},{"name":"path","type":["String"],"default":"\"/\"","short_doc":[["para","Defines the initial folder to display, relative to the root."]],"doc":[["para","Defines the initial folder to display, relative to the root."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    /* omitted for brevity */\n    path: \"/uploads/\"\n  }\n});\n</script>"]],"orig":"imageBrowser.path"},{"name":"fileTypes","type":["String"],"short_doc":[["para","Defines the allowed file extensions."]],"doc":[["para","Defines the allowed file extensions."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    /* omitted for brevity */\n    fileTypes: \"*.gif\"\n  }\n});\n</script>"]],"orig":"imageBrowser.fileTypes"}]}],"methods":[{"name":"createRange","args":[{"name":"document","type":["Document"],"short_doc":[["para","The document that the range is associated with. If omitted, the document of the editor editing area will be used."]],"doc":[["para","The document that the range is associated with. If omitted, the document of the editor editing area will be used."]]}],"short_doc":[["para","Creates a W3C-compatible ",["strong","Range"]," object."]],"doc":[["para","Creates a W3C-compatible ",["strong","Range"]," object."],["header",{"level":4},"Parameters"],["header",{"level":5},"document ",["inlinecode","Document"]," ",["em","(optional)"]],["para","The document that the range is associated with. If omitted, the document of the editor editing area will be used."],["header",{"level":4},"Returns"],["para",["inlinecode","Range"]," The created ",["strong","Range"]," object."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Editor element from DOM."]]],"doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Editor element from DOM."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.destroy();\n</script>"]]]},{"name":"encodedValue","args":[],"short_doc":[["para","Gets the HTML encoded value of the editor."]],"doc":[["para","Gets the HTML encoded value of the editor."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"<p>foo</p>\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nconsole.log(editor.encodedValue()); // logs \"&lt;p&gt;foo&lt;/p&gt;\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"<p>foo</p>\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nconsole.log(editor.encodedValue()); // logs \"&lt;p&gt;foo&lt;/p&gt;\"\n</script>"]]]},{"name":"exec","args":[{"name":"name","type":["String"],"short_doc":[["para","The name of the command to be executed."]],"doc":[["para","The name of the command to be executed."]]},{"name":"params","type":["String","Object"],"short_doc":[["para","The parameters for the executed command."]],"doc":[["para","The parameters for the executed command."]]},{"name":"params.value","type":["Object"],"short_doc":[["para","The arguments for commands that expect such"]],"doc":[["para","The arguments for commands that expect such"]]}],"short_doc":[["para","Executes an editor command on the currently selected text."]],"doc":[["para","Executes an editor command on the currently selected text."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the command to be executed."],["header",{"level":5},"params ",["inlinecode","String|Object"]," ",["em","(optional)"]],["para","The parameters for the executed command."],["header",{"level":5},"params.value ",["inlinecode","Object"]],["para","The arguments for commands that expect such"],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"foo\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.exec(\"foreColor\", { value: \"#f00\" });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"foo\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.exec(\"foreColor\", { value: \"#f00\" });\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the editable area."]],"doc":[["para","Focuses the editable area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.focus();\n</script>"]]]},{"name":"getRange","args":[],"short_doc":[["para","Gets a ",["strong","Range"]," object form the editable area."]],"doc":[["para","Gets a ",["strong","Range"]," object form the editable area."],["header",{"level":4},"Returns"],["para",["inlinecode","Range"]," A W3C-compatible ",["strong","Range"]," object that represents the currently selected text in the editor area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.getRange();\nconsole.log(range);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.getRange();\nconsole.log(range);\n</script>"]]]},{"name":"getSelection","args":[],"short_doc":[["para","Gets a W3C-compatible ",["strong","Selection"]," object form the editable area."]],"doc":[["para","Gets a W3C-compatible ",["strong","Selection"]," object form the editable area."],["header",{"level":4},"Returns"],["para",["inlinecode","Selection"]," a W3C-compatible ",["strong","Selection"]," object form the editable area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar selection = editor.getSelection();\nconsole.log(selection);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar selection = editor.getSelection();\nconsole.log(selection);\n</script>"]]]},{"name":"paste","args":[{"name":"html","type":["String"],"short_doc":[["para","The HTML to be pasted."]],"doc":[["para","The HTML to be pasted."]]}],"short_doc":[["para","Pastes HTML into the editable area. Cleans up MS Word formatting."]],"doc":[["para","Pastes HTML into the editable area. Cleans up MS Word formatting."],["header",{"level":4},"Parameters"],["header",{"level":5},"html ",["inlinecode","String"]],["para","The HTML to be pasted."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.paste(\"<p>New content</p>\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.paste(\"<p>New content</p>\");\n</script>"]]]},{"name":"selectedHtml","args":[],"short_doc":[["para","Serializes the currently selected text to a XHTML string."]],"doc":[["para","Serializes the currently selected text to a XHTML string."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The selectied text as valid XHTML."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar html = editor.selectedHtml();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar html = editor.selectedHtml();\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Reinitializes the editing area iframe. Should be used after moving the editor in the DOM."]],"doc":[["para","Reinitializes the editing area iframe. Should be used after moving the editor in the DOM."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.wrapper.appendTo(\"#container\");\neditor.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.wrapper.appendTo(\"#container\");\neditor.refresh();\n</script>"]]]},{"name":"selectRange","args":[{"name":"range","type":["Range"],"short_doc":[["para","The ",["strong","Range"]," object that describes the new selection."]],"doc":[["para","The ",["strong","Range"]," object that describes the new selection."]]}],"short_doc":[["para","Focuses the editable area and selects the range described by the range parameter."]],"doc":[["para","Focuses the editable area and selects the range described by the range parameter."],["header",{"level":4},"Parameters"],["header",{"level":5},"range ",["inlinecode","Range"]],["para","The ",["strong","Range"]," object that describes the new selection."],["header",{"level":4},"Example - select all"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body);\neditor.selectRange(range);\n</script>"]],"examples":[[["header",{"level":4},"Example - select all"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body);\neditor.selectRange(range);\n</script>"]]]},{"name":"update","args":[],"short_doc":[["para","Serializes the current state of the editable area to the ",["inlinecode","<textarea>"]," element.\nThis method should be called after modifying the editor content through the DOM."]],"doc":[["para","Serializes the current state of the editable area to the ",["inlinecode","<textarea>"]," element.\nThis method should be called after modifying the editor content through the DOM."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nvar textarea = $(\"#editor\");\ntextarea.kendoEditor({ value: \"Hello, \" });\nvar editor = textarea.data(\"kendoEditor\");\neditor.body.appendChild(editor.document.createTextNode(\"World\"));\nconsole.log(textarea.val()); // logs \"Hello, \"\neditor.update();\nconsole.log(textarea.val()); // logs \"Hello, World\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nvar textarea = $(\"#editor\");\ntextarea.kendoEditor({ value: \"Hello, \" });\nvar editor = textarea.data(\"kendoEditor\");\neditor.body.appendChild(editor.document.createTextNode(\"World\"));\nconsole.log(textarea.val()); // logs \"Hello, \"\neditor.update();\nconsole.log(textarea.val()); // logs \"Hello, World\"\n</script>"]]]},{"name":"state","args":[{"name":"toolName","type":["String"],"short_doc":[["para","The name of the tool that will be tested if formatted."]],"doc":[["para","The name of the tool that will be tested if formatted."]]}],"short_doc":[["para","Get the state of a given tool. Introduced in the 2013.2.923 internal build."]],"doc":[["para","Get the state of a given tool. Introduced in the 2013.2.923 internal build."],["header",{"level":4},"Parameters"],["header",{"level":5},"toolName ",["inlinecode","String"]],["para","The name of the tool that will be tested if formatted."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," The state of the tool."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<em>foo</em>\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body.firstChild);\neditor.selectRange(range);\nconsole.log(editor.state(\"italic\")); // logs true\nconsole.log(editor.state(\"bold\")); // logs true\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<em>foo</em>\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body.firstChild);\neditor.selectRange(range);\nconsole.log(editor.state(\"italic\")); // logs true\nconsole.log(editor.state(\"bold\")); // logs true\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the editor value."]],"doc":[["para","Gets or sets the editor value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the Editor as HTML string."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<p>New content</p>\");\nconsole.log(editor.value()); // logs \"<p>New content</p>\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<p>New content</p>\");\nconsole.log(editor.value()); // logs \"<p>New content</p>\"\n</script>"]]]}],"events":[{"name":"change","args":[],"short_doc":[["para","Fires when Editor is blurred and its content has changed."]],"doc":[["para","Fires when Editor is blurred and its content has changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  change: function() {\n    console.log(this.value());\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_change() {\n  console.log(this.value());\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"change\", editor_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  change: function() {\n    console.log(this.value());\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_change() {\n  console.log(this.value());\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"change\", editor_change);\n</script>"]]],"type":["Function"]},{"name":"execute","args":[{"name":"e.name","type":["String"],"short_doc":[["para","The name of the command"]],"doc":[["para","The name of the command"]]},{"name":"e.command","type":["Object"],"short_doc":[["para","The command instance"]],"doc":[["para","The command instance"]]}],"short_doc":[["para","Fires when an Editor command is executed."]],"doc":[["para","Fires when an Editor command is executed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.name ",["inlinecode","String"]],["para","The name of the command"],["header",{"level":5},"e.command ",["inlinecode","Object"]],["para","The command instance"],["header",{"level":4},"Example - subscribe to the \"execute\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  execute: function(e) {\n    console.log(\"executing command\", e.name, e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"execute\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_execute() {\n  console.log(\"executing command\", e.name, e.value);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"execute\", editor_execute);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"execute\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  execute: function(e) {\n    console.log(\"executing command\", e.name, e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"execute\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_execute() {\n  console.log(\"executing command\", e.name, e.value);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"execute\", editor_execute);\n</script>"]]],"type":["Function"]},{"name":"keydown","args":[],"short_doc":[["para","Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down."]],"doc":[["para","Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down."],["header",{"level":4},"Example - subscribe to the \"keydown\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keydown: function(e) {\n    console.log(\"keydown : keyCode=\",e.keyCode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"keydown\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keydown() {\n  console.log(\"keydown : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keydown\", editor_keydown);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"keydown\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keydown: function(e) {\n    console.log(\"keydown : keyCode=\",e.keyCode);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"keydown\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keydown() {\n  console.log(\"keydown : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keydown\", editor_keydown);\n</script>"]]],"type":["Function"]},{"name":"keyup","args":[],"short_doc":[["para","Fires when the user releases a keyboard key."]],"doc":[["para","Fires when the user releases a keyboard key."],["header",{"level":4},"Example - subscribe to the \"keyup\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    console.log(\"keyup : keyCode=\",e.keyCode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"keyup\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keyup() {\n  console.log(\"keyup : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keyup\", editor_keyup);\n</script>"],["header",{"level":4},"Example - show word count"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"words\"></div>\n<script>\nfunction wordCount(value) {\n  return $.trim(value.replace(/<.*?>/g, \" \"))\n    .replace(/['\";:,.?\\-!]+/g, '')\n    .match(/\\S+/g).length;\n}\n\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    $(\"#words\").text(wordCount(this.value()) + \" words\");\n  }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"keyup\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    console.log(\"keyup : keyCode=\",e.keyCode);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"keyup\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keyup() {\n  console.log(\"keyup : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keyup\", editor_keyup);\n</script>"]],[["header",{"level":4},"Example - show word count"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"words\"></div>\n<script>\nfunction wordCount(value) {\n  return $.trim(value.replace(/<.*?>/g, \" \"))\n    .replace(/['\";:,.?\\-!]+/g, '')\n    .match(/\\S+/g).length;\n}\n\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    $(\"#words\").text(wordCount(this.value()) + \" words\");\n  }\n});\n</script>"]]],"type":["Function"]},{"name":"paste","args":[{"name":"e.html","type":["Object"],"short_doc":[["para","The pasted content"]],"doc":[["para","The pasted content"]]}],"short_doc":[["para","Fires before the content is pasted in the Editor."]],"doc":[["para","Fires before the content is pasted in the Editor."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.html ",["inlinecode","Object"]],["para","The pasted content"],["header",{"level":4},"Example - subscribe to the \"paste\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  paste: function(e) {\n    console.log(e.html);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"paste\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_paste(e) {\n  console.log(e.html);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"paste\", editor_paste);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"paste\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  paste: function(e) {\n    console.log(e.html);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"paste\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_paste(e) {\n  console.log(e.html);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"paste\", editor_paste);\n</script>"]]],"type":["Function"]},{"name":"select","args":[],"short_doc":[["para","Fires when the Editor selection has changed."]],"doc":[["para","Fires when the Editor selection has changed."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  select: function(e) {\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_select(e) {\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"select\", editor_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  select: function(e) {\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_select(e) {\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"select\", editor_select);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"body","type":["Element"],"short_doc":[["para","The HTML element which represents the editor content area."]],"doc":[["para","The HTML element which represents the editor content area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.body.style.backgroundColor = \"#f00\";\n</script>"]]}],"short_doc":[["para","Represents the Kendo UI Editor widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Editor widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"encoded ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Indicates whether the Editor should submit encoded HTML tags. By default, the submitted value is encoded."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  value: \"<p>foo</p>\",\n  encoded: false\n});\nconsole.log($(\"#editor\").val()); // logs \"<p>foo</p>\"\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","Defines the text of the labels that are shown within the editor. Used primarily for localization."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  messages: {\n    bold: \"Bold\",\n    italic: \"Italic\",\n    underline: \"Underline\",\n    strikethrough: \"Strikethrough\",\n    superscript: \"Superscript\",\n    subscript: \"Subscript\",\n    justifyCenter: \"Center text\",\n    justifyLeft: \"Align text left\",\n    justifyRight: \"Align text right\",\n    justifyFull: \"Justify\",\n    insertUnorderedList: \"Insert unordered list\",\n    insertOrderedList: \"Insert ordered list\",\n    indent: \"Indent\",\n    outdent: \"Outdent\",\n    createLink: \"Insert hyperlink\",\n    unlink: \"Remove hyperlink\",\n    insertImage: \"Insert image\",\n    insertHtml: \"Insert HTML\",\n    fontName: \"Select font family\",\n    fontNameInherit: \"(inherited font)\",\n    fontSize: \"Select font size\",\n    fontSizeInherit: \"(inherited size)\",\n    formatBlock: \"Format\",\n    formatting: \"Format\",\n    style: \"Styles\",\n    emptyFolder: \"Empty Folder\",\n    uploadFile: \"Upload\",\n    orderBy: \"Arrange by:\",\n    orderBySize: \"Size\",\n    orderByName: \"Name\",\n    invalidFileType: \"The selected file \\\"{0}\\\" is not valid. Supported file types are {1}.\",\n    deleteFile: \"Are you sure you want to delete \\\"{0}\\\"?\",\n    overwriteFile: \"A file with name \\\"{0}\\\" already exists in the current directory. Do you want to overwrite it?\",\n    directoryNotFound: \"A directory with this name was not found.\",\n    imageWebAddress: \"Web address\",\n    imageAltText: \"Alternate text\",\n    linkWebAddress: \"Web address\",\n    linkText: \"Text\",\n    linkToolTip: \"ToolTip\",\n    linkOpenInNewWindow: \"Open link in new window\",\n    dialogInsert: \"Insert\",\n    dialogUpdate: \"Update\",\n    dialogButtonSeparator: \"or\",\n    dialogCancel: \"Cancel\"\n  }\n});\n</script>"],["header",{"level":3},"stylesheets ",["inlinecode","Array"]],["para","Allows custom stylesheets to be included within the editing area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  stylesheets: [\n    \"base.css\",\n    \"theme.css\"\n  ]\n});\n</script>"],["header",{"level":3},"tools ",["inlinecode","Array"]],["para","A collection of tools that are used to interact with the Editor.\nTools may be switched on by specifying their name.\nCustom tools and tools that require configuration are defined as objects."],["para","The available editor commands are:"],["bulletlist",["listitem","Basic text formatting\n    - ",["strong","bold"],", ",["strong","italic"],", ",["strong","underline"],", ",["strong","strikethrough"],", ",["strong","subscript"],", ",["strong","superscript"]],["listitem","Font and color\n    - ",["strong","fontName"],", ",["strong","fontSize"],", ",["strong","foreColor"],", ",["strong","backColor"]],["listitem","Alignment\n    - ",["strong","justifyLeft"],", ",["strong","justifyCenter"],", ",["strong","justifyRight"],", ",["strong","justifyFull"]],["listitem","Lists\n    - ",["strong","insertUnorderedList"],", ",["strong","insertOrderedList"],", ",["strong","indent"],", ",["strong","outdent"]],["listitem","Links and images\n    - ",["strong","createLink"],", ",["strong","unlink"],", ",["strong","insertImage"]],["listitem","Table editing\n    - ",["strong","createTable"],", ",["strong","addColumnLeft"],", ",["strong","addColumnRight"],", ",["strong","addRowAbove"],", ",["strong","addRowBelow"],", ",["strong","deleteRow"],", ",["strong","deleteColumn"]],["listitem","Structural markup and styles\n    - ",["strong","formatting"]],["listitem","Snippets\n    - ",["strong","insertHtml"]],["listitem","HTML code view\n    - ",["strong","viewHtml"]]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    \"bold\", \"italic\", \"underline\"\n  ]\n});\n</script>"],["header",{"level":3},"tools.name ",["inlinecode","String"]],["para","When specifying a tool as an object, a tool name is required. ",["strong","Please note that \"undo\" and \"redo\" are reserved tool names."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    { name: \"custom\" }\n  ]\n});\n</script>"],["header",{"level":3},"tools.tooltip ",["inlinecode","String"]],["para","The text which will be displayed when the end-user hovers the tool button with the mouse."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    { name: \"bold\", tooltip: \"Bold the selected text\" }\n  ]\n});\n</script>"],["header",{"level":3},"tools.exec ",["inlinecode","Function"]],["para","The JavaScript function which will be executed when the end-user clicks the tool button."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"custom\",\n      exec: function(e) {\n        var editor = $(this).data(\"kendoEditor\");\n        // ...\n      }\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tools.items ",["inlinecode","Array"]],["para","For tools that display a list of items (fontName, fontSize, formatting), this option specifies the items in the shown list."],["header",{"level":4},"Example - specify custom font families"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontName\",\n      items: [\n        { text: \"Arial/Verdana\", value: \"Arial,Verdana,sans-serif\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tools.items.text ",["inlinecode","String"]],["para","The string that the popup item will show."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontName\",\n      items: [\n        { text: \"Default site font\", value: \"Arial,Verdana,sans-serif\" },\n        { text: \"Monospaced font\", value: \"monospace\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tools.items.value ",["inlinecode","String"]],["para","The value that will be applied by the tool when this item is selected."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"fontSize\",\n      items: [\n        { text: \"12px\", value: \"12px\" },\n        { text: \"24px\", value: \"24px\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tools.items.context ",["inlinecode","String"]],["para","Only applicable for the formatting tool. Specifies the context in which the option will be available."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"formatting\",\n      items: [\n        { text: \"Title\", value: \"h1\" },\n\n        // will be shown only when selection is in H1\n        { text: \"Note\", value: \"span.note\", context: \"h1\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"tools.template ",["inlinecode","String"]],["para","The kendo template that will be used for rendering the given tool."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  tools: [\n    {\n      name: \"custom\",\n      template: \"<button class='k-button'>Save draft</button>\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"imageBrowser ",["inlinecode","Object"]],["para","Configuration for image browser dialog."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: \"imagebrowser/read\",\n      destroy: \"imagebrowser/destroy\",\n      create: \"imagebrowser/createDirectory\",\n      uploadUrl: \"imagebrowser/upload\",\n      thumbnailUrl: \"imagebrowser/thumbnail\"\n      imageUrl: \"/content/images/{0}\",\n    },\n    path: \"/myInitialPath/\"\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.fileTypes ",["inlinecode","String"]," ",["em","(default: \""],".png,",["em",".gif,"],".jpg,",["em",".jpeg\")"]],["para","Defines the allowed file extensions."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    /* omitted for brevity */\n    fileTypes: \"*.gif\"\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.path ",["inlinecode","String"]," ",["em","(default: \"/\")"]],["para","Defines the initial folder to display, relative to the root."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    /* omitted for brevity */\n    path: \"/uploads/\"\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport ",["inlinecode","Object"]],["para","Specifies the settings for loading and saving data."],["header",{"level":3},"imageBrowser.transport.read ",["inlinecode","Object|String"]],["para","Options or URL for remote image retrieval."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.read"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example - specify a read URL"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: \"/imagebrowser/read\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.read.contentType ",["inlinecode","String"]," ",["em","(default: \"application/x-www-form-urlencoded\")"]],["para","The content-type HTTP header sent to the server. Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        /* omitted for brevity */\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.read.data ",["inlinecode","Object|String|Function"]],["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify Data As Object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Data As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        data: function() {\n          return { id: 42, name: \"John Doe\" };\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.read.dataType ",["inlinecode","String"]],["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.read.type ",["inlinecode","String"]],["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.read.url ",["inlinecode","String|Function"]],["para","The remote url to call when fetching list of items."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        url: \"/read\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Read URL As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      read: {\n        url: function(params) {\n          // build url\n          return \"/read?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.thumbnailUrl ",["inlinecode","String|Function"]],["para","The URL for retrieving the thumbnail version of the image. If not specified a default image icon will be shown.\nIf function is assigned, the current path and image name will be provided."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      thumbnailUrl: \"/thumbnail\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.uploadUrl ",["inlinecode","String"]],["para","The URL which will handle the upload of the new images. If not specified the Upload button will not be displayed."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      uploadUrl: \"/thumbnail\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.imageUrl ",["inlinecode","String|Function"]],["para","The URL responsible for serving the original image. A file name placeholder should be specified."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      imageUrl: \"/content/images/{0}\" //the placeholder will be replaced with the current virtual path and selected file name\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy ",["inlinecode","Object|String"]],["para","Options or URL which will handle the file and directory deletion. If not specified the delete button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.destroy"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: \"/destroy\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy.data ",["inlinecode","Object|String|Function"]],["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify Data As Object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Data As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        data: function() {\n          return {\n            id: 42,\n            name: \"John Doe\"\n          };\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy.dataType ",["inlinecode","String"]],["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy.type ",["inlinecode","String"]],["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.destroy.url ",["inlinecode","String|Function"]],["para","The remote url to call when creating a new record."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        url: \"/destroy\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify Destroy URL As Function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      destroy: {\n        url: function(params) {\n          // build url\n          return \"/destroy?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create ",["inlinecode","Object|String"]],["para","Options or URL which will handle the directory creation. If not specified that create new folder button will not be present."],["blockquote",["para",["strong","Important:"]," The value of ",["inlinecode","transport.create"]," is passed to ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"],"."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: \"/create\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create.contentType ",["inlinecode","String"]],["para","The content-type HTTP header sent to the server. Default is ",["inlinecode","\"application/x-www-form-urlencoded\""],". Use ",["inlinecode","\"application/json\""]," if the content is JSON.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        contentType: \"application/json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create.data ",["inlinecode","Object|String|Function"]],["para","Data to be send to the server.\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example - specify data as object"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        data: {\n          id: 42,\n          name: \"John Doe\"\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify data as function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        data: function() {\n          return {\n            id: 42,\n            name: \"John Doe\"\n          };\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create.dataType ",["inlinecode","String"]],["para","The type of data that you're expecting back from the server. Commonly used values are ",["inlinecode","\"json\""]," and ",["inlinecode","\"jsonp\""],".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        dataType: \"json\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create.type ",["inlinecode","String"]],["para","The type of request to make (",["inlinecode","\"POST\""],", ",["inlinecode","\"GET"],"\", ",["inlinecode","\"PUT\""]," or ",["inlinecode","\"DELETE\""],"), default is \"GET\".\nRefer to the ",["link",{"href":"http://api.jquery.com/jQuery.ajax"},"jQuery.ajax"]," documentation for further info."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        type: \"POST\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.transport.create.url ",["inlinecode","String|Function"]],["para","The remote url to call when creating a new record."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        url: \"/create\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - specify create url as function"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    transport: {\n      create: {\n        url: function(params) {\n          // build url\n          return \"/create?t=\" + new Date().getTime();\n        }\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.schema ",["inlinecode","Object"]],["para","Set the object responsible for describing the image raw data format."],["header",{"level":3},"imageBrowser.schema.model ",["inlinecode","Object"]],["para","Set the object which describes the image/directory entry fields. Note that a name, type and size fields should be set."],["header",{"level":3},"imageBrowser.schema.model.id ",["inlinecode","String"]],["para","The name of the field which acts as an identifier."],["header",{"level":3},"imageBrowser.schema.model.fields ",["inlinecode","Object"]],["header",{"level":3},"imageBrowser.schema.model.fields.name ",["inlinecode","Object|String"]],["para","The field which contains the name of the image/directory"],["header",{"level":3},"imageBrowser.schema.model.fields.name.field ",["inlinecode","String"]],["para","The name of the field."],["header",{"level":3},"imageBrowser.schema.model.fields.name.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":3},"imageBrowser.schema.model.fields.type ",["inlinecode","Object|String"]],["para","The field which contains the type of the entry. Either ",["em","f"]," for image or ",["em","d"]," for directory."],["header",{"level":3},"imageBrowser.schema.model.fields.type.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":3},"imageBrowser.schema.model.fields.type.field ",["inlinecode","String"]],["para","The name of the field."],["header",{"level":3},"imageBrowser.schema.model.fields.size ",["inlinecode","Object|String"]],["para","The field which contains the size of image."],["header",{"level":3},"imageBrowser.schema.model.fields.size.field ",["inlinecode","String"]],["para","The name of the field."],["header",{"level":3},"imageBrowser.schema.model.fields.size.parse ",["inlinecode","Function"]],["para","Specifies the function which will parse the field value. If not set default parsers will be used."],["header",{"level":3},"imageBrowser.messages ",["inlinecode","Object"]],["para","Defines texts shown within the image browser."],["header",{"level":3},"imageBrowser.messages.uploadFile ",["inlinecode","String"]," ",["em","(default: \"Upload\")"]],["para","Defines text for upload button."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      uploadFile: \"Upload a file\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.orderBy ",["inlinecode","String"]," ",["em","(default: \"Arrange by\")"]],["para","Defines text for order by label."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderBy: \"Order by\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.orderByName ",["inlinecode","String"]," ",["em","(default: \"Name\")"]],["para","Defines text for Name item of order by drop down list."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderByName: \"Filename\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.orderBySize ",["inlinecode","String"]," ",["em","(default: \"Size\")"]],["para","Defines text for Size item of order by drop down list."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      orderBySize: \"File size\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.directoryNotFound ",["inlinecode","String"]," ",["em","(default: \"A directory with this name was not found.\")"]],["para","Defines text for dialog shown when the directory not found error occurs."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      directoryNotFound: \"Directory not found!\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.emptyFolder ",["inlinecode","String"]," ",["em","(default: \"Empty Folder\")"]],["para","Defines text displayed when folder does not contain items."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      emptyFolder: \"Folder is empty\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.deleteFile ",["inlinecode","String"]," ",["em","(default: \"Are you sure you want to delete {0}?\")"]],["para","Defines text for dialog shown when the file or directory is deleted."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      deleteFile: \"Are you sure? This action cannot be undone.\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.invalidFileType ",["inlinecode","String"]," ",["em","(default: \"The selected file '{0}' is not valid. Supported file types are {1}.\")"]],["para","Defines text for dialog shown when an invalid file is set for upload."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      invalidFileType: \"Supported file types are {1}. Please retry your upload.\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.overwriteFile ",["inlinecode","String"]," ",["em","(default: \"A file with name '{0}' already exists in the current directory. Do you want to overwrite it?\")"]],["para","Defines text for dialog shown when an already existing file is set for upload."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      overwriteFile: \"Do you want to overwrite the file with name '{0}'?\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"imageBrowser.messages.search ",["inlinecode","String"]," ",["em","(default: \"Search\")"]],["para","Defines text for search box pleaceholder."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  imageBrowser: {\n    messages: {\n      search: \"Find\"\n    }\n  }\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"body ",["inlinecode","Element"]],["para","The HTML element which represents the editor content area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.body.style.backgroundColor = \"#f00\";\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"createRange"],["para","Creates a W3C-compatible ",["strong","Range"]," object."],["header",{"level":4},"Parameters"],["header",{"level":5},"document ",["inlinecode","Document"]," ",["em","(optional)"]],["para","The document that the range is associated with. If omitted, the document of the editor editing area will be used."],["header",{"level":4},"Returns"],["para",["inlinecode","Range"]," The created ",["strong","Range"]," object."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Editor element from DOM."]],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.destroy();\n</script>"],["header",{"level":3},"encodedValue"],["para","Gets the HTML encoded value of the editor."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"<p>foo</p>\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nconsole.log(editor.encodedValue()); // logs \"&lt;p&gt;foo&lt;/p&gt;\"\n</script>"],["header",{"level":3},"exec"],["para","Executes an editor command on the currently selected text."],["header",{"level":4},"Parameters"],["header",{"level":5},"name ",["inlinecode","String"]],["para","The name of the command to be executed."],["header",{"level":5},"params ",["inlinecode","String|Object"]," ",["em","(optional)"]],["para","The parameters for the executed command."],["header",{"level":5},"params.value ",["inlinecode","Object"]],["para","The arguments for commands that expect such"],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({ value: \"foo\" });\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.exec(\"foreColor\", { value: \"#f00\" });\n</script>"],["header",{"level":3},"focus"],["para","Focuses the editable area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.focus();\n</script>"],["header",{"level":3},"getRange"],["para","Gets a ",["strong","Range"]," object form the editable area."],["header",{"level":4},"Returns"],["para",["inlinecode","Range"]," A W3C-compatible ",["strong","Range"]," object that represents the currently selected text in the editor area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.getRange();\nconsole.log(range);\n</script>"],["header",{"level":3},"getSelection"],["para","Gets a W3C-compatible ",["strong","Selection"]," object form the editable area."],["header",{"level":4},"Returns"],["para",["inlinecode","Selection"]," a W3C-compatible ",["strong","Selection"]," object form the editable area."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar selection = editor.getSelection();\nconsole.log(selection);\n</script>"],["header",{"level":3},"paste"],["para","Pastes HTML into the editable area. Cleans up MS Word formatting."],["header",{"level":4},"Parameters"],["header",{"level":5},"html ",["inlinecode","String"]],["para","The HTML to be pasted."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.paste(\"<p>New content</p>\");\n</script>"],["header",{"level":3},"selectedHtml"],["para","Serializes the currently selected text to a XHTML string."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The selectied text as valid XHTML."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar html = editor.selectedHtml();\n</script>"],["header",{"level":3},"refresh"],["para","Reinitializes the editing area iframe. Should be used after moving the editor in the DOM."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.wrapper.appendTo(\"#container\");\neditor.refresh();\n</script>"],["header",{"level":3},"selectRange"],["para","Focuses the editable area and selects the range described by the range parameter."],["header",{"level":4},"Parameters"],["header",{"level":5},"range ",["inlinecode","Range"]],["para","The ",["strong","Range"]," object that describes the new selection."],["header",{"level":4},"Example - select all"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"container\"></div>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body);\neditor.selectRange(range);\n</script>"],["header",{"level":3},"update"],["para","Serializes the current state of the editable area to the ",["inlinecode","<textarea>"]," element.\nThis method should be called after modifying the editor content through the DOM."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nvar textarea = $(\"#editor\");\ntextarea.kendoEditor({ value: \"Hello, \" });\nvar editor = textarea.data(\"kendoEditor\");\neditor.body.appendChild(editor.document.createTextNode(\"World\"));\nconsole.log(textarea.val()); // logs \"Hello, \"\neditor.update();\nconsole.log(textarea.val()); // logs \"Hello, World\"\n</script>"],["header",{"level":3},"state"],["para","Get the state of a given tool. Introduced in the 2013.2.923 internal build."],["header",{"level":4},"Parameters"],["header",{"level":5},"toolName ",["inlinecode","String"]],["para","The name of the tool that will be tested if formatted."],["header",{"level":4},"Returns"],["para",["inlinecode","Boolean"]," The state of the tool."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<em>foo</em>\");\nvar range = editor.createRange();\nrange.selectNodeContents(editor.body.firstChild);\neditor.selectRange(range);\nconsole.log(editor.state(\"italic\")); // logs true\nconsole.log(editor.state(\"bold\")); // logs true\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the editor value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The value of the Editor as HTML string."],["header",{"level":4},"Example"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.value(\"<p>New content</p>\");\nconsole.log(editor.value()); // logs \"<p>New content</p>\"\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when Editor is blurred and its content has changed."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  change: function() {\n    console.log(this.value());\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_change() {\n  console.log(this.value());\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"change\", editor_change);\n</script>"],["header",{"level":3},"execute"],["para","Fires when an Editor command is executed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.name ",["inlinecode","String"]],["para","The name of the command"],["header",{"level":5},"e.command ",["inlinecode","Object"]],["para","The command instance"],["header",{"level":4},"Example - subscribe to the \"execute\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  execute: function(e) {\n    console.log(\"executing command\", e.name, e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"execute\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_execute() {\n  console.log(\"executing command\", e.name, e.value);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"execute\", editor_execute);\n</script>"],["header",{"level":3},"keydown"],["para","Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down."],["header",{"level":4},"Example - subscribe to the \"keydown\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keydown: function(e) {\n    console.log(\"keydown : keyCode=\",e.keyCode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"keydown\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keydown() {\n  console.log(\"keydown : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keydown\", editor_keydown);\n</script>"],["header",{"level":3},"keyup"],["para","Fires when the user releases a keyboard key."],["header",{"level":4},"Example - subscribe to the \"keyup\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    console.log(\"keyup : keyCode=\",e.keyCode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"keyup\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_keyup() {\n  console.log(\"keyup : keyCode=\",e.keyCode);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"keyup\", editor_keyup);\n</script>"],["header",{"level":4},"Example - show word count"],["code_block","<textarea id=\"editor\"></textarea>\n<div id=\"words\"></div>\n<script>\nfunction wordCount(value) {\n  return $.trim(value.replace(/<.*?>/g, \" \"))\n    .replace(/['\";:,.?\\-!]+/g, '')\n    .match(/\\S+/g).length;\n}\n\n$(\"#editor\").kendoEditor({\n  keyup: function(e) {\n    $(\"#words\").text(wordCount(this.value()) + \" words\");\n  }\n});\n</script>"],["header",{"level":3},"paste"],["para","Fires before the content is pasted in the Editor."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.html ",["inlinecode","Object"]],["para","The pasted content"],["header",{"level":4},"Example - subscribe to the \"paste\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  paste: function(e) {\n    console.log(e.html);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"paste\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_paste(e) {\n  console.log(e.html);\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"paste\", editor_paste);\n</script>"],["header",{"level":3},"select"],["para","Fires when the Editor selection has changed."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\n$(\"#editor\").kendoEditor({\n  select: function(e) {\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nfunction editor_select(e) {\n}\n$(\"#editor\").kendoEditor();\nvar editor = $(\"#editor\").data(\"kendoEditor\");\neditor.bind(\"select\", editor_select);\n</script>"],["header",{"level":2},"Class Fields"],["header",{"level":3},"defaultTools ",["inlinecode","Array"]],["para","An array of tool definitions that are used for initializing the default tools. Note: Editors that are already initialized will not be affected by changes to this array."],["header",{"level":4},"Example - insert paragraphts on Shift+Enter, line breaks on Enter"],["code_block","<textarea id=\"editor\"></textarea>\n<script>\nvar defaultTools = kendo.ui.Editor.defaultTools;\n\ndefaultTools[\"insertLineBreak\"].options.shift = false;\ndefaultTools[\"insertParagraph\"].options.shift = true;\n\n$(\"#editor\").kendoEditor();\n</script>"]]},"kendo.ui.FlatColorPicker":{"file":"api/web/flatcolorpicker.md","name":"kendo.ui.FlatColorPicker","config":[{"name":"opacity","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether we should display the opacity slider to allow\nselection of transparency."]],"doc":[["para","Specifies whether we should display the opacity slider to allow\nselection of transparency."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  opacity: true\n});\n</script>"]]},{"name":"buttons","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether the widget should display the Apply / Cancel buttons."]],"doc":[["para","Specifies whether the widget should display the Apply / Cancel buttons."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  buttons: true\n});\n</script>"]]},{"name":"value","type":["String","Color"],"default":"null","short_doc":[["para","Specifies the initially selected color."]],"doc":[["para","Specifies the initially selected color."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  value: \"#b72bba\"\n});\n</script>"]]},{"name":"preview","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether we should display the preview bar which displays the\ncurrent color and the input field."]],"doc":[["para","Specifies whether we should display the preview bar which displays the\ncurrent color and the input field."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  preview: false\n});\n</script>"]]},{"name":"autoupdate","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether the UI should be updated while the user is typing in\nthe input field, whenever a valid color can be parsed.  If you pass\n",["inlinecode","false"]," for this, the widget will update only when ENTER is pressed."]],"doc":[["para","Specifies whether the UI should be updated while the user is typing in\nthe input field, whenever a valid color can be parsed.  If you pass\n",["inlinecode","false"]," for this, the widget will update only when ENTER is pressed."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  autoupdate: false\n});\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","Allows customization of \"Apply\" / \"Cancel\" labels."]],"doc":[["para","Allows customization of \"Apply\" / \"Cancel\" labels."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  buttons: true,\n  messages: {\n    apply: \"Update\",\n    cancel: \"Discard\"\n  }\n});\n</script>"]]}],"methods":[{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.focus();\n</script>"]]]},{"name":"value","args":[{"name":"color","type":["String"],"short_doc":[],"doc":[]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\n\n// set picker value\nflatpicker.value(\"#ccc\");\n\n// get picker value\nvar value = flatpicker.value();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\n\n// set picker value\nflatpicker.value(\"#ccc\");\n\n// get picker value\nvar value = flatpicker.value();\n</script>"]]]},{"name":"color","args":[{"name":"color","type":["kendo.Color"],"short_doc":[["para","The color that should be set as the current value"]],"doc":[["para","The color that should be set as the current value"]]}],"short_doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."]],"doc":[["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"]],"examples":[]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]],"doc":[["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the flat color picker"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.enable(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - disable the flat color picker"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.enable(false);\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.value","type":["String"],"short_doc":[["para","The value of the colorpicker."]],"doc":[["para","The value of the colorpicker."]]}],"short_doc":[["para","Triggers when a new color has been selected."]],"doc":[["para","Triggers when a new color has been selected."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.bind(\"change\", picker_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.bind(\"change\", picker_change);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","This is the HSV color selector, which is used by default in the\n",["inlinecode","kendo.ui.ColorPicker"]," popup when there is no ",["inlinecode","palette"]," set."]],"doc":[["para","This is the HSV color selector, which is used by default in the\n",["inlinecode","kendo.ui.ColorPicker"]," popup when there is no ",["inlinecode","palette"]," set."],["header",{"level":2},"Configuration"],["header",{"level":3},"opacity ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether we should display the opacity slider to allow\nselection of transparency."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  opacity: true\n});\n</script>"],["header",{"level":3},"buttons ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether the widget should display the Apply / Cancel buttons."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  buttons: true\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","String | Color"]," ",["em","(default: null)"]],["para","Specifies the initially selected color."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  value: \"#b72bba\"\n});\n</script>"],["header",{"level":3},"preview ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether we should display the preview bar which displays the\ncurrent color and the input field."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  preview: false\n});\n</script>"],["header",{"level":3},"autoupdate ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether the UI should be updated while the user is typing in\nthe input field, whenever a valid color can be parsed.  If you pass\n",["inlinecode","false"]," for this, the widget will update only when ENTER is pressed."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  autoupdate: false\n});\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","Allows customization of \"Apply\" / \"Cancel\" labels."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  buttons: true,\n  messages: {\n    apply: \"Update\",\n    cancel: \"Discard\"\n  }\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.focus();\n</script>"],["header",{"level":3},"value ",["inlinecode","String|Color"]," ",["em","(default: null)"]],["para","Get or set the selected color. If no argument is given, this returns the\ncurrently selected color as a string in format #FFFFFF when the ",["inlinecode","opacity"],"\noption is off, or rgba(255, 255, 255, 1) when ",["inlinecode","opacity"]," is requested."],["para","If one argument is given, it selects the new color and updates the UI.  The\nargument can be a string in hex, rgb or rgba format, or a ",["link_ref",{"ref":"color","original":"[Color][]"},"Color"]," object.\nThis does not trigger the \"change\" event."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","String"]," ",["em","(optional)"]],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," the string representation of the current color."],["header",{"level":4},"Example"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\n\n// set picker value\nflatpicker.value(\"#ccc\");\n\n// get picker value\nvar value = flatpicker.value();\n</script>"],["header",{"level":3},"color"],["para","Get or set the selected color. If no argument is given, this returns the currently selected color as a ",["link",{"href":"/api/framework/color"},["inlinecode","kendo.Color"]," object"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"color ",["inlinecode","kendo.Color"]," ",["em","(optional)"]],["para","The color that should be set as the current value"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.Color"]," the current value"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Whether the widget should be enabled (",["inlinecode","true"],") or disabled (",["inlinecode","false"],"). If not specified, the method will enable the widget."],["header",{"level":4},"Example - disable the flat color picker"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.enable(false);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Triggers when a new color has been selected."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","String"]],["para","The value of the colorpicker."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\n$(\"#flatpicker\").kendoFlatColorPicker({\n  change: function(e) {\n    console.log(\"The newly selected color is \", e.value);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"flatpicker\"></div>\n<script>\nfunction picker_change(e) {\n  console.log(\"The newly selected color is \", e.value);\n}\n$(\"#flatpicker\").kendoFlatColorPicker();\nvar flatpicker = $(\"#flatpicker\").data(\"kendoFlatColorPicker\");\nflatpicker.bind(\"change\", picker_change);\n</script>"]]},"kendo.ui.Grid":{"file":"api/web/grid.md","name":"kendo.ui.Grid","config":[{"name":"altRowTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the alternating table rows. Be default the grid renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to.\nSet the ",["inlinecode","class"]," of the table row to ",["inlinecode","k-alt"]," to get the default \"alternating\" look and feel."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the alternating table rows. Be default the grid renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to.\nSet the ",["inlinecode","class"]," of the table row to ",["inlinecode","k-alt"]," to get the default \"alternating\" look and feel."]],["header",{"level":4},"Example - specify alternating row template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"alt-template\" type=\"text/x-kendo-template\">\n    <tr data-uid=\"#= uid #\">\n        <td colspan=\"2\">\n            <strong>#: name #</strong>\n            <strong>#: age #</strong>\n        </td>\n    </tr>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  altRowTemplate: kendo.template($(\"#alt-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify alternating row template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [ { name: \"Jane Doe\", age: 30 }, { name: \"John Doe\", age: 33 } ],\n  altRowTemplate: '<tr data-uid=\"#= uid #\"><td colspan=\"2\"><strong>#: name #</strong><strong>#: age #</strong></td></tr>'\n});\n</script>"]]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"grid\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  dataSource: dataSource\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"]]},{"name":"columnResizeHandleWidth","type":["Number"],"default":"3","short_doc":[["para","Defines the width of the column resize handle in pixels. Apply a larger value for easier grasping."],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columnResizeHandleWidth: 6\n});\n</script>"]],"doc":[["para","Defines the width of the column resize handle in pixels. Apply a larger value for easier grasping."],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columnResizeHandleWidth: 6\n});\n</script>"]]},{"name":"columns","type":["Array"],"short_doc":[["para","The configuration of the grid columns. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column configurations. Strings are interpreted as the\n",["link",{"href":"#configuration-columns.field"},"field"]," to which the column is bound. The grid will create a column for every item of the array."],["blockquote",["para","If this setting is ",["strong","not"]," specified the grid will create a column for every field of the data item."]]],"doc":[["para","The configuration of the grid columns. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column configurations. Strings are interpreted as the\n",["link",{"href":"#configuration-columns.field"},"field"]," to which the column is bound. The grid will create a column for every item of the array."],["blockquote",["para","If this setting is ",["strong","not"]," specified the grid will create a column for every field of the data item."]],["header",{"level":4},"Example - specify grid columns as array of strings"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\"name\", \"age\"], // two columns bound to the \"name\" and \"age\" fields\n  dataSource: [ { name: \"Jane\", age: 31 }, { name: \"John\", age: 33 }]\n});\n</script>"],["header",{"level":4},"Example - specify grid columns as array of objects"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [{\n    field: \"name\",// create a column bound to the \"name\" field\n    title: \"Name\" // set its title to \"Name\"\n  }, {\n    field: \"age\",// create a column bound to the \"age\" field\n    title: \"Age\" // set its title to \"Age\"\n  }],\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"]],"sub":[{"name":"menu","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the column will be visible in the grid column menu. By default the column menu includes all data-bound columns (ones that have their ",["link",{"href":"#configuration-columns.field"},"field"]," set)."]],"doc":[["para","If set to ",["inlinecode","true"]," the column will be visible in the grid column menu. By default the column menu includes all data-bound columns (ones that have their ",["link",{"href":"#configuration-columns.field"},"field"]," set)."],["header",{"level":4},"Example - hide a column from the column menu"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\", menu: false },\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: true,\n  dataSource: [\n    { id: 1, name: \"Jane Doe\", age: 30 },\n    { id: 2, name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columns.menu"},{"name":"values","type":["Array"],"short_doc":[["para","An array of values that will be displayed instead of the bound value. Each item in the array must have a ",["inlinecode","text"]," and ",["inlinecode","value"]," fields."],["blockquote",["para","Use the ",["inlinecode","values"]," option to display user-friendly text instead of database values."]]],"doc":[["para","An array of values that will be displayed instead of the bound value. Each item in the array must have a ",["inlinecode","text"]," and ",["inlinecode","value"]," fields."],["blockquote",["para","Use the ",["inlinecode","values"]," option to display user-friendly text instead of database values."]],["header",{"level":4},"Example - specify column values"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n      { text: \"Beverages\", value: 1 },\n      { text: \"Food\", value: 2 }\n    ] }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ]\n});\n</script>"],["para","This example displays \"Beverages\" and \"Food\" in the \"category\" column instead of \"1\" and \"2\"."],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/foreignkeycolumn.html"},"ForeignKey column"]," for a live demo."]]],"orig":"columns.values"},{"name":"width","type":["String","Number"],"short_doc":[["para","The width of the column. Numeric values are treated as pixels. ",["strong","For more important information, please refer to ",["link",{"href":"/getting-started/web/grid/walkthrough#column-widths"},"Column Widths"]],"."]],"doc":[["para","The width of the column. Numeric values are treated as pixels. ",["strong","For more important information, please refer to ",["link",{"href":"/getting-started/web/grid/walkthrough#column-widths"},"Column Widths"]],"."],["header",{"level":4},"Example - set the column width as a string"],["code_block"," <div id=\"grid\"></div>\n <script>\n $(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\", width: \"200px\" },\n     { field: \"age\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ]\n });\n </script>"],["header",{"level":4},"Example - set the column width as a number"],["code_block"," <div id=\"grid\"></div>\n <script>\n $(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\", width: 200 },\n     { field: \"age\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ]\n });\n </script>"]],"orig":"columns.width"},{"name":"title","type":["String"],"short_doc":[["para","The text that is displayed in the column header cell. If not set the ",["link",{"href":"#configuration-columns.field"},"field"]," is used."]],"doc":[["para","The text that is displayed in the column header cell. If not set the ",["link",{"href":"#configuration-columns.field"},"field"]," is used."],["header",{"level":4},"Example - set the title of the column"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ { field: \"name\", title: \"Name\" } ],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"]],"orig":"columns.title"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column content. The grid renders table rows (",["inlinecode","<tr>"],") which represent the data source items.\nEach table row consists of table cells (",["inlinecode","<td>"],") which represent the grid columns. By default the HTML-encoded value of the ",["link",{"href":"#configuration-columns.field"},"field"]," is displayed in the column."],["blockquote",["para","Use the ",["inlinecode","template"]," to customize the way the column displays its value."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column content. The grid renders table rows (",["inlinecode","<tr>"],") which represent the data source items.\nEach table row consists of table cells (",["inlinecode","<td>"],") which represent the grid columns. By default the HTML-encoded value of the ",["link",{"href":"#configuration-columns.field"},"field"]," is displayed in the column."],["blockquote",["para","Use the ",["inlinecode","template"]," to customize the way the column displays its value."]],["header",{"level":4},"Example - set the template as a string (wrap the column value in HTML)"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: \"<strong>#: name # </strong>\"\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set the template as a function returned by kendo.template"],["code_block","<div id=\"grid\"></div>\n<script id=\"name-template\" type=\"text/x-kendo-template\">\n  <strong>#: name #</strong>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: kendo.template($(\"#name-template\").html())\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set the template as a function which returns a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: function(dataItem) {\n      return \"<strong>\" + kendo.htmlEncode(dataItem.name) + \"</strong>\";\n    }\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"]],"orig":"columns.template"},{"name":"sortable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can click the column header and sort the grid by the column ",["link",{"href":"#configuration-columns.field"},"field"]," when sorting is enabled. If set to ",["inlinecode","false"]," sorting will\nbe disabled for this column. By default all columns are sortable if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can click the column header and sort the grid by the column ",["link",{"href":"#configuration-columns.field"},"field"]," when sorting is enabled. If set to ",["inlinecode","false"]," sorting will\nbe disabled for this column. By default all columns are sortable if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."],["header",{"level":4},"Example - disable sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { sortable: false, field: \"id\" },\n    { field: \"name\" }\n  ],\n  sortable: true,\n  dataSource: [ { id: 1, name: \"Jane Doe\" }, { id: 2, name: \"John Doe\" } ]\n});\n</script>"]],"orig":"columns.sortable"},{"name":"hidden","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the column will not be displayed in the grid. By default all columns are displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the column will not be displayed in the grid. By default all columns are displayed."],["header",{"level":4},"Example - hide columns"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { hidden: true, field: \"id\" },\n    { field: \"name\" }\n  ],\n  dataSource: [ { id: 1, name: \"Jane Doe\" }, { id: 2, name: \"John Doe\" } ]\n});\n</script>"]],"orig":"columns.hidden"},{"name":"headerTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column header content. By default the value of the ",["link",{"href":"#configuration-columns.title"},"title"]," column option\nis displayed in the column header cell."],["blockquote",["para","If sorting is enabled, the column header content will be wrapped in a ",["inlinecode","<a>"]," element. As a result the template ",["strong","must"]," contain only inline elements."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column header content. By default the value of the ",["link",{"href":"#configuration-columns.title"},"title"]," column option\nis displayed in the column header cell."],["blockquote",["para","If sorting is enabled, the column header content will be wrapped in a ",["inlinecode","<a>"]," element. As a result the template ",["strong","must"]," contain only inline elements."]],["header",{"level":4},"Example - column header template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    headerTemplate: '<input type=\"checkbox\" id=\"check-all\" /><label for=\"check-all\">Check All</label>'\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"]],"orig":"columns.headerTemplate"},{"name":"headerAttributes","type":["Object"],"short_doc":[["para","HTML attributes of the column header. The grid renders a table header cell (",["inlinecode","<th>"],") for every column. The ",["inlinecode","headerAttributes"]," option can be used to set the HTML attributes of that ",["inlinecode","th"],"."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]]],"doc":[["para","HTML attributes of the column header. The grid renders a table header cell (",["inlinecode","<th>"],") for every column. The ",["inlinecode","headerAttributes"]," option can be used to set the HTML attributes of that ",["inlinecode","th"],"."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]],["header",{"level":4},"Example - set the column header HTML attributes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [{\n    field: \"name\",\n    headerAttributes: {\n      \"class\": \"table-header-cell\",\n      style: \"text-align: right; font-size: 14px\"\n    }\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["para","The table header cell will look like this: ",["inlinecode","<th class=\"table-header-cell\" style=\"text-align: right; font-size: 14px\">name</th>"],"."]],"orig":"columns.headerAttributes"},{"name":"groupFooterTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group footer when the grid is grouped by the column field. By default the group footer is not displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group footer when the grid is grouped by the column field. By default the group footer is not displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - set the group header template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      groupFooterTemplate: \"Total: #= count #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 30 }\n    ],\n    group: { field: \"age\", aggregates: [ { field: \"age\", aggregate: \"count\" }] }\n  }\n});"]],"orig":"columns.groupFooterTemplate"},{"name":"groupHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group header when the grid is grouped by the column ",["link",{"href":"#configuration-columns.field"},"field"],". By default the name of the field\nand the current group value is displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the current group value"],["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group header when the grid is grouped by the column ",["link",{"href":"#configuration-columns.field"},"field"],". By default the name of the field\nand the current group value is displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the current group value"],["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - set the group header template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      groupHeaderTemplate: \"Age: #= value # total: #= count #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 30 }\n    ],\n    group: { field: \"age\", aggregates: [ { field: \"age\", aggregate: \"count\" }] }\n  }\n});"]],"orig":"columns.groupHeaderTemplate"},{"name":"format","type":["String"],"short_doc":[["para","The format that is applied to the value before it is displayed. Takes the form \"{0:format}\" where \"format\" is a ",["link",{"href":"/api/framework/kendo#standard-number-formats"},"standard number format"],",\n",["link",{"href":"/api/framework/kendo#custom-number-formats"},"custom number format"],", ",["link",{"href":"/api/framework/kendo#standard-date-formats"},"standard date format"]," or a ",["link",{"href":"/api/framework/kendo#custom-date-formats"},"custom date format"],"."],["blockquote",["para","The ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"]," function is used to format the value."]]],"doc":[["para","The format that is applied to the value before it is displayed. Takes the form \"{0:format}\" where \"format\" is a ",["link",{"href":"/api/framework/kendo#standard-number-formats"},"standard number format"],",\n",["link",{"href":"/api/framework/kendo#custom-number-formats"},"custom number format"],", ",["link",{"href":"/api/framework/kendo#standard-date-formats"},"standard date format"]," or a ",["link",{"href":"/api/framework/kendo#custom-date-formats"},"custom date format"],"."],["blockquote",["para","The ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"]," function is used to format the value."]],["header",{"level":4},"Example - specify the column format string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    format: \"{0: yyyy-MM-dd HH:mm:ss}\"\n  }, {\n    field: \"number\",\n    format: \"{0:c}\"\n  } ],\n  filterable: true,\n  dataSource: [ { date: new Date(), number: 3.1415 } ]\n});\n</script>"]],"orig":"columns.format"},{"name":"footerTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer table cell for the column."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer table cell for the column."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - specify column footer template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      footerTemplate: \"Min: #: min # Max: #: max #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    aggregate: [\n        { field: \"age\", aggregate: \"min\" },\n        { field: \"age\", aggregate: \"max\" }\n    ]\n  }\n});\n</script>"]],"orig":"columns.footerTemplate"},{"name":"filterable","type":["Boolean","Object"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," a filter menu will be displayed for this column when filtering is enabled. If set to ",["inlinecode","false"]," the filter menu will not be displayed. By default a filter menu is displayed\nfor all columns when filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"]," option."],["para","Can be set to a JavaScript object which represents the filter menu configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," a filter menu will be displayed for this column when filtering is enabled. If set to ",["inlinecode","false"]," the filter menu will not be displayed. By default a filter menu is displayed\nfor all columns when filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"]," option."],["para","Can be set to a JavaScript object which represents the filter menu configuration."],["header",{"level":4},"Example - disable filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\", filterable: false },\n    { field: \"age\" }\n  ],\n  filterable: true,\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"]],"sub":[{"name":"ui","type":["String","Function"],"short_doc":[["para","The role data attribute of the widget used in the filter menu or a JavaScript function which initializes that widget."]],"doc":[["para","The role data attribute of the widget used in the filter menu or a JavaScript function which initializes that widget."],["header",{"level":4},"Example - specify the filter UI as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    filterable: {\n      ui: \"datetimepicker\" // use Kendo UI DateTimePicker\n    }\n  } ],\n  filterable: true,\n  dataSource: [ { date: new Date() }, { date: new Date() } ]\n});\n</script>"],["header",{"level":4},"Example - initialize the filter UI"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    filterable: {\n      ui: function(element) {\n        element.kendoDateTimePicker(); // initialize a Kendo UI DateTimePicker\n      }\n    }\n  } ],\n    filterable: true,\n    dataSource: [ { date: new Date() }, { date: new Date() } ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/filter-menu-customization.html"},"Filter menu customization"]," for a live demo."]]],"orig":"columns.filterable.ui"}],"orig":"columns.filterable"},{"name":"field","type":["String"],"short_doc":[["para","The field to which the column is bound. The value of this field is displayed by the column during data binding.\n",["strong","The field name should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter."]]],"doc":[["para","The field to which the column is bound. The value of this field is displayed by the column during data binding.\n",["strong","The field name should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter."]],["header",{"level":4},"Example - specify the column field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    // create a column bound to the \"name\" field\n    { field: \"name\" },\n    // create a column bound to the \"age\" field\n    { field: \"age\" }\n  ],\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"]],"orig":"columns.field"},{"name":"encoded","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the column value will be HTML-encoded before it is displayed. If set to ",["inlinecode","false"]," the column value will be displayed as is. By default the column value is HTML-encoded."]],"doc":[["para","If set to ",["inlinecode","true"]," the column value will be HTML-encoded before it is displayed. If set to ",["inlinecode","false"]," the column value will be displayed as is. By default the column value is HTML-encoded."],["header",{"level":4},"Example - prevent HTML encoding"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\", encoded: false }\n  ],\n  dataSource: [ { name: \"<strong>Jane Doe</strong>\" } ]\n});\n</script>"]],"orig":"columns.encoded"},{"name":"editor","type":["Function"],"short_doc":[["para","Provides a way to specify a custom editing UI for the column. Use the ",["inlinecode","container"]," parameter to create the editing UI."],["blockquote",["para","The editing UI should contain an element whose ",["inlinecode","name"]," HTML attribute is set as the column ",["link",{"href":"#configuration-columns.field"},"field"],"."],["para","Validation settings defined in the ",["inlinecode","model.fields"]," configuration will ",["strong","not"]," be applied automatically. In order the validation to work, ",["strong","the developer is responsible for attaching the corresponding validation attributes to the editor input"],". In case the custom editor is a widget, the developer should ",["link",{"href":"http://docs.kendoui.com/getting-started/framework/validator/overview#customizing-the-tooltip-position"},"customize the validation warning tooltip position"]," in order to avoid visual issues."]]],"doc":[["para","Provides a way to specify a custom editing UI for the column. Use the ",["inlinecode","container"]," parameter to create the editing UI."],["blockquote",["para","The editing UI should contain an element whose ",["inlinecode","name"]," HTML attribute is set as the column ",["link",{"href":"#configuration-columns.field"},"field"],"."],["para","Validation settings defined in the ",["inlinecode","model.fields"]," configuration will ",["strong","not"]," be applied automatically. In order the validation to work, ",["strong","the developer is responsible for attaching the corresponding validation attributes to the editor input"],". In case the custom editor is a widget, the developer should ",["link",{"href":"http://docs.kendoui.com/getting-started/framework/validator/overview#customizing-the-tooltip-position"},"customize the validation warning tooltip position"]," in order to avoid visual issues."]],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element."],["header",{"level":5},"options ",["inlinecode","Object"]],["header",{"level":5},"options.field ",["inlinecode","String"]],["para","The name of the field to which the column is bound."],["header",{"level":5},"options.format ",["inlinecode","String"]],["para","The format string of the column specified via the ",["link",{"href":"#configuration-columns.format"},"format"]," option."],["header",{"level":5},"options.model ",["inlinecode","kendo.data.Model"]],["para","The model instance to which the current table row is bound."],["header",{"level":5},"options.values ",["inlinecode","Array"]],["para","Array of values specified via the ",["link",{"href":"#configuration-columns.values"},"values"]," option."],["header",{"level":4},"Example - create a custom column editor using the Kendo UI AutoComplete"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    editor: function(container, options) {\n     // create an input element\n     var input = $(\"<input/>\");\n     // set its name to the field to which the column is bound ('name' in this case)\n     input.attr(\"name\", options.field);\n     // append it to the container\n     input.appendTo(container);\n     // initialize a Kendo UI AutoComplete\n     input.kendoAutoComplete({\n       dataTextField: \"name\",\n       dataSource: [\n         { name: \"Jane Doe\" },\n         { name: \"John Doe\" }\n       ]\n     });\n    }\n  } ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - create a custom column editor with validation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"num\",\n    editor: function(container, options) {\n     //create input element and add the validation attribute\n     var input = $('<input name=\"' + options.field + '\" required=\"required\" />');\n     //append the editor\n     input.appendTo(container);\n     //enhance the input into NumericTextBox\n     input.kendoNumericTextBox();\n\n     //create tooltipElement element, NOTE: data-for attribute should match editor's name attribute\n     var tooltipElement = $('<span class=\"k-invalid-msg\" data-for=\"' + options.field + '\"></span>');\n     //append the tooltip element\n     tooltipElement.appendTo(container);\n   }\n  } ],\n  editable: true,\n  scrollable: false,\n  dataSource: {\n    data: [ { num: 1 }, { num: 2 } ],\n    schema: {\n      model: {\n        fields: {\n          num: { type: \"number\", validation: { required: true } }\n        }\n      }\n    }\n  }\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-custom.html"},"Editing custom editor"]," for a live demo."]]],"orig":"columns.editor"},{"name":"command","type":["String","Array"],"short_doc":[["para","The configuration of the column command(s). If set the column would display a button for every command. Commands can be custom or built-in (\"edit\" or \"destroy\")."],["para","The \"edit\" built-in command switches the current table row in edit mode."],["para","The \"destroy\" built-in command removes the data item to which the current table row is bound."],["para","Custom commands are supported by specifying the ",["link",{"href":"#configuration-columns.command.click"},"click"]," option."],["blockquote",["para","The built-in \"edit\" and \"destroy\" commands work ",["em","only"]," if editing is enabled via the ",["link",{"href":"#configuration-editable"},"editable"]," option. The \"edit\" command supports \"inline\" and \"popup\" editing modes."]]],"doc":[["para","The configuration of the column command(s). If set the column would display a button for every command. Commands can be custom or built-in (\"edit\" or \"destroy\")."],["para","The \"edit\" built-in command switches the current table row in edit mode."],["para","The \"destroy\" built-in command removes the data item to which the current table row is bound."],["para","Custom commands are supported by specifying the ",["link",{"href":"#configuration-columns.command.click"},"click"]," option."],["blockquote",["para","The built-in \"edit\" and \"destroy\" commands work ",["em","only"]," if editing is enabled via the ",["link",{"href":"#configuration-editable"},"editable"]," option. The \"edit\" command supports \"inline\" and \"popup\" editing modes."]],["header",{"level":4},"Example - set command as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: \"destroy\" } // displays the built-in \"destroy\" command\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set command as array of strings"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [\"edit\", \"destroy\"] } // displays the built-in \"edit\" and \"destroy\" commands\n  ],\n  editable: \"inline\",\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set command as array of objects"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [\n        {\n         name: \"details\",\n         click: function(e) {\n            // command button click handler\n         }\n        },\n        { name: \"destroy\" } // built-in \"destroy\" command\n      ]\n    }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"]],"sub":[{"name":"click","type":["Function"],"short_doc":[["para","The JavaScript function executed when the user clicks the command button. The function receives a ",["link",{"href":"http://api.jquery.com/category/events/event-object/"},"jQuery Event"]," as an argument."],["para","The function context (available via the ",["inlinecode","this"]," keyword) will be set to the grid instance."]],"doc":[["para","The JavaScript function executed when the user clicks the command button. The function receives a ",["link",{"href":"http://api.jquery.com/category/events/event-object/"},"jQuery Event"]," as an argument."],["para","The function context (available via the ",["inlinecode","this"]," keyword) will be set to the grid instance."],["header",{"level":4},"Example - handle the click event of the custom command button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [ {\n        name: \"details\",\n        click: function(e) {\n          // e.target is the DOM element representing the button\n          var tr = $(e.target).closest(\"tr\"); // get the current table row (tr)\n          // get the data bound to the current table row\n          var data = this.dataItem(tr);\n          console.log(\"Details for: \" + data.name);\n        }\n      } ]\n   }\n  ],\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"]],"orig":"columns.command.click"},{"name":"className","type":["String"],"short_doc":[["para","The CSS class applied to the command button."]],"doc":[["para","The CSS class applied to the command button."],["header",{"level":4},"Example - set the CSS class of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ className: \"btn-destroy\", name: \"destroy\", text: \"Remove\" }] }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>\n<style>\n.btn-destroy {\n    color: red;\n}\n</style>"]],"orig":"columns.command.className"},{"name":"text","type":["String"],"short_doc":[["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-columns.command.name"},"name"]," option is used as the button text."]],"doc":[["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-columns.command.name"},"name"]," option is used as the button text."],["header",{"level":4},"Example - customize the text of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ name: \"destroy\", text: \"Remove\" }] }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - customize the \"edit\", \"cancel\" and \"update\" text of the edit command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: [{ name: \"edit\",\n                  text: { edit: \"Custom edit\", cancel: \"Custom cancel\", update: \"Custom update\" } }]  }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"inline\"\n  }\n});\n</script>"]],"orig":"columns.command.text"},{"name":"name","type":["String"],"short_doc":[["para","The name of the command. The built-in commands are \"edit\" and \"destroy\". Can be set to a custom value."]],"doc":[["para","The name of the command. The built-in commands are \"edit\" and \"destroy\". Can be set to a custom value."],["header",{"level":4},"Example - set the command name"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ name: \"edit\" }] }\n  ],\n  editable: \"popup\",\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"]],"orig":"columns.command.name"}],"orig":"columns.command"},{"name":"attributes","type":["Object"],"short_doc":[["para","HTML attributes of the table cell (",["inlinecode","<td>"],") rendered for the column."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]]],"doc":[["para","HTML attributes of the table cell (",["inlinecode","<td>"],") rendered for the column."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]],["header",{"level":4},"Example - specify column HTML attributes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    title: \"Name\",\n    attributes: {\n      \"class\": \"table-cell\",\n      style: \"text-align: right; font-size: 14px\"\n    }\n  } ],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n</script>"],["para","The table cells would look like this: ",["inlinecode","<td class=\"table-cell\" style=\"text-align: right; font-size: 14px\">...</td>"],"."]],"orig":"columns.attributes"},{"name":"aggregates","type":["Array"],"short_doc":[["para","The aggregate(s) which are calculated when the grid is grouped by the columns ",["link",{"href":"#configuration-columns.field"},"field"],".\nThe supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."]],"doc":[["para","The aggregate(s) which are calculated when the grid is grouped by the columns ",["link",{"href":"#configuration-columns.field"},"field"],".\nThe supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - set column aggregates"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"firstName\", groupable: false },\n    { field: \"lastName\" }, /* group by this column to see the footer template */\n    { field: \"age\",\n      groupable: false,\n      aggregates: [ \"count\", \"min\", \"max\" ],\n      groupFooterTemplate: \"age total: #: count #, min: #: min #, max: #: max #\"\n    }\n  ],\n  groupable: true,\n  dataSource: {\n    data: [\n      { firstName: \"Jane\", lastName: \"Doe\", age: 30 },\n      { firstName: \"John\", lastName: \"Doe\", age: 33 }\n    ]\n  }\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/aggregates.html"},"Aggregates"]," for a live demo."]]],"orig":"columns.aggregates"}]},{"name":"columnMenu","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled).\nBy default the column menu is not enabled."],["para","Can be set to a JavaScript object which represents the column menu configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled).\nBy default the column menu is not enabled."],["para","Can be set to a JavaScript object which represents the column menu configuration."],["header",{"level":4},"Example - enable the column menu"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-menu.html"},"Column menu"]," for a live demo."]]],"sub":[{"name":"messages","type":["Object"],"short_doc":[["para","The text messages displayed in the column menu. Use it to customize or localize the column menu messages."]],"doc":[["para","The text messages displayed in the column menu. Use it to customize or localize the column menu messages."],["header",{"level":4},"Example - customize column menu messages"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      columns: \"Choose columns\",\n      filter: \"Apply filter\",\n      sortAscending: \"Sort (asc)\",\n      sortDescending: \"Sort (desc)\"\n    }\n  },\n  sortable: true,\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"sub":[{"name":"done","type":["String"],"default":"\"Done\"","short_doc":[["para","The text message displayed in the menu header button (available in mobile mode only)."]],"doc":[["para","The text message displayed in the menu header button (available in mobile mode only)."],["header",{"level":4},"Example - mobile column menu header button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      done: \"Ok\",\n    }\n  },\n  mobile: \"phone\",\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.done"},{"name":"settings","type":["String"],"default":"\"Column Settings\"","short_doc":[["para","The text message displayed in the menu header (available in mobile mode only)."]],"doc":[["para","The text message displayed in the menu header (available in mobile mode only)."],["header",{"level":4},"Example - mobile column menu header"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      settings: \"Column Options\",\n    }\n  },\n  mobile: \"phone\",\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.settings"},{"name":"sortDescending","type":["String"],"default":"\"Sort Descending\"","short_doc":[["para","The text message displayed for the menu item which performs descending sort."]],"doc":[["para","The text message displayed for the menu item which performs descending sort."],["header",{"level":4},"Example - set the sort descending message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      sortDescending: \"Sort (desc)\",\n    }\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.sortDescending"},{"name":"sortAscending","type":["String"],"default":"\"Sort Ascending\"","short_doc":[["para","The text message displayed for the menu item which performs ascending sort."]],"doc":[["para","The text message displayed for the menu item which performs ascending sort."],["header",{"level":4},"Example - set the sort ascending message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      sortAscending: \"Sort (asc)\",\n    }\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.sortAscending"},{"name":"filter","type":["String"],"default":"\"Filter\"","short_doc":[["para","The text message displayed for the filter menu item."]],"doc":[["para","The text message displayed for the filter menu item."],["header",{"level":4},"Example - set the filter message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      filter: \"Apply filter\",\n    }\n  },\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.filter"},{"name":"columns","type":["String"],"default":"\"Columns\"","short_doc":[["para","The text message displayed for the column selection menu item."]],"doc":[["para","The text message displayed for the column selection menu item."],["header",{"level":4},"Example - set the column selection message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      columns: \"Choose columns\"\n    }\n  },\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.messages.columns"}],"orig":"columnMenu.messages"},{"name":"sortable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to sort the grid by the column field. By default the column menu allows the user to sort if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."],["blockquote",["para","If this option is set to ",["inlinecode","false"]," the user could still sort by clicking the column header cell."]]],"doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to sort the grid by the column field. By default the column menu allows the user to sort if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."],["blockquote",["para","If this option is set to ",["inlinecode","false"]," the user could still sort by clicking the column header cell."]],["header",{"level":4},"Example - disable column menu sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    sortable: false\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.sortable"},{"name":"filterable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to filter the grid. By default the column menu allows the user to filter if filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"],"."]],"doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to filter the grid. By default the column menu allows the user to filter if filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"],"."],["header",{"level":4},"Example - disable column menu filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    filterable: false\n  },\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.filterable"},{"name":"columns","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection."]],"doc":[["para","If set to ",["inlinecode","true"]," the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection."],["header",{"level":4},"Example - disable column selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    columns: false\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"columnMenu.columns"}]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id=\"grid\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  pageSize: 10\n});\n$(\"#grid\").kendoGrid({\n  dataSource: dataSource,\n  pageable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/local-data.html"},"Binding to local data"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/remote-data.html"},"Binding to remote data"]," for live demos."]]]},{"name":"detailTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the detail rows."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the detail rows."],["header",{"level":4},"Example - specify detail template as a function"],["code_block","<script id=\"detail-template\">\n  <div>\n    Name: #: name #\n  </div>\n  <div>\n    Age: #: age #\n  </div>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: kendo.template($(\"#detail-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify detail template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\n</script>"],["blockquote",["para","The detail template content cannot be wider than the total width of all master columns, unless the detail template is scrollable.\nCheck ",["link",{"href":"http://demos.kendoui.com/web/grid/detailtemplate.html"},"Detail Template"]," for a live demo."]]]},{"name":"editable","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user would be able to edit the data to which the grid is bound to. By default editing is disabled."],["para","Can be set to a string (\"inline\", \"incell\" or \"popup\") to specify the editing mode. The default editing mode is \"incell\"."],["para","Can be set to a JavaScript object which represents the editing configuration."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]]],"doc":[["para","If set to ",["inlinecode","true"]," the user would be able to edit the data to which the grid is bound to. By default editing is disabled."],["para","Can be set to a string (\"inline\", \"incell\" or \"popup\") to specify the editing mode. The default editing mode is \"incell\"."],["para","Can be set to a JavaScript object which represents the editing configuration."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]],["header",{"level":4},"Example - enable editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: true\n});\n</script>"],["header",{"level":4},"Example - enable popup editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: \"popup\"\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/editing.html"},"Batch editing"],", ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-inline.html"},"Inline editing"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-popup.html"},"Popup editing"]," for live demos."]]],"sub":[{"name":"window","type":["Object"],"short_doc":[["para","Configures the Kendo UI Window instance, which is used when the Grid edit mode is ",["inlinecode","\"popup\""],". The configuration is optional."],["para","For more information, please refer to the ",["link",{"href":"/api/web/window"},"Window configuration API"],"."]],"doc":[["para","Configures the Kendo UI Window instance, which is used when the Grid edit mode is ",["inlinecode","\"popup\""],". The configuration is optional."],["para","For more information, please refer to the ",["link",{"href":"/api/web/window"},"Window configuration API"],"."],["header",{"level":4},"Example - Grid popup Window configuration"],["code_block","<div id=\"grid\"></div>\n<script>\n\nfunction myOpenEventHandler(e) {\n    // ...\n}\n\n$(\"#grid\").kendoGrid({\n  editable: {\n    mode: \"popup\",\n    window: {\n        title: \"My Custom Title\",\n        animation: false,\n        open: myOpenEventHandler\n    }\n  }\n});\n</script>"]],"orig":"editable.window"},{"name":"update","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can edit data items when editing is enabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can edit data items when editing is enabled."],["header",{"level":4},"Example - enable only deleting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    mode: \"incell\",\n    update: false\n  }\n});\n</script>"]],"orig":"editable.update"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders popup editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders popup editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]],["header",{"level":4},"Example - customize the popup editor"],["code_block","<script id=\"popup-editor\" type=\"text/x-kendo-template\">\n  <h3>Edit Person</h3>\n  <p>\n    <label>Name:<input name=\"name\" /></label>\n  </p>\n  <p>\n    <label>Age: <input data-role=\"numerictextbox\" name=\"age\" /></label>\n  </p>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"popup\",\n    template: kendo.template($(\"#popup-editor\").html())\n  }\n});\n</script>"],["header",{"level":4},"Example - using MVVM in the popup editor template"],["code_block","<script id=\"popup-editor\" type=\"text/x-kendo-template\">\n  <h3>Edit Person</h3>\n  <p>\n    <label>Name:<input data-bind=\"value: name\" /></label>\n  </p>\n  <p>\n    <label>Age:<input data-role=\"numerictextbox\" data-bind=\"value:age\" /></label>\n  </p>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"popup\",\n    template: kendo.template($(\"#popup-editor\").html())\n  }\n});\n</script>"]],"orig":"editable.template"},{"name":"mode","type":["String"],"default":"\"incell\"","short_doc":[["para","The editing mode to use. The supported editing modes are \"incell\", \"inline\" and \"popup\"."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]]],"doc":[["para","The editing mode to use. The supported editing modes are \"incell\", \"inline\" and \"popup\"."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]],["header",{"level":4},"Example - specify inline editing mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"inline\"\n  }\n});\n</script>"]],"orig":"editable.mode"},{"name":"destroy","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can delete data items from the grid by clicking the \"destroy\" command button. Deleting is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can delete data items from the grid by clicking the \"destroy\" command button. Deleting is enabled by default."],["header",{"level":4},"Example - disable deleting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    destroy: false\n  },\n  toolbar: [\"create\"]\n});\n</script>"]],"orig":"editable.destroy"},{"name":"createAt","type":["String"],"default":"\"top\"","short_doc":[["para","The position at which new data items are inserted in the grid. Must be set to either \"top\" or \"bottom\". By default new data items are inserted at the top."]],"doc":[["para","The position at which new data items are inserted in the grid. Must be set to either \"top\" or \"bottom\". By default new data items are inserted at the top."],["header",{"level":4},"Example - insert new data items at the bottom"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    createAt: \"bottom\"\n  },\n  toolbar: [\"create\"]\n});\n</script>"]],"orig":"editable.createAt"},{"name":"confirmDelete","type":["String"],"default":"\"Delete\"","short_doc":[["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the confirm button."]],"doc":[["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the confirm button."],["header",{"level":4},"Example - change the cofirm delete button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   mobile: \"phone\",\n   editable: {\n     confirmation: true,\n     confirmDelete: \"Yes\"\n   }\n});\n</script>"]],"orig":"editable.confirmDelete"},{"name":"cancelDelete","type":["String"],"default":"\"Cancel\"","short_doc":[["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the cancel button."]],"doc":[["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the cancel button."],["header",{"level":4},"Example - change the cancel delete button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   mobile: \"phone\",\n   editable: {\n     confirmation: true,\n     cancelDelete: \"No\"\n   }\n});\n</script>"]],"orig":"editable.cancelDelete"},{"name":"confirmation","type":["Boolean","String"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the grid will display a confirmation dialog when the user clicks the \"destroy\" command button."],["para","Can be set to a string which will be used as the confirmation text."]],"doc":[["para","If set to ",["inlinecode","true"]," the grid will display a confirmation dialog when the user clicks the \"destroy\" command button."],["para","Can be set to a string which will be used as the confirmation text."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   editable: {\n     confirmation: false\n   }\n});\n</script>"],["header",{"level":4},"Example - set delete confirmation text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   editable: {\n     confirmation: \"Are you sure that you want to delete this record?\"\n   }\n});\n</script>"]],"orig":"editable.confirmation"}]},{"name":"filterable","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user can filter the data source using the grid filter menu. Filtering is disabled by default."],["para","Can be set to a JavaScript object which represents the filter menu configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can filter the data source using the grid filter menu. Filtering is disabled by default."],["para","Can be set to a JavaScript object which represents the filter menu configuration."],["header",{"level":4},"Example - enable the filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"sub":[{"name":"operators","type":["Object"],"short_doc":[["para","The text of the filter operators displayed in the filter menu."]],"doc":[["para","The text of the filter operators displayed in the filter menu."]],"sub":[{"name":"enums","type":["Object"],"short_doc":[["para","The texts of the filter operators displayed for columns which have their ",["link",{"href":"#configuration-columns.values"},"values"]," option set."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]]],"doc":[["para","The texts of the filter operators displayed for columns which have their ",["link",{"href":"#configuration-columns.values"},"values"]," option set."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set enum operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"]],"sub":[{"name":"neq","type":["String"],"default":"\"Is not equal to\"","short_doc":[["para","The text of the \"not equal\" filter operator."]],"doc":[["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the enum \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.enums.neq"},{"name":"eq","type":["String"],"default":"\"Is equal to\"","short_doc":[["para","The text of the \"equal\" filter operator."]],"doc":[["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the enum \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.enums.eq"}],"orig":"filterable.operators.enums"},{"name":"date","type":["Object"],"short_doc":[["para","The texts of the filter operators displayed for columns bound to date fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]]],"doc":[["para","The texts of the filter operators displayed for columns bound to date fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set date operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gt: \"After\",\n        lt: \"Before\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."]],"sub":[{"name":"lt","type":["String"],"default":"\"Is before\"","short_doc":[["para","The text of the \"less than\" filter operator."]],"doc":[["para","The text of the \"less than\" filter operator."],["header",{"level":4},"Example - set the date \"less than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        lt: \"Before\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.lt"},{"name":"lte","type":["String"],"default":"\"Is before or equal to\"","short_doc":[["para","The text of the \"less than or equal\" filter operator."]],"doc":[["para","The text of the \"less than or equal\" filter operator."],["header",{"level":4},"Example - set the date \"less than or equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        lte: \"Before or equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.lte"},{"name":"gt","type":["String"],"default":"\"Is after\"","short_doc":[["para","The text of the \"greater than\" filter operator."]],"doc":[["para","The text of the \"greater than\" filter operator."],["header",{"level":4},"Example - set the date \"greater than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gt: \"After\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.gt"},{"name":"gte","type":["String"],"default":"\"Is after or equal to\"","short_doc":[["para","The text of the \"greater than or equal\" filter operator."]],"doc":[["para","The text of the \"greater than or equal\" filter operator."],["header",{"level":4},"Example - set the date \"greater than or equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gte: \"After or equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.gte"},{"name":"neq","type":["String"],"default":"\"Is not equal to\"","short_doc":[["para","The text of the \"not equal\" filter operator."]],"doc":[["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the date \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        neq: \"Not equal\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.neq"},{"name":"eq","type":["String"],"default":"\"Is equal to\"","short_doc":[["para","The text of the \"equal\" filter operator."]],"doc":[["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the date \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        eq: \"Equal\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.date.eq"}],"orig":"filterable.operators.date"},{"name":"number","type":["Object"],"short_doc":[["para","The texts of the filter operators displayed for columns bound to number fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]]],"doc":[["para","The texts of the filter operators displayed for columns bound to number fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set number operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."]],"sub":[{"name":"lt","type":["String"],"default":"\"Is less than\"","short_doc":[["para","The text of the \"less than\" filter operator."]],"doc":[["para","The text of the \"less than\" filter operator."],["header",{"level":4},"Example - set the number \"less than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        lt: \"Less than\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.lt"},{"name":"lte","type":["String"],"default":"\"Is less than or equal to\"","short_doc":[["para","The text of the \"less than or equal\" filter operator."]],"doc":[["para","The text of the \"less than or equal\" filter operator."],["header",{"level":4},"Example - set the number \"less than or equal to\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        lte: \"Less than or equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.lte"},{"name":"gt","type":["String"],"default":"\"Is greater than\"","short_doc":[["para","The text of the \"greater than\" filter operator."]],"doc":[["para","The text of the \"greater than\" filter operator."],["header",{"level":4},"Example - set the number \"greater than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        gt: \"Greater than\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.gt"},{"name":"gte","type":["String"],"default":"\"Is greater than or equal to\"","short_doc":[["para","The text of the \"greater than or equal\" filter operator."]],"doc":[["para","The text of the \"greater than or equal\" filter operator."],["header",{"level":4},"Example - set the number \"greater than or equal to\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        gte: \"Greater than or equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.gte"},{"name":"neq","type":["String"],"default":"\"Is not equal to\"","short_doc":[["para","The text of the \"not equal\" filter operator."]],"doc":[["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the number \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.neq"},{"name":"eq","type":["String"],"default":"\"Is equal to\"","short_doc":[["para","The text of the \"equal\" filter operator."]],"doc":[["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the number \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.number.eq"}],"orig":"filterable.operators.number"},{"name":"string","type":["Object"],"short_doc":[["para","The texts of the filter operators displayed for columns bound to string fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]]],"doc":[["para","The texts of the filter operators displayed for columns bound to string fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set string operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."]],"sub":[{"name":"endswith","type":["String"],"default":"\"Ends with\"","short_doc":[["para","The text of the \"ends with\" filter operator."]],"doc":[["para","The text of the \"ends with\" filter operator."],["header",{"level":4},"Example - set the string \"ends with\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        endswith: \"Ends\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.endswith"},{"name":"doesnotcontain","type":["String"],"default":"\"Does not contain\"","short_doc":[["para","The text of the \"does not contain\" filter operator."]],"doc":[["para","The text of the \"does not contain\" filter operator."],["header",{"level":4},"Example - set the string \"does not contain\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        doesnotcontain: \"Doesn't contain\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.doesnotcontain"},{"name":"contains","type":["String"],"default":"\"Contains\"","short_doc":[["para","The text of the \"contains\" filter operator."]],"doc":[["para","The text of the \"contains\" filter operator."],["header",{"level":4},"Example - set the string \"contains\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        contains: \"Contains\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.contains"},{"name":"startswith","type":["String"],"default":"\"Starts with\"","short_doc":[["para","The text of the \"starts with\" filter operator."]],"doc":[["para","The text of the \"starts with\" filter operator."],["header",{"level":4},"Example - set the string \"starts with\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        startswith: \"Starts\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.startswith"},{"name":"neq","type":["String"],"default":"\"Is not equal to\"","short_doc":[["para","The text of the \"not equal\" filter operator."]],"doc":[["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the string \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.neq"},{"name":"eq","type":["String"],"default":"\"Is equal to\"","short_doc":[["para","The text of the \"equal\" filter operator."]],"doc":[["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the string \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"]],"orig":"filterable.operators.string.eq"}],"orig":"filterable.operators.string"}],"orig":"filterable.operators"},{"name":"messages","type":["Object"],"short_doc":[["para","The text messages displayed in the filter menu. Use it to customize or localize the filter menu messages."]],"doc":[["para","The text messages displayed in the filter menu. Use it to customize or localize the filter menu messages."],["header",{"level":4},"Example - customize filter menu messages"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      and: \"and\",\n      or: \"or\",\n      filter: \"Apply filter\",\n      clear: \"Clear filter\"\n    }\n  }\n});\n</script>"]],"sub":[{"name":"value","type":["String"],"default":"\"Value\"","short_doc":[["para","The text of the value item in filter menu (available in mobile mode only)."]],"doc":[["para","The text of the value item in filter menu (available in mobile mode only)."],["header",{"level":4},"Example - set the text of value item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      value: \"Choose value\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.value"},{"name":"operator","type":["String"],"default":"\"Operator\"","short_doc":[["para","The text of the operator item in filter menu (available in mobile mode only)."]],"doc":[["para","The text of the operator item in filter menu (available in mobile mode only)."],["header",{"level":4},"Example - set the text of operator item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      operator: \"Choose operator\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.operator"},{"name":"cancel","type":["String"],"default":"\"Cancel\"","short_doc":[["para","The text of the cancel button in the filter menu header (available in mobile mode only)."]],"doc":[["para","The text of the cancel button in the filter menu header (available in mobile mode only)."],["header",{"level":4},"Example - set the cancel button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      cancel: \"Reject\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.cancel"},{"name":"selectValue","type":["String"],"default":"\"-Select value-\"","short_doc":[["para","The text of the dropdownlist displayed in the filter menu for columns whose ",["link",{"href":"#configuration-columns.values"},"values"]," option is set."]],"doc":[["para","The text of the dropdownlist displayed in the filter menu for columns whose ",["link",{"href":"#configuration-columns.values"},"values"]," option is set."],["header",{"level":4},"Example - set the \"selectValue\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    messages: {\n      selectValue: \"Select category\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.selectValue"},{"name":"or","type":["String"],"default":"\"Or\"","short_doc":[["para","The text of the option which represents the \"or\" logical operation."]],"doc":[["para","The text of the option which represents the \"or\" logical operation."],["header",{"level":4},"Example - set the \"or\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      or: \"or\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.or"},{"name":"isTrue","type":["String"],"default":"\"is true\"","short_doc":[["para","The text of the radio button for ",["inlinecode","true"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."]],"doc":[["para","The text of the radio button for ",["inlinecode","true"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."],["header",{"level":4},"Example - set the \"isTrue\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"active\" }\n  ],\n  dataSource: {\n    data: [\n      { active: true },\n      { active: false }\n    ],\n    schema: {\n      model: {\n        fields: {\n          active: { type: \"boolean\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    messages: {\n      isTrue: \"True\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.isTrue"},{"name":"isFalse","type":["String"],"default":"\"is false\"","short_doc":[["para","The text of the radio button for ",["inlinecode","false"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."]],"doc":[["para","The text of the radio button for ",["inlinecode","false"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."],["header",{"level":4},"Example - set the \"isFalse\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"active\" }\n  ],\n  dataSource: {\n    data: [\n      { active: true },\n      { active: false }\n    ],\n    schema: {\n      model: {\n        fields: {\n          active: { type: \"boolean\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    messages: {\n      isFalse: \"False\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.isFalse"},{"name":"info","type":["String"],"default":"\"Show items with value that: \"","short_doc":[["para","The text of the information message on the top of the filter menu."]],"doc":[["para","The text of the information message on the top of the filter menu."],["header",{"level":4},"Example - set the \"info\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      info: \"Filter by: \"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.info"},{"name":"filter","type":["String"],"default":"\"Filter\"","short_doc":[["para","The text of the button which applies the filter."]],"doc":[["para","The text of the button which applies the filter."],["header",{"level":4},"Example - set the \"filter\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      filter: \"Apply filter\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.filter"},{"name":"clear","type":["String"],"default":"\"Clear\"","short_doc":[["para","The text of the button which clears the filter."]],"doc":[["para","The text of the button which clears the filter."],["header",{"level":4},"Example - set the \"clear\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      clear: \"Clear filter\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.clear"},{"name":"and","type":["String"],"default":"\"And\"","short_doc":[["para","The text of the option which represents the \"and\" logical operation."]],"doc":[["para","The text of the option which represents the \"and\" logical operation."],["header",{"level":4},"Example - set the \"and\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      and: \"and\"\n    }\n  }\n});\n</script>"]],"orig":"filterable.messages.and"}],"orig":"filterable.messages"},{"name":"extra","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the filter menu allows the user to input a second criteria."]],"doc":[["para","If set to ",["inlinecode","true"]," the filter menu allows the user to input a second criteria."],["header",{"level":4},"Example - disable the extra filtering criteria"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  filterable: {\n    extra: false\n  },\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"filterable.extra"}]},{"name":"groupable","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user could group the grid by dragging the column header cells. By default grouping is disabled."],["para","Can be set to a JavaScript object which represents the grouping configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the user could group the grid by dragging the column header cells. By default grouping is disabled."],["para","Can be set to a JavaScript object which represents the grouping configuration."],["header",{"level":4},"Example - enable grouping"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  groupable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/index.html"},"Basic usage"]," for a live demo."]]],"sub":[{"name":"messages","type":["Object"],"short_doc":[["para","The text messages displayed during grouping."]],"doc":[["para","The text messages displayed during grouping."]],"sub":[{"name":"empty","type":["String"],"default":"\"Drag a column header and drop it here to group by that column\"","short_doc":[["para","The text displayed in the grouping drop area."]],"doc":[["para","The text displayed in the grouping drop area."],["header",{"level":4},"Example - set the \"empty\" grouping message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  groupable: {\n    messages: {\n      empty: \"Drop columns here\"\n    }\n  }\n});\n</script>"]],"orig":"groupable.messages.empty"}],"orig":"groupable.messages"}]},{"name":"height","type":["Number","String"],"short_doc":[["para","The height of the grid. Numeric values are treated as pixels."]],"doc":[["para","The height of the grid. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the height as a number"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  height: 100\n});\n</script>"],["header",{"level":4},"Example - set the height as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  height: \"10em\"\n});\n</script>"]]},{"name":"navigatable","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the use could navigate the widget using the keyboard navigation. By default keyboard navigation is disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the use could navigate the widget using the keyboard navigation. By default keyboard navigation is disabled."],["header",{"level":4},"Example - enable keyboard navigation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  navigatable: true,\n  selectable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/navigation.html"},"Keyboard navigation"]," for a live demo."]]]},{"name":"pageable","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the grid will display a pager. By default paging is disabled."],["para","Can be set to a JavaScript object which represents the pager configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the grid will display a pager. By default paging is disabled."],["para","Can be set to a JavaScript object which represents the pager configuration."],["header",{"level":4},"Example - enable paging"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2\n  }\n});\n</script>"]],"sub":[{"name":"messages","type":["Object"],"short_doc":[["para","The text messages displayed in pager. Use this option to customize or localize the pager messages."]],"doc":[["para","The text messages displayed in pager. Use this option to customize or localize the pager messages."]],"sub":[{"name":"refresh","type":["String"],"default":"\"Refresh\"","short_doc":[["para","The tooltip of the refresh button."]],"doc":[["para","The tooltip of the refresh button."],["header",{"level":4},"Example - set the tooltip of the refresh button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    refresh: true,\n    messages: {\n      refresh: \"Refresh the grid\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.refresh"},{"name":"previous","type":["String"],"default":"\"Go to the previous page\"","short_doc":[["para","The tooltip of the button which goes to the previous page."]],"doc":[["para","The tooltip of the button which goes to the previous page."],["header",{"level":4},"Example - set the tooltip of the previous page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      previous: \"Previous page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.previous"},{"name":"next","type":["String"],"default":"\"Go to the next page\"","short_doc":[["para","The tooltip of the button which goes to the next page."]],"doc":[["para","The tooltip of the button which goes to the next page."],["header",{"level":4},"Example - set the tooltip of the next page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      next: \"Next page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.next"},{"name":"last","type":["String"],"default":"\"Go to the last page\"","short_doc":[["para","The tooltip of the button which goes to the last page."]],"doc":[["para","The tooltip of the button which goes to the last page."],["header",{"level":4},"Example - set the tooltip of the last page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      last: \"Last page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.last"},{"name":"first","type":["String"],"default":"\"Go to the first page\"","short_doc":[["para","The tooltip of the button which goes to the first page."]],"doc":[["para","The tooltip of the button which goes to the first page."],["header",{"level":4},"Example - set the tooltip of the first page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      first: \"First page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.first"},{"name":"itemsPerPage","type":["String"],"default":"\"items per page\"","short_doc":[["para","The label displayed after the page size dropdown list."]],"doc":[["para","The label displayed after the page size dropdown list."],["header",{"level":4},"Example - set the label after the page size dropdown list"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: true,\n    messages: {\n      itemsPerPage: \"data items per page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.itemsPerPage"},{"name":"of","type":["String"],"default":"\"of {0}\"","short_doc":[["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."]],"doc":[["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."],["header",{"level":4},"Example - set the label after the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true,\n    messages: {\n      of: \"from {0}\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.of"},{"name":"page","type":["String"],"default":"\"Page\"","short_doc":[["para","The label displayed before the pager input."]],"doc":[["para","The label displayed before the pager input."],["header",{"level":4},"Example - set the label before the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true,\n    messages: {\n      page: \"Enter page\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.page"},{"name":"empty","type":["String"],"default":"\"No items to display\"","short_doc":[["para","The text displayed when the grid is empty."]],"doc":[["para","The text displayed when the grid is empty."],["header",{"level":4},"Example - set the \"empty\" pager message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      empty: \"No data\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.empty"},{"name":"display","type":["String"],"default":"\"{0} - {1} of {2} items\"","short_doc":[["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"]],"doc":[["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"],["header",{"level":4},"Example - set the \"display\" pager message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      display: \"Showing {0}-{1} from {2} data items\"\n    }\n  }\n});\n</script>"]],"orig":"pageable.messages.display"}],"orig":"pageable.messages"},{"name":"info","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display information about the current page and total number of data items. By default the paging information is displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display information about the current page and total number of data items. By default the paging information is displayed."],["header",{"level":5},"Example - hide the paging information"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    info: false\n  }\n});\n</script>"]],"orig":"pageable.info"},{"name":"refresh","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display the refresh button. Clicking the refresh button will refresh the grid. By default the refresh button is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display the refresh button. Clicking the refresh button will refresh the grid. By default the refresh button is not displayed."],["header",{"level":4},"Example - show the refresh button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    refresh: true\n  }\n});\n</script>"]],"orig":"pageable.refresh"},{"name":"pageSizes","type":["Boolean","Array"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display a dropdown list which allows the user to pick a page size. By default the page size dropdown list is not displayed."],["para","Can be set to an array with the available page sizes."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display a dropdown list which allows the user to pick a page size. By default the page size dropdown list is not displayed."],["para","Can be set to an array with the available page sizes."],["header",{"level":4},"Example - show the page size dropdown"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: true\n  }\n});\n</script>"],["header",{"level":4},"Example - specify the page sizes as array"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: [2, 3, 4]\n  }\n});\n</script>"]],"orig":"pageable.pageSizes"},{"name":"input","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display an input element which allows the user to type a specific page number. By default the page input is not displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display an input element which allows the user to type a specific page number. By default the page input is not displayed."],["header",{"level":4},"Example - show the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true\n  }\n});\n</script>"]],"orig":"pageable.input"},{"name":"buttonCount","type":["Number"],"default":"10","short_doc":[["para","The maximum number of buttons displayed in the numeric pager. The pager will display ellipsis (...) if there are more pages than the specified number."]],"doc":[["para","The maximum number of buttons displayed in the numeric pager. The pager will display ellipsis (...) if there are more pages than the specified number."],["header",{"level":4},"Example - set pager button count"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    buttonCount: 1\n  }\n});\n</script>"]],"orig":"pageable.buttonCount"},{"name":"numeric","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display buttons for navigating to specific pages. By default those buttons are displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display buttons for navigating to specific pages. By default those buttons are displayed."],["header",{"level":4},"Example - hide the numeric pager buttons"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    numeric: false\n  }\n});\n</script>"]],"orig":"pageable.numeric"},{"name":"previousNext","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the pager will display buttons for going to the first, previous, next and last pages. By default those buttons are displayed."]],"doc":[["para","If set to ",["inlinecode","true"]," the pager will display buttons for going to the first, previous, next and last pages. By default those buttons are displayed."],["header",{"level":4},"Example - hide the first, previous, next, and last buttons"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    previousNext: false\n  }\n});\n</script>"]],"orig":"pageable.previousNext"},{"name":"pageSize","type":["Number"],"short_doc":[["para","The number of data items which will be displayed in the grid."]],"doc":[["para","The number of data items which will be displayed in the grid."],["header",{"level":4},"Example - set page size"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2\n  }\n});\n</script>"]],"orig":"pageable.pageSize"}]},{"name":"reorderable","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user could reorder the columns by dragging their header cells. By default reordering is disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the user could reorder the columns by dragging their header cells. By default reordering is disabled."],["header",{"level":4},"Example - enable column reordering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-reordering.html"},"Column reordering"]," for a live demo."]]]},{"name":"resizable","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user could resize the columns by dragging the edges of their header cells. By default resizing is disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the user could resize the columns by dragging the edges of their header cells. By default resizing is disabled."],["header",{"level":4},"Example - enable column resizing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-resizing.html"},"Column resizing"]," for a live demo."]]]},{"name":"rowTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders rows. Be default renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders rows. Be default renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to."]],["header",{"level":4},"Example - specify row template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n    <tr data-uid=\"#= uid #\">\n        <td colspan=\"2\">\n            <strong>#: name #</strong>\n            <strong>#: age #</strong>\n        </td>\n    </tr>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  rowTemplate: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify row template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [ { name: \"Jane Doe\", age: 30 }, { name: \"John Doe\", age: 33 } ],\n  rowTemplate: '<tr data-uid=\"#= uid #\"><td colspan=\"2\"><strong>#: name #</strong><strong>#: age #</strong></td></tr>'\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/rowtemplate.html"},"Row template"]," for a live demo."]]]},{"name":"scrollable","type":["Boolean","Object"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled."],["para","Can be set to a JavaScript object which represents the scrolling configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled."],["para","Can be set to a JavaScript object which represents the scrolling configuration."],["header",{"level":4},"Example - disable scrolling"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  scrollable: false\n});\n</script>"]],"sub":[{"name":"virtual","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the grid will always display a single page of data. Scrolling would just change the data which is currently displayed."],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-local-data.html"},"Virtualization of local data"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-remote-data.html"},"Virtualization of remote data"]," for live demos."]]],"doc":[["para","If set to ",["inlinecode","true"]," the grid will always display a single page of data. Scrolling would just change the data which is currently displayed."],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-local-data.html"},"Virtualization of local data"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-remote-data.html"},"Virtualization of remote data"]," for live demos."]]],"orig":"scrollable.virtual"}]},{"name":"selectable","type":["Boolean","String"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user would be able to select grid rows. By default selection is disabled."],["para","Can also be set to the following string values:"],["bulletlist",["listitem","\"row\" - the user can select a single row."],["listitem","\"cell\" - the user can select a single cell."],["listitem","\"multiple, row\" - the user can select multiple rows."],["listitem","\"multiple, cell\" - the user can select multiple cells."]]],"doc":[["para","If set to ",["inlinecode","true"]," the user would be able to select grid rows. By default selection is disabled."],["para","Can also be set to the following string values:"],["bulletlist",["listitem","\"row\" - the user can select a single row."],["listitem","\"cell\" - the user can select a single cell."],["listitem","\"multiple, row\" - the user can select multiple rows."],["listitem","\"multiple, cell\" - the user can select multiple cells."]],["header",{"level":4},"Example - set selectable as a boolean"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: true\n});\n</script>"],["header",{"level":4},"Example - set selectable as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\"\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/selection.html"},"Selection"]," for a live demo."]]]},{"name":"sortable","type":["Boolean","Object"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the user could sort the grid by clicking the column header cells. By default sorting is disabled."],["para","Can be set to a JavaScript object which represents the sorting configuration."]],"doc":[["para","If set to ",["inlinecode","true"]," the user could sort the grid by clicking the column header cells. By default sorting is disabled."],["para","Can be set to a JavaScript object which represents the sorting configuration."],["header",{"level":4},"Example - enable sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/sorting.html"},"Sorting"]," for a live demo."]]],"sub":[{"name":"mode","type":["String"],"default":"\"single\"","short_doc":[["para","The sorting mode. If set to \"single\" the user can sort by one column. If set to \"multiple\" the user can sort by one column."]],"doc":[["para","The sorting mode. If set to \"single\" the user can sort by one column. If set to \"multiple\" the user can sort by one column."],["header",{"level":4},"Example - allow multiple column sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: {\n    mode: \"multiple\"\n  }\n});\n</script>"]],"orig":"sortable.mode"},{"name":"allowUnsort","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can get the grid in unsorted state by clicking the sorted column header."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can get the grid in unsorted state by clicking the sorted column header."],["header",{"level":4},"Example - do not allow unsorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: {\n    allowUnsort: false\n  }\n});\n</script>"]],"orig":"sortable.allowUnsort"}]},{"name":"toolbar","type":["Array"],"short_doc":[["para","The list of commands displayed in the grid toolbar. Commands can be custom or built-in (\"cancel\", \"create\", \"save\")."],["para","The \"cancel\" built-in command reverts any data changes done by the end user."],["para","The \"create\" command adds an empty data item to the grid."],["para","The \"save\" command persists any data changes done by the end user."]],"doc":[["para","The list of commands displayed in the grid toolbar. Commands can be custom or built-in (\"cancel\", \"create\", \"save\")."],["para","The \"cancel\" built-in command reverts any data changes done by the end user."],["para","The \"create\" command adds an empty data item to the grid."],["para","The \"save\" command persists any data changes done by the end user."],["header",{"level":4},"Example - configure the grid toolbar"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\" },\n    { name: \"save\" },\n    { name: \"cancel\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33},\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\n</script>"]],"sub":[{"name":"text","type":["String"],"short_doc":[["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-toolbar.name"},"name"],"` option would be used as the button text instead."]],"doc":[["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-toolbar.name"},"name"],"` option would be used as the button text instead."],["header",{"level":4},"Example - set the text of the toolbar button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\", text: \"Add new\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { id: 1, name: \"Jane Doe\", age: 30 },\n    { id: 2, name: \"John Doe\", age: 33 }\n  ],\n  editable: true\n});\n</script>"]],"orig":"toolbar.text"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the command. Be default renders a button."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the command. Be default renders a button."],["header",{"level":4},"Example - set the template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n<a class=\"k-button\" href=\"\\#\" onclick=\"return toolbar_click()\">Command</a>\n</script>\n<script>\nfunction toolbar_click() {\n  console.log(\"Toolbar command is clicked!\");\n  return false;\n}\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { template: kendo.template($(\"#template\").html()) }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/toolbar-template.html"},"Toolbar template"]," for a live demo."]],["header",{"level":4},"Example - set the template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction toolbar_click() {\n  console.log(\"Toolbar command is clicked!\");\n  return false;\n}\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    {\n      template: '<a class=\"k-button\" href=\"\\\\#\" onclick=\"return toolbar_click()\">Command</a>'\n    }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"]],"orig":"toolbar.template"},{"name":"name","type":["String"],"short_doc":[["para","The name of the toolbar command. Either a built-in (\"cancel\", \"create\" and \"save\") or custom."]],"doc":[["para","The name of the toolbar command. Either a built-in (\"cancel\", \"create\" and \"save\") or custom."],["header",{"level":4},"Example - specify the name of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\" },\n    { name: \"save\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\n</script>"]],"orig":"toolbar.name"}]},{"name":"mobile","type":["Boolean","String"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," and the grid is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type.\nThe grid uses same layout for both ",["inlinecode","phone"]," and ",["inlinecode","tablet"],"."]],"doc":[["para","If set to ",["inlinecode","true"]," and the grid is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type.\nThe grid uses same layout for both ",["inlinecode","phone"]," and ",["inlinecode","tablet"],"."],["header",{"level":4},"Example - enable adaptive rendering auto detect"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   filterable: true,\n   columnMenu: true,\n   mobile: true\n});\n</script>"],["header",{"level":4},"Example - force adaptive rendering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   filterable: true,\n   columnMenu: true,\n   mobile: \"phone\"\n});\n</script>"]]}],"methods":[{"name":"addRow","args":[],"short_doc":[["para","Adds an empty data item to the grid. In \"incell\" and \"inline\" editing mode a table row will be appended. Popup window will be displayed in \"popup\" editing mode."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."]],"doc":[["para","Adds an empty data item to the grid. In \"incell\" and \"inline\" editing mode a table row will be appended. Popup window will be displayed in \"popup\" editing mode."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Example - add a new data item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();"]],"examples":[[["header",{"level":4},"Example - add a new data item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();"]]]},{"name":"cancelChanges","args":[],"short_doc":[["para","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."]],"doc":[["para","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."],["header",{"level":4},"Example - cancel any changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelChanges();\n</script>"]],"examples":[[["header",{"level":4},"Example - cancel any changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelChanges();\n</script>"]]]},{"name":"cancelRow","args":[],"short_doc":[["para","Cancels editing for the table row which is in edit mode. Reverts any changes made."]],"doc":[["para","Cancels editing for the table row which is in edit mode. Reverts any changes made."],["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelRow();\n</script>"]],"examples":[[["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelRow();\n</script>"]]]},{"name":"cellIndex","args":[{"name":"cell","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the table cell. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the table cell. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Returns the index of the specified table cell. Skips group and detail table cells."]],"doc":[["para","Returns the index of the specified table cell. Skips group and detail table cells."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table cell. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the index of the specified table cell."],["header",{"level":4},"Example - find the cell index when the cell is a jQuery object"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar cell = $(\"#grid td:eq(1)\");\nconsole.log(grid.cellIndex(cell));\n</script>"],["header",{"level":4},"Example - find the cell index when the cell is a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nconsole.log(grid.cellIndex(\"td:eq(1)\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - find the cell index when the cell is a jQuery object"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar cell = $(\"#grid td:eq(1)\");\nconsole.log(grid.cellIndex(cell));\n</script>"]],[["header",{"level":4},"Example - find the cell index when the cell is a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nconsole.log(grid.cellIndex(\"td:eq(1)\"));\n</script>"]]]},{"name":"clearSelection","args":[],"short_doc":[["para","Clears the currently selected table rows or cells (depending on the current selection ",["link",{"href":"#configuration-selectable"},"mode"],")."]],"doc":[["para","Clears the currently selected table rows or cells (depending on the current selection ",["link",{"href":"#configuration-selectable"},"mode"],")."],["header",{"level":4},"Example - clear selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  selectable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// select the first table row\ngrid.select(\"tr:eq(1)\");\ngrid.clearSelection();\n</script>"]],"examples":[[["header",{"level":4},"Example - clear selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  selectable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// select the first table row\ngrid.select(\"tr:eq(1)\");\ngrid.clearSelection();\n</script>"]]]},{"name":"closeCell","args":[{"name":"isCancel","type":["Boolean"],"short_doc":[["para","A flag specifying whether to fire the ",["inlinecode","cancel"]," event. By default the event is not fired."]],"doc":[["para","A flag specifying whether to fire the ",["inlinecode","cancel"]," event. By default the event is not fired."]]}],"short_doc":[["para","Stops editing the table cell which is in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."]],"doc":[["para","Stops editing the table cell which is in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"isCancel ",["inlinecode","Boolean"]," ",["em","optional"]],["para","A flag specifying whether to fire the ",["inlinecode","cancel"]," event. By default the event is not fired."],["header",{"level":4},"Example - cancel cell editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.closeCell();\n</script>"]],"examples":[[["header",{"level":4},"Example - cancel cell editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.closeCell();\n</script>"]]]},{"name":"collapseGroup","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Collapses the specified group. This hides the group items."]],"doc":[["para","Collapses the specified group. This hides the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - collapse the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\n</script>"]],"examples":[[["header",{"level":4},"Example - collapse the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\n</script>"]]]},{"name":"collapseRow","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Collapses the specified master table row. This hides its detail table row."]],"doc":[["para","Collapses the specified master table row. This hides its detail table row."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - collapse the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first expand the first master table row\ngrid.expandRow(\".k-master-row:first\");\ngrid.collapseRow(\".k-master-row:first\");\n</script>"]],"examples":[[["header",{"level":4},"Example - collapse the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first expand the first master table row\ngrid.expandRow(\".k-master-row:first\");\ngrid.collapseRow(\".k-master-row:first\");\n</script>"]]]},{"name":"current","args":[{"name":"cell","type":["jQuery"],"short_doc":[["para","DOM element or jQuery object which represents the navigatable cell."]],"doc":[["para","DOM element or jQuery object which represents the navigatable cell."]]}],"short_doc":[["para","Gets or sets the current cell for keyboard navigation."]],"doc":[["para","Gets or sets the current cell for keyboard navigation."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","jQuery"]],["para","DOM element or jQuery object which represents the navigatable cell."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the current cell."],["header",{"level":4},"Example - select last cell for keyboard navigation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n    ],\n    dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n    ],\n    navigatable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n\n//get the last cell of the Grid\nvar lastCell = grid.tbody.find(\"tr:last td:last\");\n//select the cell for navigation\ngrid.current(lastCell);\n//optional: focus the grid table\ngrid.table.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example - select last cell for keyboard navigation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n    ],\n    dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n    ],\n    navigatable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n\n//get the last cell of the Grid\nvar lastCell = grid.tbody.find(\"tr:last td:last\");\n//select the cell for navigation\ngrid.current(lastCell);\n//optional: focus the grid table\ngrid.table.focus();\n</script>"]]]},{"name":"dataItem","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Returns the data item to which the specified table row is bound."]],"doc":[["para","Returns the data item to which the specified table row is bound."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the data item to which the specified table row is bound. ",["link",{"href":"/api/framework/observableobject"},"More information about the ObservableObject type..."]],["header",{"level":4},"Example - get the data item to which the first table row is bound"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataItem(\"tr:eq(1)\");\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the data item to which the first table row is bound"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataItem(\"tr:eq(1)\");\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.destroy();\n</script>"]]]},{"name":"editCell","args":[{"name":"cell","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the table cell."]],"doc":[["para","The jQuery object which represents the table cell."]]}],"short_doc":[["para","Switches the specified table cell in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."]],"doc":[["para","Switches the specified table cell in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","jQuery"]],["para","The jQuery object which represents the table cell."],["header",{"level":4},"Example - switch the first cell to edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editCell($(\"#grid td:eq(0)\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - switch the first cell to edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editCell($(\"#grid td:eq(0)\"));\n</script>"]]]},{"name":"editRow","args":[{"name":"row","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the table row."]],"doc":[["para","The jQuery object which represents the table row."]]}],"short_doc":[["para","Switches the specified table row in edit mode. Requires \"inline\" or \"popup\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."]],"doc":[["para","Switches the specified table row in edit mode. Requires \"inline\" or \"popup\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","jQuery"]],["para","The jQuery object which represents the table row."],["header",{"level":4},"Example - switch the first row in edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - switch the first row in edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"]]]},{"name":"expandGroup","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector.\nExpands specified group."]],"doc":[["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector.\nExpands specified group."]]}],"short_doc":[["para","Expands the specified group. This shows the group items."]],"doc":[["para","Expands the specified group. This shows the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector.\nExpands specified group."],["header",{"level":4},"Example - expand the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first collapse the group\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\ngrid.expandGrup(\".k-grouping-row:contains(Beverages)\");\n</script>"]],"examples":[[["header",{"level":4},"Example - expand the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first collapse the group\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\ngrid.expandGrup(\".k-grouping-row:contains(Beverages)\");\n</script>"]]]},{"name":"expandRow","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector.\nExpands specified master row."]],"doc":[["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector.\nExpands specified master row."]]}],"short_doc":[["para","Expands the specified master table row. This shows its detail table row."]],"doc":[["para","Expands the specified master table row. This shows its detail table row."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector.\nExpands specified master row."],["header",{"level":4},"Example - expand the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.expandRow(\".k-master-row:first\");\n</script>"]],"examples":[[["header",{"level":4},"Example - expand the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.expandRow(\".k-master-row:first\");\n</script>"]]]},{"name":"hideColumn","args":[{"name":"column","type":["Number","String"],"short_doc":[["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."]],"doc":[["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."]]}],"short_doc":[["para","Hides the specified grid column."]],"doc":[["para","Hides the specified grid column."],["header",{"level":4},"Parameters"],["header",{"level":5},"column ",["inlinecode","Number|String"]],["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."],["header",{"level":4},"Example - hide a column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(1);\n</script>"],["header",{"level":4},"Example - hide a column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(\"age\");\n</script>"]],"examples":[[["header",{"level":4},"Example - hide a column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(1);\n</script>"]],[["header",{"level":4},"Example - hide a column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(\"age\");\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Renders all table rows using the current data items."]],"doc":[["para","Renders all table rows using the current data items."],["header",{"level":4},"Example - refresh the widget"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the widget"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.refresh();\n</script>"]]]},{"name":"removeRow","args":[{"name":"row","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Removes the specified table row from the grid. Also removes the corresponding data item from the data source."],["para","Fires the ",["link",{"href":"#events-remove"},"remove"]," event."]],"doc":[["para","Removes the specified table row from the grid. Also removes the corresponding data item from the data source."],["para","Fires the ",["link",{"href":"#events-remove"},"remove"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - remove the first table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.removeRow(\"tr:eq(1)\");\n</script>"]],"examples":[[["header",{"level":4},"Example - remove the first table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.removeRow(\"tr:eq(1)\");\n</script>"]]]},{"name":"reorderColumn","args":[{"name":"destIndex","type":["Number"],"short_doc":[["para","The new position of the column. The destination index should be calculated with regard to all columns, including the hidden ones."]],"doc":[["para","The new position of the column. The destination index should be calculated with regard to all columns, including the hidden ones."]]},{"name":"column","type":["Object"],"short_doc":[["para","The column whose position should be changed."]],"doc":[["para","The column whose position should be changed."]]}],"short_doc":[["para","Changes the position of the specified column."]],"doc":[["para","Changes the position of the specified column."],["header",{"level":4},"Parameters"],["header",{"level":5},"destIndex ",["inlinecode","Number"]],["para","The new position of the column. The destination index should be calculated with regard to all columns, including the hidden ones."],["header",{"level":5},"column ",["inlinecode","Object"]],["para","The column whose position should be changed."],["header",{"level":4},"Example - move a column"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.reorderColumn(1, grid.columns[0]);\n</script>"]],"examples":[[["header",{"level":4},"Example - move a column"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.reorderColumn(1, grid.columns[0]);\n</script>"]]]},{"name":"saveChanges","args":[],"short_doc":[["para","Saves any pending changes by calling the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","Fires the ",["link",{"href":"#events-saveChanges"},"saveChanges"]," event."]],"doc":[["para","Saves any pending changes by calling the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","Fires the ",["link",{"href":"#events-saveChanges"},"saveChanges"]," event."],["header",{"level":4},"Example - save changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.saveChanges();\n</script>"]],"examples":[[["header",{"level":4},"Example - save changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.saveChanges();\n</script>"]]]},{"name":"saveRow","args":[],"short_doc":[["para","Switches the table row which is in edit mode and saves any changes made by the user."]],"doc":[["para","Switches the table row which is in edit mode and saves any changes made by the user."],["header",{"level":4},"Example - save row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\ngrid.saveRow();\n</script>"]],"examples":[[["header",{"level":4},"Example - save row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\ngrid.saveRow();\n</script>"]]]},{"name":"select","args":[{"name":"rows","type":["String","Element","jQuery"],"short_doc":[["para","A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector."]]}],"short_doc":[["para","Gets or sets the table rows (or cells) which are selected."]],"doc":[["para","Gets or sets the table rows (or cells) which are selected."],["header",{"level":4},"Parameters"],["header",{"level":5},"rows ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected table rows or cells."],["header",{"level":4},"Example - select the first and second table rows"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1), tr:eq(2)\");\n</script>"],["header",{"level":4},"Example - select the first table cell"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"td:eq(0)\");\n</script>"],["header",{"level":4},"Example - get the selected table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1)\");\nvar row = grid.select();\nvar data = grid.dataItem(row);\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"]],"examples":[[["header",{"level":4},"Example - select the first and second table rows"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1), tr:eq(2)\");\n</script>"]],[["header",{"level":4},"Example - select the first table cell"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"td:eq(0)\");\n</script>"]],[["header",{"level":4},"Example - get the selected table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1)\");\nvar row = grid.select();\nvar data = grid.dataItem(row);\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the data source of the widget."]],"doc":[["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.setDataSource(dataSource);\n</script>"]]]},{"name":"showColumn","args":[{"name":"column","type":["Number","String"],"short_doc":[["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."]],"doc":[["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."]]}],"short_doc":[["para","Shows the specified column."]],"doc":[["para","Shows the specified column."],["header",{"level":4},"Parameters"],["header",{"level":5},"column ",["inlinecode","Number|String"]],["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."],["header",{"level":4},"Example - show a hidden column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(1);\n</script>"],["header",{"level":4},"Example - show a hidden column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(\"age\");\n</script>"]],"examples":[[["header",{"level":4},"Example - show a hidden column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(1);\n</script>"]],[["header",{"level":4},"Example - show a hidden column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(\"age\");\n</script>"]]]}],"events":[{"name":"cancel","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object that represents the edit form container element."]],"doc":[["para","The jQuery object that represents the edit form container element."]]},{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The data item to which the table row is bound."]],"doc":[["para","The data item to which the table row is bound."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the cancel action. The table row remains in edit mode."]],"doc":[["para","If invoked prevents the cancel action. The table row remains in edit mode."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user clicks the \"cancel\" button (in inline or popup ",["link",{"href":"#configuration-editable.mode"},"editing mode"],") or closes the popup window."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the \"cancel\" button (in inline or popup ",["link",{"href":"#configuration-editable.mode"},"editing mode"],") or closes the popup window."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object that represents the edit form container element."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The table row remains in edit mode."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\",\n  cancel: function(e) {\n    e.preventDefault()\n  }\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"],["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_cancel(e) {\n  e.preventDefault()\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"cancel\", grid_cancel);\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\",\n  cancel: function(e) {\n    e.preventDefault()\n  }\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_cancel(e) {\n  e.preventDefault()\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"cancel\", grid_cancel);\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"]]],"type":["Function"]},{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user selects a table row or cell in the grid."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user selects a table row or cell in the grid."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - get the selected data item(s) when using row selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\",\n  change: function(e) {\n    var selectedRows = this.select();\n    var selectedDataItems = [];\n    for (var i = 0; i < selectedRows.length; i++) {\n      var dataItem = this.dataItem(selectedRows[i]);\n      selectedDataItems.push(dataItem);\n    }\n    // selectedDataItems contains all selected data items\n  }\n});\n</script>"],["header",{"level":4},"Example - get the selected data item(s) when using cell selection"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_change(e) {\n  var selectedCells = this.select();\n  var selectedDataItems = [];\n  for (var i = 0; i < selectedCells.length; i++) {\n    var dataItem = this.dataItem(selectedCells[i].parentNode);\n    if ($.inArray(dataItem, selectedDataItems) < 0) {\n      selectedDataItems.push(dataItem);\n    }\n  }\n  // selectedDataItems contains all selected data items\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"change\", grid_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - get the selected data item(s) when using row selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\",\n  change: function(e) {\n    var selectedRows = this.select();\n    var selectedDataItems = [];\n    for (var i = 0; i < selectedRows.length; i++) {\n      var dataItem = this.dataItem(selectedRows[i]);\n      selectedDataItems.push(dataItem);\n    }\n    // selectedDataItems contains all selected data items\n  }\n});\n</script>"]],[["header",{"level":4},"Example - get the selected data item(s) when using cell selection"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_change(e) {\n  var selectedCells = this.select();\n  var selectedDataItems = [];\n  for (var i = 0; i < selectedCells.length; i++) {\n    var dataItem = this.dataItem(selectedCells[i].parentNode);\n    if ($.inArray(dataItem, selectedDataItems) < 0) {\n      selectedDataItems.push(dataItem);\n    }\n  }\n  // selectedDataItems contains all selected data items\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"change\", grid_change);\n</script>"]]],"type":["Function"]},{"name":"columnHide","args":[{"name":"e.column","type":["Object"],"short_doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]],"doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user hides a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user hides a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnHide\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnHide: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnHide\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnHide(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnHide\", grid_columnHide);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"columnHide\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnHide: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"columnHide\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnHide(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnHide\", grid_columnHide);\n</script>"]]],"type":["Function"]},{"name":"columnMenuInit","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing column menu form element."]],"doc":[["para","The jQuery object representing column menu form element."]]},{"name":"e.field","type":["String"],"short_doc":[["para","The field of the column for which the column menu is initialized."]],"doc":[["para","The field of the column for which the column menu is initialized."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the column menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the column menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing column menu form element."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The field of the column for which the column menu is initialized."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true,\n  columnMenuInit: function(e) {\n    var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n    var field = e.field;\n    menu.append({ text: \"Custom\" });\n    menu.bind(\"select\", function(e) {\n      if ($(e.item).text() == \"Custom\") {\n        console.log(\"Custom button for\", field);\n      }\n    });\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnMenuInit(e) {\n  var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n  var field = e.field;\n  menu.append({ text: \"Custom\" });\n  menu.bind(\"select\", function(e) {\n    if ($(e.item).text() == \"Custom\") {\n      console.log(\"Custom button for\", field);\n    }\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnMenuInit\", grid_columnMenuInit);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true,\n  columnMenuInit: function(e) {\n    var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n    var field = e.field;\n    menu.append({ text: \"Custom\" });\n    menu.bind(\"select\", function(e) {\n      if ($(e.item).text() == \"Custom\") {\n        console.log(\"Custom button for\", field);\n      }\n    });\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnMenuInit(e) {\n  var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n  var field = e.field;\n  menu.append({ text: \"Custom\" });\n  menu.bind(\"select\", function(e) {\n    if ($(e.item).text() == \"Custom\") {\n      console.log(\"Custom button for\", field);\n    }\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnMenuInit\", grid_columnMenuInit);\n</script>"]]],"type":["Function"]},{"name":"columnReorder","args":[{"name":"e.column","type":["Object"],"short_doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]],"doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]]},{"name":"e.newIndex","type":["Number"],"short_doc":[["para","The new column index."]],"doc":[["para","The new column index."]]},{"name":"e.oldIndex","type":["Number"],"short_doc":[["para","The previous column index."]],"doc":[["para","The previous column index."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user changes the order of a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user changes the order of a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.newIndex ",["inlinecode","Number"]],["para","The new column index."],["header",{"level":5},"e.oldIndex ",["inlinecode","Number"]],["para","The previous column index."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnReorder\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true,\n  columnReorder: function(e) {\n    console.log(e.column.field, e.newIndex, e.oldIndex);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnReorder\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnReorder(e) {\n  console.log(e.column.field, e.newIndex, e.oldIndex);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnReorder\", grid_columnReorder);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"columnReorder\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true,\n  columnReorder: function(e) {\n    console.log(e.column.field, e.newIndex, e.oldIndex);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"columnReorder\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnReorder(e) {\n  console.log(e.column.field, e.newIndex, e.oldIndex);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnReorder\", grid_columnReorder);\n</script>"]]],"type":["Function"]},{"name":"columnResize","args":[{"name":"e.column","type":["Object"],"short_doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]],"doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]]},{"name":"e.newWidth","type":["Number"],"short_doc":[["para","The new column width."]],"doc":[["para","The new column width."]]},{"name":"e.oldWidth","type":["Number"],"short_doc":[["para","The previous column width."]],"doc":[["para","The previous column width."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user resizes a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user resizes a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.newWidth ",["inlinecode","Number"]],["para","The new column width."],["header",{"level":5},"e.oldWidth ",["inlinecode","Number"]],["para","The previous column width."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnResize\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true,\n  columnResize: function(e) {\n    console.log(e.column.field, e.newWidth, e.oldWidth);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnResize\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnResize(e) {\n  console.log(e.column.field, e.newWidth, e.oldWidth);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnResize\", grid_columnResize);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"columnResize\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true,\n  columnResize: function(e) {\n    console.log(e.column.field, e.newWidth, e.oldWidth);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"columnResize\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnResize(e) {\n  console.log(e.column.field, e.newWidth, e.oldWidth);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnResize\", grid_columnResize);\n</script>"]]],"type":["Function"]},{"name":"columnShow","args":[{"name":"e.column","type":["Object"],"short_doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]],"doc":[["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user shows a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user shows a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnShow\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnShow: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnShow\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnShow(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnShow\", grid_columnShow);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"columnShow\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnShow: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"columnShow\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnShow(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnShow\", grid_columnShow);\n</script>"]]],"type":["Function"]},{"name":"dataBinding","args":[{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the data bind action. The table rows will remain unchanged and ",["inlinecode","dataBound"]," event will not fire."]],"doc":[["para","If invoked prevents the data bind action. The table rows will remain unchanged and ",["inlinecode","dataBound"]," event will not fire."]]}],"short_doc":[["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the data bind action. The table rows will remain unchanged and ",["inlinecode","dataBound"]," event will not fire."],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event before initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBinding(e) {\n  console.log(\"dataBinding\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBinding\", grid_dataBinding);\ngrid.dataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBinding\" event before initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBinding(e) {\n  console.log(\"dataBinding\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBinding\", grid_dataBinding);\ngrid.dataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBound\", grid_dataBound);\ngrid.dataSource.fetch();\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBound\", grid_dataBound);\ngrid.dataSource.fetch();\n</script>"]]],"type":["Function"]},{"name":"detailCollapse","args":[{"name":"e.detailRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the detail table row."]],"doc":[["para","The jQuery object which represents the detail table row."]]},{"name":"e.masterRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the master table row."]],"doc":[["para","The jQuery object which represents the master table row."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user collapses a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user collapses a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailCollapse: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailCollapse(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailCollapse\", grid_detailCollapse);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailCollapse: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailCollapse(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailCollapse\", grid_detailCollapse);\n</script>"]]],"type":["Function"]},{"name":"detailExpand","args":[{"name":"e.detailRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the detail table row."]],"doc":[["para","The jQuery object which represents the detail table row."]]},{"name":"e.masterRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the master table row."]],"doc":[["para","The jQuery object which represents the master table row."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user expands a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user expands a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailExpand\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailExpand: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailExpand\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailExpand(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailExpand\", grid_detailExpand);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"detailExpand\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailExpand: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"detailExpand\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailExpand(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailExpand\", grid_detailExpand);\n</script>"]]],"type":["Function"]},{"name":"detailInit","args":[{"name":"e.data","type":["kendo.data.ObservableObject"],"short_doc":[["para","The data item to which the master table row is bound."]],"doc":[["para","The data item to which the master table row is bound."]]},{"name":"e.detailCell","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the detail table cell."]],"doc":[["para","The jQuery object which represents the detail table cell."]]},{"name":"e.detailRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the detail table row."]],"doc":[["para","The jQuery object which represents the detail table row."]]},{"name":"e.masterRow","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the master table row."]],"doc":[["para","The jQuery object which represents the master table row."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when a detail table row is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when a detail table row is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.data ",["inlinecode","kendo.data.ObservableObject"]],["para","The data item to which the master table row is bound."],["header",{"level":5},"e.detailCell ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table cell."],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>',\n  detailInit: function(e) {\n    e.detailRow.find(\".grid\").kendoGrid({\n      dataSource: e.data.products\n    });\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailInit(e) {\n  e.detailRow.find(\".grid\").kendoGrid({\n    dataSource: e.data.products\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>'\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailInit\", grid_detailInit);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"detailInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>',\n  detailInit: function(e) {\n    e.detailRow.find(\".grid\").kendoGrid({\n      dataSource: e.data.products\n    });\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"detailInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailInit(e) {\n  e.detailRow.find(\".grid\").kendoGrid({\n    dataSource: e.data.products\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>'\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailInit\", grid_detailInit);\n</script>"]]],"type":["Function"]},{"name":"edit","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]],"doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]]},{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The data item which is going to be edited. Use its ",["link",{"href":"/api/framework/model#methods-isNew"},"isNew"]," method to check if the data item is new (created) or not (edited)."]],"doc":[["para","The data item which is going to be edited. Use its ",["link",{"href":"/api/framework/model#methods-isNew"},"isNew"]," method to check if the data item is new (created) or not (edited)."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user edits or creates a data item."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user edits or creates a data item."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item which is going to be edited. Use its ",["link",{"href":"/api/framework/model#methods-isNew"},"isNew"]," method to check if the data item is new (created) or not (edited)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"],\n  edit: function(e) {\n    if (!e.model.isNew()) {\n      // Disable the editor of the \"id\" column when editing data items\n      var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n      numeric.enable(false);\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_edit(e) {\n  if (!e.model.isNew()) {\n    // Disable the editor of the \"id\" column when editing data items\n    var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n    numeric.enable(false);\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"edit\", grid_edit);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"],\n  edit: function(e) {\n    if (!e.model.isNew()) {\n      // Disable the editor of the \"id\" column when editing data items\n      var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n      numeric.enable(false);\n    }\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_edit(e) {\n  if (!e.model.isNew()) {\n    // Disable the editor of the \"id\" column when editing data items\n    var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n    numeric.enable(false);\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"edit\", grid_edit);\n</script>"]]],"type":["Function"]},{"name":"filterMenuInit","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing filter menu form element."]],"doc":[["para","The jQuery object representing filter menu form element."]]},{"name":"e.field","type":["String"],"short_doc":[["para","The field of the column for which the filter menu is initialized."]],"doc":[["para","The field of the column for which the filter menu is initialized."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the grid filter menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the grid filter menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing filter menu form element."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The field of the column for which the filter menu is initialized."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true,\n  filterMenuInit: function(e) {\n    if (e.field == \"name\") {\n      var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n      firstValueDropDown.value(\"contains\");\n      firstValueDropDown.trigger(\"change\");\n\n      var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n      logicDropDown.value(\"or\");\n      logicDropDown.trigger(\"change\");\n\n      var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n      secondValueDropDown.value(\"contains\");\n      secondValueDropDown.trigger(\"change\");\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_filterMenuInit(e) {\n  if (e.field == \"name\") {\n    var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n    firstValueDropDown.value(\"contains\");\n    var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n    logicDropDown.value(\"or\");\n    var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n    secondValueDropDown.value(\"contains\");\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"filterMenuInit\", grid_filterMenuInit);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true,\n  filterMenuInit: function(e) {\n    if (e.field == \"name\") {\n      var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n      firstValueDropDown.value(\"contains\");\n      firstValueDropDown.trigger(\"change\");\n\n      var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n      logicDropDown.value(\"or\");\n      logicDropDown.trigger(\"change\");\n\n      var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n      secondValueDropDown.value(\"contains\");\n      secondValueDropDown.trigger(\"change\");\n    }\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_filterMenuInit(e) {\n  if (e.field == \"name\") {\n    var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n    firstValueDropDown.value(\"contains\");\n    var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n    logicDropDown.value(\"or\");\n    var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n    secondValueDropDown.value(\"contains\");\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"filterMenuInit\", grid_filterMenuInit);\n</script>"]]],"type":["Function"]},{"name":"remove","args":[{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The data item to which the table row is bound."]],"doc":[["para","The data item to which the table row is bound."]]},{"name":"e.row","type":["jQuery"],"short_doc":[["para","The jQuery object representing the current table row."]],"doc":[["para","The jQuery object representing the current table row."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user clicks the \"destroy\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the \"destroy\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.row ",["inlinecode","jQuery"]],["para","The jQuery object representing the current table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  remove: function(e) {\n    console.log(\"Removing\", e.model.name);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_remove(e) {\n  console.log(\"Removing\", e.model.name);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"remove\", grid_remove);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  remove: function(e) {\n    console.log(\"Removing\", e.model.name);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_remove(e) {\n  console.log(\"Removing\", e.model.name);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"remove\", grid_remove);\n</script>"]]],"type":["Function"]},{"name":"save","args":[{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The data item to which the table row is bound."]],"doc":[["para","The data item to which the table row is bound."]]},{"name":"e.row","type":["jQuery"],"short_doc":[["para","The jQuery object representing the current table row."]],"doc":[["para","The jQuery object representing the current table row."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]},{"name":"e.values","type":["Object"],"short_doc":[["para","The values entered by the user. ",["strong","Available only when the ",["link",{"href":"#configuration-editable.mode"},"editable.mode"]," option is set to \"incell\"."]]],"doc":[["para","The values entered by the user. ",["strong","Available only when the ",["link",{"href":"#configuration-editable.mode"},"editable.mode"]," option is set to \"incell\"."]]]}],"short_doc":[["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.row ",["inlinecode","jQuery"]],["para","The jQuery object representing the current table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.values ",["inlinecode","Object"]],["para","The values entered by the user. ",["strong","Available only when the ",["link",{"href":"#configuration-editable.mode"},"editable.mode"]," option is set to \"incell\"."]],["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  save: function(e) {\n    if (e.values.name) {\n      // the user changed the name field\n      if (e.values.name != e.model.name) {\n        console.log(\"name is modified\");\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_save(e) {\n  if (e.values.name) {\n    // the user changed the name field\n    if (e.values.name != e.model.name) {\n      console.log(\"name is modified\");\n    }\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"save\", grid_save);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  save: function(e) {\n    if (e.values.name) {\n      // the user changed the name field\n      if (e.values.name != e.model.name) {\n        console.log(\"name is modified\");\n      }\n    }\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_save(e) {\n  if (e.values.name) {\n    // the user changed the name field\n    if (e.values.name != e.model.name) {\n      console.log(\"name is modified\");\n    }\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"save\", grid_save);\n</script>"]]],"type":["Function"]},{"name":"saveChanges","args":[{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked the grid will not call the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method of the data source."]],"doc":[["para","If invoked the grid will not call the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method of the data source."]]},{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user clicks the \"save\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the \"save\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the grid will not call the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method of the data source."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"saveChanges\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  saveChanges: function(e) {\n    if (!confirm(\"Are you sure you want to save all changes?\")) {\n       e.preventDefault();\n    }\n  },\n  toolbar: [\"save\"]\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"saveChanges\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_saveChanges(e) {\n  if (!confirm(\"Are you sure you want to save all changes?\")) {\n     e.preventDefault();\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"saveChanges\", grid_saveChanges);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"saveChanges\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  saveChanges: function(e) {\n    if (!confirm(\"Are you sure you want to save all changes?\")) {\n       e.preventDefault();\n    }\n  },\n  toolbar: [\"save\"]\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"saveChanges\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_saveChanges(e) {\n  if (!confirm(\"Are you sure you want to save all changes?\")) {\n     e.preventDefault();\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"saveChanges\", grid_saveChanges);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"columns","type":["Array"],"short_doc":[["para","The columns of the grid initialized from the ",["link",{"href":"#configuration-columns"},"columns"]," option. Every item from the ",["inlinecode","columns"]," array has the same fields as the corresponding ",["link",{"href":"#configuration-columns"},"columns"]," option."]],"doc":[["para","The columns of the grid initialized from the ",["link",{"href":"#configuration-columns"},"columns"]," option. Every item from the ",["inlinecode","columns"]," array has the same fields as the corresponding ",["link",{"href":"#configuration-columns"},"columns"]," option."],["header",{"level":4},"Example - iterate the grid columns"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nfor (var i = 0; i < grid.columns.length; i++) {\n  console.log(grid.columns[i].field); // displays \"name\" and then \"age\"\n}\n</script>"]]},{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30}\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.dataSource.add({ name: \"John Doe\", age: 33 });\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(0);\ndata.set(\"name\", \"John Doe\");\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33},\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(1);\ngrid.dataSource.remove(data);\n</script>"]]},{"name":"pager","type":["kendo.ui.Pager"],"short_doc":[["para","The ",["link",{"href":"/api/web/pager"},"Pager widget"]," attached to the Grid."]],"doc":[["para","The ",["link",{"href":"/api/web/pager"},"Pager widget"]," attached to the Grid."]]},{"name":"table","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the grid table element."]],"doc":[["para","The jQuery object which represents the grid table element."]]},{"name":"tbody","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the table body. Contains all grid table rows."]],"doc":[["para","The jQuery object which represents the table body. Contains all grid table rows."],["header",{"level":4},"Example - get the first table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33},\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar row = grid.tbody.find(\"tr:eq(0)\");\nvar data = grid.dataItem(row);\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"]]},{"name":"thead","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the grid table header element."]],"doc":[["para","The jQuery object which represents the grid table header element."]]}],"short_doc":[["para","Represents the Kendo UI Grid widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Grid widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"altRowTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the alternating table rows. Be default the grid renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to.\nSet the ",["inlinecode","class"]," of the table row to ",["inlinecode","k-alt"]," to get the default \"alternating\" look and feel."]],["header",{"level":4},"Example - specify alternating row template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"alt-template\" type=\"text/x-kendo-template\">\n    <tr data-uid=\"#= uid #\">\n        <td colspan=\"2\">\n            <strong>#: name #</strong>\n            <strong>#: age #</strong>\n        </td>\n    </tr>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  altRowTemplate: kendo.template($(\"#alt-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify alternating row template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [ { name: \"Jane Doe\", age: 30 }, { name: \"John Doe\", age: 33 } ],\n  altRowTemplate: '<tr data-uid=\"#= uid #\"><td colspan=\"2\"><strong>#: name #</strong><strong>#: age #</strong></td></tr>'\n});\n</script>"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"grid\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  dataSource: dataSource\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"],["header",{"level":3},"columnResizeHandleWidth ",["inlinecode","Number"]," ",["em","(default: 3)"]],["para","Defines the width of the column resize handle in pixels. Apply a larger value for easier grasping."],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columnResizeHandleWidth: 6\n});\n</script>"],["header",{"level":3},"columns ",["inlinecode","Array"]],["para","The configuration of the grid columns. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column configurations. Strings are interpreted as the\n",["link",{"href":"#configuration-columns.field"},"field"]," to which the column is bound. The grid will create a column for every item of the array."],["blockquote",["para","If this setting is ",["strong","not"]," specified the grid will create a column for every field of the data item."]],["header",{"level":4},"Example - specify grid columns as array of strings"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\"name\", \"age\"], // two columns bound to the \"name\" and \"age\" fields\n  dataSource: [ { name: \"Jane\", age: 31 }, { name: \"John\", age: 33 }]\n});\n</script>"],["header",{"level":4},"Example - specify grid columns as array of objects"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [{\n    field: \"name\",// create a column bound to the \"name\" field\n    title: \"Name\" // set its title to \"Name\"\n  }, {\n    field: \"age\",// create a column bound to the \"age\" field\n    title: \"Age\" // set its title to \"Age\"\n  }],\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"],["header",{"level":3},"columns.aggregates ",["inlinecode","Array"]],["para","The aggregate(s) which are calculated when the grid is grouped by the columns ",["link",{"href":"#configuration-columns.field"},"field"],".\nThe supported aggregates are \"average\", \"count\", \"max\", \"min\" and \"sum\"."],["header",{"level":4},"Example - set column aggregates"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"firstName\", groupable: false },\n    { field: \"lastName\" }, /* group by this column to see the footer template */\n    { field: \"age\",\n      groupable: false,\n      aggregates: [ \"count\", \"min\", \"max\" ],\n      groupFooterTemplate: \"age total: #: count #, min: #: min #, max: #: max #\"\n    }\n  ],\n  groupable: true,\n  dataSource: {\n    data: [\n      { firstName: \"Jane\", lastName: \"Doe\", age: 30 },\n      { firstName: \"John\", lastName: \"Doe\", age: 33 }\n    ]\n  }\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/aggregates.html"},"Aggregates"]," for a live demo."]],["header",{"level":3},"columns.attributes ",["inlinecode","Object"]],["para","HTML attributes of the table cell (",["inlinecode","<td>"],") rendered for the column."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]],["header",{"level":4},"Example - specify column HTML attributes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    title: \"Name\",\n    attributes: {\n      \"class\": \"table-cell\",\n      style: \"text-align: right; font-size: 14px\"\n    }\n  } ],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n</script>"],["para","The table cells would look like this: ",["inlinecode","<td class=\"table-cell\" style=\"text-align: right; font-size: 14px\">...</td>"],"."],["header",{"level":3},"columns.command ",["inlinecode","String|Array"]],["para","The configuration of the column command(s). If set the column would display a button for every command. Commands can be custom or built-in (\"edit\" or \"destroy\")."],["para","The \"edit\" built-in command switches the current table row in edit mode."],["para","The \"destroy\" built-in command removes the data item to which the current table row is bound."],["para","Custom commands are supported by specifying the ",["link",{"href":"#configuration-columns.command.click"},"click"]," option."],["blockquote",["para","The built-in \"edit\" and \"destroy\" commands work ",["em","only"]," if editing is enabled via the ",["link",{"href":"#configuration-editable"},"editable"]," option. The \"edit\" command supports \"inline\" and \"popup\" editing modes."]],["header",{"level":4},"Example - set command as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: \"destroy\" } // displays the built-in \"destroy\" command\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set command as array of strings"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [\"edit\", \"destroy\"] } // displays the built-in \"edit\" and \"destroy\" commands\n  ],\n  editable: \"inline\",\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set command as array of objects"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [\n        {\n         name: \"details\",\n         click: function(e) {\n            // command button click handler\n         }\n        },\n        { name: \"destroy\" } // built-in \"destroy\" command\n      ]\n    }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.command.name ",["inlinecode","String"]],["para","The name of the command. The built-in commands are \"edit\" and \"destroy\". Can be set to a custom value."],["header",{"level":4},"Example - set the command name"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ name: \"edit\" }] }\n  ],\n  editable: \"popup\",\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.command.text ",["inlinecode","String"]],["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-columns.command.name"},"name"]," option is used as the button text."],["header",{"level":4},"Example - customize the text of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ name: \"destroy\", text: \"Remove\" }] }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - customize the \"edit\", \"cancel\" and \"update\" text of the edit command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: [{ name: \"edit\",\n                  text: { edit: \"Custom edit\", cancel: \"Custom cancel\", update: \"Custom update\" } }]  }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"inline\"\n  }\n});\n</script>"],["header",{"level":3},"columns.command.className ",["inlinecode","String"]],["para","The CSS class applied to the command button."],["header",{"level":4},"Example - set the CSS class of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [{ className: \"btn-destroy\", name: \"destroy\", text: \"Remove\" }] }\n  ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>\n<style>\n.btn-destroy {\n    color: red;\n}\n</style>"],["header",{"level":3},"columns.command.click ",["inlinecode","Function"]],["para","The JavaScript function executed when the user clicks the command button. The function receives a ",["link",{"href":"http://api.jquery.com/category/events/event-object/"},"jQuery Event"]," as an argument."],["para","The function context (available via the ",["inlinecode","this"]," keyword) will be set to the grid instance."],["header",{"level":4},"Example - handle the click event of the custom command button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { command: [ {\n        name: \"details\",\n        click: function(e) {\n          // e.target is the DOM element representing the button\n          var tr = $(e.target).closest(\"tr\"); // get the current table row (tr)\n          // get the data bound to the current table row\n          var data = this.dataItem(tr);\n          console.log(\"Details for: \" + data.name);\n        }\n      } ]\n   }\n  ],\n  dataSource: [ { name: \"Jane Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.editor ",["inlinecode","Function"]],["para","Provides a way to specify a custom editing UI for the column. Use the ",["inlinecode","container"]," parameter to create the editing UI."],["blockquote",["para","The editing UI should contain an element whose ",["inlinecode","name"]," HTML attribute is set as the column ",["link",{"href":"#configuration-columns.field"},"field"],"."],["para","Validation settings defined in the ",["inlinecode","model.fields"]," configuration will ",["strong","not"]," be applied automatically. In order the validation to work, ",["strong","the developer is responsible for attaching the corresponding validation attributes to the editor input"],". In case the custom editor is a widget, the developer should ",["link",{"href":"http://docs.kendoui.com/getting-started/framework/validator/overview#customizing-the-tooltip-position"},"customize the validation warning tooltip position"]," in order to avoid visual issues."]],["header",{"level":4},"Parameters"],["header",{"level":5},"container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element."],["header",{"level":5},"options ",["inlinecode","Object"]],["header",{"level":5},"options.field ",["inlinecode","String"]],["para","The name of the field to which the column is bound."],["header",{"level":5},"options.format ",["inlinecode","String"]],["para","The format string of the column specified via the ",["link",{"href":"#configuration-columns.format"},"format"]," option."],["header",{"level":5},"options.model ",["inlinecode","kendo.data.Model"]],["para","The model instance to which the current table row is bound."],["header",{"level":5},"options.values ",["inlinecode","Array"]],["para","Array of values specified via the ",["link",{"href":"#configuration-columns.values"},"values"]," option."],["header",{"level":4},"Example - create a custom column editor using the Kendo UI AutoComplete"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    editor: function(container, options) {\n     // create an input element\n     var input = $(\"<input/>\");\n     // set its name to the field to which the column is bound ('name' in this case)\n     input.attr(\"name\", options.field);\n     // append it to the container\n     input.appendTo(container);\n     // initialize a Kendo UI AutoComplete\n     input.kendoAutoComplete({\n       dataTextField: \"name\",\n       dataSource: [\n         { name: \"Jane Doe\" },\n         { name: \"John Doe\" }\n       ]\n     });\n    }\n  } ],\n  editable: true,\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - create a custom column editor with validation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"num\",\n    editor: function(container, options) {\n     //create input element and add the validation attribute\n     var input = $('<input name=\"' + options.field + '\" required=\"required\" />');\n     //append the editor\n     input.appendTo(container);\n     //enhance the input into NumericTextBox\n     input.kendoNumericTextBox();\n\n     //create tooltipElement element, NOTE: data-for attribute should match editor's name attribute\n     var tooltipElement = $('<span class=\"k-invalid-msg\" data-for=\"' + options.field + '\"></span>');\n     //append the tooltip element\n     tooltipElement.appendTo(container);\n   }\n  } ],\n  editable: true,\n  scrollable: false,\n  dataSource: {\n    data: [ { num: 1 }, { num: 2 } ],\n    schema: {\n      model: {\n        fields: {\n          num: { type: \"number\", validation: { required: true } }\n        }\n      }\n    }\n  }\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-custom.html"},"Editing custom editor"]," for a live demo."]],["header",{"level":3},"columns.encoded ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the column value will be HTML-encoded before it is displayed. If set to ",["inlinecode","false"]," the column value will be displayed as is. By default the column value is HTML-encoded."],["header",{"level":4},"Example - prevent HTML encoding"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\", encoded: false }\n  ],\n  dataSource: [ { name: \"<strong>Jane Doe</strong>\" } ]\n});\n</script>"],["header",{"level":3},"columns.field ",["inlinecode","String"]],["para","The field to which the column is bound. The value of this field is displayed by the column during data binding.\n",["strong","The field name should be a valid Javascript identifier and should contain no spaces, no special characters, and the first character should be a letter."]],["header",{"level":4},"Example - specify the column field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    // create a column bound to the \"name\" field\n    { field: \"name\" },\n    // create a column bound to the \"age\" field\n    { field: \"age\" }\n  ],\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"],["header",{"level":3},"columns.filterable ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," a filter menu will be displayed for this column when filtering is enabled. If set to ",["inlinecode","false"]," the filter menu will not be displayed. By default a filter menu is displayed\nfor all columns when filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"]," option."],["para","Can be set to a JavaScript object which represents the filter menu configuration."],["header",{"level":4},"Example - disable filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\", filterable: false },\n    { field: \"age\" }\n  ],\n  filterable: true,\n  dataSource: [ { name: \"Jane\", age: 30 }, { name: \"John\", age: 33 }]\n});\n</script>"],["header",{"level":3},"columns.filterable.ui ",["inlinecode","String|Function"]],["para","The role data attribute of the widget used in the filter menu or a JavaScript function which initializes that widget."],["header",{"level":4},"Example - specify the filter UI as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    filterable: {\n      ui: \"datetimepicker\" // use Kendo UI DateTimePicker\n    }\n  } ],\n  filterable: true,\n  dataSource: [ { date: new Date() }, { date: new Date() } ]\n});\n</script>"],["header",{"level":4},"Example - initialize the filter UI"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    filterable: {\n      ui: function(element) {\n        element.kendoDateTimePicker(); // initialize a Kendo UI DateTimePicker\n      }\n    }\n  } ],\n    filterable: true,\n    dataSource: [ { date: new Date() }, { date: new Date() } ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/filter-menu-customization.html"},"Filter menu customization"]," for a live demo."]],["header",{"level":3},"columns.footerTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the footer table cell for the column."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - specify column footer template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      footerTemplate: \"Min: #: min # Max: #: max #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    aggregate: [\n        { field: \"age\", aggregate: \"min\" },\n        { field: \"age\", aggregate: \"max\" }\n    ]\n  }\n});\n</script>"],["header",{"level":3},"columns.format ",["inlinecode","String"]],["para","The format that is applied to the value before it is displayed. Takes the form \"{0:format}\" where \"format\" is a ",["link",{"href":"/api/framework/kendo#standard-number-formats"},"standard number format"],",\n",["link",{"href":"/api/framework/kendo#custom-number-formats"},"custom number format"],", ",["link",{"href":"/api/framework/kendo#standard-date-formats"},"standard date format"]," or a ",["link",{"href":"/api/framework/kendo#custom-date-formats"},"custom date format"],"."],["blockquote",["para","The ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"]," function is used to format the value."]],["header",{"level":4},"Example - specify the column format string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"date\",\n    format: \"{0: yyyy-MM-dd HH:mm:ss}\"\n  }, {\n    field: \"number\",\n    format: \"{0:c}\"\n  } ],\n  filterable: true,\n  dataSource: [ { date: new Date(), number: 3.1415 } ]\n});\n</script>"],["header",{"level":3},"columns.groupHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group header when the grid is grouped by the column ",["link",{"href":"#configuration-columns.field"},"field"],". By default the name of the field\nand the current group value is displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","value - the current group value"],["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - set the group header template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      groupHeaderTemplate: \"Age: #= value # total: #= count #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 30 }\n    ],\n    group: { field: \"age\", aggregates: [ { field: \"age\", aggregate: \"count\" }] }\n  }\n});"],["header",{"level":3},"columns.groupFooterTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the group footer when the grid is grouped by the column field. By default the group footer is not displayed."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","average - the value of the \"average\" aggregate (if specified)"],["listitem","count - the value of the \"count\" aggregate (if specified)"],["listitem","max - the value of the \"max\" aggregate (if specified)"],["listitem","min - the value of the \"min\" aggregate (if specified)"],["listitem","sum - the value of the \"sum\" aggregate (if specified)"]],["header",{"level":4},"Example - set the group header template"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\",\n      groupFooterTemplate: \"Total: #= count #\"\n    }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 30 }\n    ],\n    group: { field: \"age\", aggregates: [ { field: \"age\", aggregate: \"count\" }] }\n  }\n});"],["header",{"level":3},"columns.headerAttributes ",["inlinecode","Object"]],["para","HTML attributes of the column header. The grid renders a table header cell (",["inlinecode","<th>"],") for every column. The ",["inlinecode","headerAttributes"]," option can be used to set the HTML attributes of that ",["inlinecode","th"],"."],["blockquote",["para","HTML attributes which are JavaScript keywords (e.g. ",["em","class"],") must be quoted."]],["header",{"level":4},"Example - set the column header HTML attributes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [{\n    field: \"name\",\n    headerAttributes: {\n      \"class\": \"table-header-cell\",\n      style: \"text-align: right; font-size: 14px\"\n    }\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["para","The table header cell will look like this: ",["inlinecode","<th class=\"table-header-cell\" style=\"text-align: right; font-size: 14px\">name</th>"],"."],["header",{"level":3},"columns.headerTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column header content. By default the value of the ",["link",{"href":"#configuration-columns.title"},"title"]," column option\nis displayed in the column header cell."],["blockquote",["para","If sorting is enabled, the column header content will be wrapped in a ",["inlinecode","<a>"]," element. As a result the template ",["strong","must"]," contain only inline elements."]],["header",{"level":4},"Example - column header template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    headerTemplate: '<input type=\"checkbox\" id=\"check-all\" /><label for=\"check-all\">Check All</label>'\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.hidden ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the column will not be displayed in the grid. By default all columns are displayed."],["header",{"level":4},"Example - hide columns"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { hidden: true, field: \"id\" },\n    { field: \"name\" }\n  ],\n  dataSource: [ { id: 1, name: \"Jane Doe\" }, { id: 2, name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.sortable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can click the column header and sort the grid by the column ",["link",{"href":"#configuration-columns.field"},"field"]," when sorting is enabled. If set to ",["inlinecode","false"]," sorting will\nbe disabled for this column. By default all columns are sortable if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."],["header",{"level":4},"Example - disable sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { sortable: false, field: \"id\" },\n    { field: \"name\" }\n  ],\n  sortable: true,\n  dataSource: [ { id: 1, name: \"Jane Doe\" }, { id: 2, name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the column content. The grid renders table rows (",["inlinecode","<tr>"],") which represent the data source items.\nEach table row consists of table cells (",["inlinecode","<td>"],") which represent the grid columns. By default the HTML-encoded value of the ",["link",{"href":"#configuration-columns.field"},"field"]," is displayed in the column."],["blockquote",["para","Use the ",["inlinecode","template"]," to customize the way the column displays its value."]],["header",{"level":4},"Example - set the template as a string (wrap the column value in HTML)"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: \"<strong>#: name # </strong>\"\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set the template as a function returned by kendo.template"],["code_block","<div id=\"grid\"></div>\n<script id=\"name-template\" type=\"text/x-kendo-template\">\n  <strong>#: name #</strong>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: kendo.template($(\"#name-template\").html())\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":4},"Example - set the template as a function which returns a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ {\n    field: \"name\",\n    template: function(dataItem) {\n      return \"<strong>\" + kendo.htmlEncode(dataItem.name) + \"</strong>\";\n    }\n  }],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.title ",["inlinecode","String"]],["para","The text that is displayed in the column header cell. If not set the ",["link",{"href":"#configuration-columns.field"},"field"]," is used."],["header",{"level":4},"Example - set the title of the column"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [ { field: \"name\", title: \"Name\" } ],\n  dataSource: [ { name: \"Jane Doe\" }, { name: \"John Doe\" } ]\n});\n</script>"],["header",{"level":3},"columns.width ",["inlinecode","String|Number"]],["para","The width of the column. Numeric values are treated as pixels. ",["strong","For more important information, please refer to ",["link",{"href":"/getting-started/web/grid/walkthrough#column-widths"},"Column Widths"]],"."],["header",{"level":4},"Example - set the column width as a string"],["code_block"," <div id=\"grid\"></div>\n <script>\n $(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\", width: \"200px\" },\n     { field: \"age\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ]\n });\n </script>"],["header",{"level":4},"Example - set the column width as a number"],["code_block"," <div id=\"grid\"></div>\n <script>\n $(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\", width: 200 },\n     { field: \"age\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ]\n });\n </script>"],["header",{"level":3},"columns.values ",["inlinecode","Array"]],["para","An array of values that will be displayed instead of the bound value. Each item in the array must have a ",["inlinecode","text"]," and ",["inlinecode","value"]," fields."],["blockquote",["para","Use the ",["inlinecode","values"]," option to display user-friendly text instead of database values."]],["header",{"level":4},"Example - specify column values"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n      { text: \"Beverages\", value: 1 },\n      { text: \"Food\", value: 2 }\n    ] }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ]\n});\n</script>"],["para","This example displays \"Beverages\" and \"Food\" in the \"category\" column instead of \"1\" and \"2\"."],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/foreignkeycolumn.html"},"ForeignKey column"]," for a live demo."]],["header",{"level":3},"columns.menu ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the column will be visible in the grid column menu. By default the column menu includes all data-bound columns (ones that have their ",["link",{"href":"#configuration-columns.field"},"field"]," set)."],["header",{"level":4},"Example - hide a column from the column menu"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\", menu: false },\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: true,\n  dataSource: [\n    { id: 1, name: \"Jane Doe\", age: 30 },\n    { id: 2, name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the grid will display the column menu when the user clicks the chevron icon in the column headers. The column menu allows the user to show and hide columns, filter and sort (if filtering and sorting are enabled).\nBy default the column menu is not enabled."],["para","Can be set to a JavaScript object which represents the column menu configuration."],["header",{"level":4},"Example - enable the column menu"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-menu.html"},"Column menu"]," for a live demo."]],["header",{"level":3},"columnMenu.columns ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the column menu would allow the user to select (show and hide) grid columns. By default the column menu allows column selection."],["header",{"level":4},"Example - disable column selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    columns: false\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.filterable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the column menu would allow the user to filter the grid. By default the column menu allows the user to filter if filtering is enabled via the ",["link",{"href":"#configuration-filterable"},"filterable"],"."],["header",{"level":4},"Example - disable column menu filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    filterable: false\n  },\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.sortable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the column menu would allow the user to sort the grid by the column field. By default the column menu allows the user to sort if sorting is enabled via the ",["link",{"href":"#configuration-sortable"},"sortable"]," option."],["blockquote",["para","If this option is set to ",["inlinecode","false"]," the user could still sort by clicking the column header cell."]],["header",{"level":4},"Example - disable column menu sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    sortable: false\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages ",["inlinecode","Object"]],["para","The text messages displayed in the column menu. Use it to customize or localize the column menu messages."],["header",{"level":4},"Example - customize column menu messages"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      columns: \"Choose columns\",\n      filter: \"Apply filter\",\n      sortAscending: \"Sort (asc)\",\n      sortDescending: \"Sort (desc)\"\n    }\n  },\n  sortable: true,\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.columns ",["inlinecode","String"]," ",["em","(default: \"Columns\")"]],["para","The text message displayed for the column selection menu item."],["header",{"level":4},"Example - set the column selection message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      columns: \"Choose columns\"\n    }\n  },\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.filter ",["inlinecode","String"]," ",["em","(default: \"Filter\")"]],["para","The text message displayed for the filter menu item."],["header",{"level":4},"Example - set the filter message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      filter: \"Apply filter\",\n    }\n  },\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.sortAscending ",["inlinecode","String"]," ",["em","(default: \"Sort Ascending\")"]],["para","The text message displayed for the menu item which performs ascending sort."],["header",{"level":4},"Example - set the sort ascending message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      sortAscending: \"Sort (asc)\",\n    }\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.sortDescending ",["inlinecode","String"]," ",["em","(default: \"Sort Descending\")"]],["para","The text message displayed for the menu item which performs descending sort."],["header",{"level":4},"Example - set the sort descending message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      sortDescending: \"Sort (desc)\",\n    }\n  },\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.settings ",["inlinecode","String"]," ",["em","(default: \"Column Settings\")"]],["para","The text message displayed in the menu header (available in mobile mode only)."],["header",{"level":4},"Example - mobile column menu header"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      settings: \"Column Options\",\n    }\n  },\n  mobile: \"phone\",\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"columnMenu.messages.done ",["inlinecode","String"]," ",["em","(default: \"Done\")"]],["para","The text message displayed in the menu header button (available in mobile mode only)."],["header",{"level":4},"Example - mobile column menu header button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  columnMenu: {\n    messages: {\n      done: \"Ok\",\n    }\n  },\n  mobile: \"phone\",\n  sortable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id=\"grid\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  },\n  pageSize: 10\n});\n$(\"#grid\").kendoGrid({\n  dataSource: dataSource,\n  pageable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/local-data.html"},"Binding to local data"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/remote-data.html"},"Binding to remote data"]," for live demos."]],["header",{"level":3},"detailTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the detail rows."],["header",{"level":4},"Example - specify detail template as a function"],["code_block","<script id=\"detail-template\">\n  <div>\n    Name: #: name #\n  </div>\n  <div>\n    Age: #: age #\n  </div>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: kendo.template($(\"#detail-template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify detail template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\n</script>"],["blockquote",["para","The detail template content cannot be wider than the total width of all master columns, unless the detail template is scrollable.\nCheck ",["link",{"href":"http://demos.kendoui.com/web/grid/detailtemplate.html"},"Detail Template"]," for a live demo."]],["header",{"level":3},"editable ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the user would be able to edit the data to which the grid is bound to. By default editing is disabled."],["para","Can be set to a string (\"inline\", \"incell\" or \"popup\") to specify the editing mode. The default editing mode is \"incell\"."],["para","Can be set to a JavaScript object which represents the editing configuration."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]],["header",{"level":4},"Example - enable editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: true\n});\n</script>"],["header",{"level":4},"Example - enable popup editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: \"popup\"\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/editing.html"},"Batch editing"],", ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-inline.html"},"Inline editing"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/editing-popup.html"},"Popup editing"]," for live demos."]],["header",{"level":3},"editable.confirmation ",["inlinecode","Boolean|String"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the grid will display a confirmation dialog when the user clicks the \"destroy\" command button."],["para","Can be set to a string which will be used as the confirmation text."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   editable: {\n     confirmation: false\n   }\n});\n</script>"],["header",{"level":4},"Example - set delete confirmation text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   editable: {\n     confirmation: \"Are you sure that you want to delete this record?\"\n   }\n});\n</script>"],["header",{"level":3},"editable.cancelDelete ",["inlinecode","String"]," ",["em","(default: \"Cancel\")"]],["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the cancel button."],["header",{"level":4},"Example - change the cancel delete button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   mobile: \"phone\",\n   editable: {\n     confirmation: true,\n     cancelDelete: \"No\"\n   }\n});\n</script>"],["header",{"level":3},"editable.confirmDelete ",["inlinecode","String"]," ",["em","(default: \"Delete\")"]],["para","If confirmation is enabled the grid will display a confirmation dialog when the user clicks the \"destroy\" command button.\nIf the grid is in mobile mode this text will be used for the confirm button."],["header",{"level":4},"Example - change the cofirm delete button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   mobile: \"phone\",\n   editable: {\n     confirmation: true,\n     confirmDelete: \"Yes\"\n   }\n});\n</script>"],["header",{"level":3},"editable.createAt ",["inlinecode","String"]," ",["em","(default: \"top\")"]],["para","The position at which new data items are inserted in the grid. Must be set to either \"top\" or \"bottom\". By default new data items are inserted at the top."],["header",{"level":4},"Example - insert new data items at the bottom"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    createAt: \"bottom\"\n  },\n  toolbar: [\"create\"]\n});\n</script>"],["header",{"level":3},"editable.destroy ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can delete data items from the grid by clicking the \"destroy\" command button. Deleting is enabled by default."],["header",{"level":4},"Example - disable deleting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    destroy: false\n  },\n  toolbar: [\"create\"]\n});\n</script>"],["header",{"level":3},"editable.mode ",["inlinecode","String"]," ",["em","(default: \"incell\")"]],["para","The editing mode to use. The supported editing modes are \"incell\", \"inline\" and \"popup\"."],["blockquote",["para","The \"inline\" and \"popup\" editing modes are triggered by the \"edit\" column command. Thus it is required to have a column with an \"edit\" command."]],["header",{"level":4},"Example - specify inline editing mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"inline\"\n  }\n});\n</script>"],["header",{"level":3},"editable.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders popup editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]],["header",{"level":4},"Example - customize the popup editor"],["code_block","<script id=\"popup-editor\" type=\"text/x-kendo-template\">\n  <h3>Edit Person</h3>\n  <p>\n    <label>Name:<input name=\"name\" /></label>\n  </p>\n  <p>\n    <label>Age: <input data-role=\"numerictextbox\" name=\"age\" /></label>\n  </p>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"popup\",\n    template: kendo.template($(\"#popup-editor\").html())\n  }\n});\n</script>"],["header",{"level":4},"Example - using MVVM in the popup editor template"],["code_block","<script id=\"popup-editor\" type=\"text/x-kendo-template\">\n  <h3>Edit Person</h3>\n  <p>\n    <label>Name:<input data-bind=\"value: name\" /></label>\n  </p>\n  <p>\n    <label>Age:<input data-role=\"numerictextbox\" data-bind=\"value:age\" /></label>\n  </p>\n</script>\n<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: {\n    mode: \"popup\",\n    template: kendo.template($(\"#popup-editor\").html())\n  }\n});\n</script>"],["header",{"level":3},"editable.update ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can edit data items when editing is enabled."],["header",{"level":4},"Example - enable only deleting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n  ],\n  editable: {\n    mode: \"incell\",\n    update: false\n  }\n});\n</script>"],["header",{"level":3},"editable.window ",["inlinecode","Object"]],["para","Configures the Kendo UI Window instance, which is used when the Grid edit mode is ",["inlinecode","\"popup\""],". The configuration is optional."],["para","For more information, please refer to the ",["link",{"href":"/api/web/window"},"Window configuration API"],"."],["header",{"level":4},"Example - Grid popup Window configuration"],["code_block","<div id=\"grid\"></div>\n<script>\n\nfunction myOpenEventHandler(e) {\n    // ...\n}\n\n$(\"#grid\").kendoGrid({\n  editable: {\n    mode: \"popup\",\n    window: {\n        title: \"My Custom Title\",\n        animation: false,\n        open: myOpenEventHandler\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the user can filter the data source using the grid filter menu. Filtering is disabled by default."],["para","Can be set to a JavaScript object which represents the filter menu configuration."],["header",{"level":4},"Example - enable the filtering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  filterable: true,\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"filterable.extra ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the filter menu allows the user to input a second criteria."],["header",{"level":4},"Example - disable the extra filtering criteria"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  filterable: {\n    extra: false\n  },\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"filterable.messages ",["inlinecode","Object"]],["para","The text messages displayed in the filter menu. Use it to customize or localize the filter menu messages."],["header",{"level":4},"Example - customize filter menu messages"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      and: \"and\",\n      or: \"or\",\n      filter: \"Apply filter\",\n      clear: \"Clear filter\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.and ",["inlinecode","String"]," ",["em","(default: \"And\")"]],["para","The text of the option which represents the \"and\" logical operation."],["header",{"level":4},"Example - set the \"and\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      and: \"and\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.clear ",["inlinecode","String"]," ",["em","(default: \"Clear\")"]],["para","The text of the button which clears the filter."],["header",{"level":4},"Example - set the \"clear\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      clear: \"Clear filter\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.filter ",["inlinecode","String"]," ",["em","(default: \"Filter\")"]],["para","The text of the button which applies the filter."],["header",{"level":4},"Example - set the \"filter\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      filter: \"Apply filter\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.info ",["inlinecode","String"]," ",["em","(default: \"Show items with value that: \")"]],["para","The text of the information message on the top of the filter menu."],["header",{"level":4},"Example - set the \"info\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      info: \"Filter by: \"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.isFalse ",["inlinecode","String"]," ",["em","(default: \"is false\")"]],["para","The text of the radio button for ",["inlinecode","false"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."],["header",{"level":4},"Example - set the \"isFalse\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"active\" }\n  ],\n  dataSource: {\n    data: [\n      { active: true },\n      { active: false }\n    ],\n    schema: {\n      model: {\n        fields: {\n          active: { type: \"boolean\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    messages: {\n      isFalse: \"False\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.isTrue ",["inlinecode","String"]," ",["em","(default: \"is true\")"]],["para","The text of the radio button for ",["inlinecode","true"]," values. Displayed when filtering ",["inlinecode","Boolean"]," fields."],["header",{"level":4},"Example - set the \"isTrue\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"active\" }\n  ],\n  dataSource: {\n    data: [\n      { active: true },\n      { active: false }\n    ],\n    schema: {\n      model: {\n        fields: {\n          active: { type: \"boolean\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    messages: {\n      isTrue: \"True\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.or ",["inlinecode","String"]," ",["em","(default: \"Or\")"]],["para","The text of the option which represents the \"or\" logical operation."],["header",{"level":4},"Example - set the \"or\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  filterable: {\n    messages: {\n      or: \"or\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.selectValue ",["inlinecode","String"]," ",["em","(default: \"-Select value-\")"]],["para","The text of the dropdownlist displayed in the filter menu for columns whose ",["link",{"href":"#configuration-columns.values"},"values"]," option is set."],["header",{"level":4},"Example - set the \"selectValue\" message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    messages: {\n      selectValue: \"Select category\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.cancel ",["inlinecode","String"]," ",["em","(default: \"Cancel\")"]],["para","The text of the cancel button in the filter menu header (available in mobile mode only)."],["header",{"level":4},"Example - set the cancel button text"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      cancel: \"Reject\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.operator ",["inlinecode","String"]," ",["em","(default: \"Operator\")"]],["para","The text of the operator item in filter menu (available in mobile mode only)."],["header",{"level":4},"Example - set the text of operator item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      operator: \"Choose operator\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.messages.value ",["inlinecode","String"]," ",["em","(default: \"Value\")"]],["para","The text of the value item in filter menu (available in mobile mode only)."],["header",{"level":4},"Example - set the text of value item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        { text: \"Beverages\", value: 1 },\n        { text: \"Food\", value: 2 },\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  mobile: \"phone\",\n  filterable: {\n    messages: {\n      value: \"Choose value\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators ",["inlinecode","Object"]],["para","The text of the filter operators displayed in the filter menu."],["header",{"level":3},"filterable.operators.string ",["inlinecode","Object"]],["para","The texts of the filter operators displayed for columns bound to string fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set string operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."],["header",{"level":3},"filterable.operators.string.eq ",["inlinecode","String"]," ",["em","(default: \"Is equal to\")"]],["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the string \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.string.neq ",["inlinecode","String"]," ",["em","(default: \"Is not equal to\")"]],["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the string \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.string.startswith ",["inlinecode","String"]," ",["em","(default: \"Starts with\")"]],["para","The text of the \"starts with\" filter operator."],["header",{"level":4},"Example - set the string \"starts with\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        startswith: \"Starts\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.string.contains ",["inlinecode","String"]," ",["em","(default: \"Contains\")"]],["para","The text of the \"contains\" filter operator."],["header",{"level":4},"Example - set the string \"contains\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        contains: \"Contains\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.string.doesnotcontain ",["inlinecode","String"]," ",["em","(default: \"Does not contain\")"]],["para","The text of the \"does not contain\" filter operator."],["header",{"level":4},"Example - set the string \"does not contain\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        doesnotcontain: \"Doesn't contain\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.string.endswith ",["inlinecode","String"]," ",["em","(default: \"Ends with\")"]],["para","The text of the \"ends with\" filter operator."],["header",{"level":4},"Example - set the string \"ends with\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\" },\n    { name: \"John Doe\" }\n  ],\n  filterable: {\n    operators: {\n      string: {\n        endswith: \"Ends\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number ",["inlinecode","Object"]],["para","The texts of the filter operators displayed for columns bound to number fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set number operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."],["header",{"level":3},"filterable.operators.number.eq ",["inlinecode","String"]," ",["em","(default: \"Is equal to\")"]],["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the number \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number.neq ",["inlinecode","String"]," ",["em","(default: \"Is not equal to\")"]],["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the number \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number.gte ",["inlinecode","String"]," ",["em","(default: \"Is greater than or equal to\")"]],["para","The text of the \"greater than or equal\" filter operator."],["header",{"level":4},"Example - set the number \"greater than or equal to\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        gte: \"Greater than or equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number.gt ",["inlinecode","String"]," ",["em","(default: \"Is greater than\")"]],["para","The text of the \"greater than\" filter operator."],["header",{"level":4},"Example - set the number \"greater than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        gt: \"Greater than\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number.lte ",["inlinecode","String"]," ",["em","(default: \"Is less than or equal to\")"]],["para","The text of the \"less than or equal\" filter operator."],["header",{"level":4},"Example - set the number \"less than or equal to\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        lte: \"Less than or equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.number.lt ",["inlinecode","String"]," ",["em","(default: \"Is less than\")"]],["para","The text of the \"less than\" filter operator."],["header",{"level":4},"Example - set the number \"less than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        fields: {\n          age: { type: \"number\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      number: {\n        lt: \"Less than\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date ",["inlinecode","Object"]],["para","The texts of the filter operators displayed for columns bound to date fields."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set date operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gt: \"After\",\n        lt: \"Before\"\n      }\n    }\n  }\n});\n</script>"],["para","In this example only two operators would be displayed in the dropdown list - \"Equal to\" and \"Not equal to\"."],["header",{"level":3},"filterable.operators.date.eq ",["inlinecode","String"]," ",["em","(default: \"Is equal to\")"]],["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the date \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        eq: \"Equal\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date.neq ",["inlinecode","String"]," ",["em","(default: \"Is not equal to\")"]],["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the date \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        neq: \"Not equal\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date.gte ",["inlinecode","String"]," ",["em","(default: \"Is after or equal to\")"]],["para","The text of the \"greater than or equal\" filter operator."],["header",{"level":4},"Example - set the date \"greater than or equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gte: \"After or equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date.gt ",["inlinecode","String"]," ",["em","(default: \"Is after\")"]],["para","The text of the \"greater than\" filter operator."],["header",{"level":4},"Example - set the date \"greater than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        gt: \"After\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date.lte ",["inlinecode","String"]," ",["em","(default: \"Is before or equal to\")"]],["para","The text of the \"less than or equal\" filter operator."],["header",{"level":4},"Example - set the date \"less than or equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        lte: \"Before or equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.date.lt ",["inlinecode","String"]," ",["em","(default: \"Is before\")"]],["para","The text of the \"less than\" filter operator."],["header",{"level":4},"Example - set the date \"less than\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"date\", format: \"{0:yyyy-MM-dd}\" }\n  ],\n  dataSource: {\n    data: [\n      { date: kendo.parseDate(\"2000-10-10\") },\n      { date: new Date() }\n    ],\n    schema: {\n      model: {\n        fields: {\n          date: { type: \"date\" }\n        }\n      }\n    }\n  },\n  filterable: {\n    operators: {\n      date: {\n        lt: \"Before\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.enums ",["inlinecode","Object"]],["para","The texts of the filter operators displayed for columns which have their ",["link",{"href":"#configuration-columns.values"},"values"]," option set."],["blockquote",["para","Omitting an operator will exclude it from the dropdown list with the available operators."]],["header",{"level":4},"Example - set enum operators"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        eq: \"Equal to\",\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.enums.eq ",["inlinecode","String"]," ",["em","(default: \"Is equal to\")"]],["para","The text of the \"equal\" filter operator."],["header",{"level":4},"Example - set the enum \"equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        eq: \"Equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"filterable.operators.enums.neq ",["inlinecode","String"]," ",["em","(default: \"Is not equal to\")"]],["para","The text of the \"not equal\" filter operator."],["header",{"level":4},"Example - set the enum \"not equal\" operator"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\", values: [\n        {text: \"Beverages\", value: 1 },\n        {text: \"Food\", value: 2 }\n      ]\n    }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: 1 },\n    { productName: \"Ham\", category: 2 }\n  ],\n  filterable: {\n    operators: {\n      enums: {\n        neq: \"Not equal to\"\n      }\n    }\n  }\n});\n</script>"],["header",{"level":3},"groupable ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the user could group the grid by dragging the column header cells. By default grouping is disabled."],["para","Can be set to a JavaScript object which represents the grouping configuration."],["header",{"level":4},"Example - enable grouping"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  groupable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/index.html"},"Basic usage"]," for a live demo."]],["header",{"level":3},"groupable.messages ",["inlinecode","Object"]],["para","The text messages displayed during grouping."],["header",{"level":3},"groupable.messages.empty ",["inlinecode","String"]," ",["em","(default: \"Drag a column header and drop it here to group by that column\")"]],["para","The text displayed in the grouping drop area."],["header",{"level":4},"Example - set the \"empty\" grouping message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  groupable: {\n    messages: {\n      empty: \"Drop columns here\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number|String"]],["para","The height of the grid. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the height as a number"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  height: 100\n});\n</script>"],["header",{"level":4},"Example - set the height as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  height: \"10em\"\n});\n</script>"],["header",{"level":3},"navigatable ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the use could navigate the widget using the keyboard navigation. By default keyboard navigation is disabled."],["header",{"level":4},"Example - enable keyboard navigation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  navigatable: true,\n  selectable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/navigation.html"},"Keyboard navigation"]," for a live demo."]],["header",{"level":3},"pageable ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the grid will display a pager. By default paging is disabled."],["para","Can be set to a JavaScript object which represents the pager configuration."],["header",{"level":4},"Example - enable paging"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2\n  }\n});\n</script>"],["header",{"level":3},"pageable.pageSize ",["inlinecode","Number"]],["para","The number of data items which will be displayed in the grid."],["header",{"level":4},"Example - set page size"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2\n  }\n});\n</script>"],["header",{"level":3},"pageable.previousNext ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the pager will display buttons for going to the first, previous, next and last pages. By default those buttons are displayed."],["header",{"level":4},"Example - hide the first, previous, next, and last buttons"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    previousNext: false\n  }\n});\n</script>"],["header",{"level":3},"pageable.numeric ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the pager will display buttons for navigating to specific pages. By default those buttons are displayed."],["header",{"level":4},"Example - hide the numeric pager buttons"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    numeric: false\n  }\n});\n</script>"],["header",{"level":3},"pageable.buttonCount ",["inlinecode","Number"]," ",["em","(default: 10)"]],["para","The maximum number of buttons displayed in the numeric pager. The pager will display ellipsis (...) if there are more pages than the specified number."],["header",{"level":4},"Example - set pager button count"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    buttonCount: 1\n  }\n});\n</script>"],["header",{"level":3},"pageable.input ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the pager will display an input element which allows the user to type a specific page number. By default the page input is not displayed."],["header",{"level":4},"Example - show the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true\n  }\n});\n</script>"],["header",{"level":3},"pageable.pageSizes ",["inlinecode","Boolean|Array"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the pager will display a dropdown list which allows the user to pick a page size. By default the page size dropdown list is not displayed."],["para","Can be set to an array with the available page sizes."],["header",{"level":4},"Example - show the page size dropdown"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: true\n  }\n});\n</script>"],["header",{"level":4},"Example - specify the page sizes as array"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: [2, 3, 4]\n  }\n});\n</script>"],["header",{"level":3},"pageable.refresh ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the pager will display the refresh button. Clicking the refresh button will refresh the grid. By default the refresh button is not displayed."],["header",{"level":4},"Example - show the refresh button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    refresh: true\n  }\n});\n</script>"],["header",{"level":3},"pageable.info ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the pager will display information about the current page and total number of data items. By default the paging information is displayed."],["header",{"level":5},"Example - hide the paging information"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    info: false\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages ",["inlinecode","Object"]],["para","The text messages displayed in pager. Use this option to customize or localize the pager messages."],["header",{"level":3},"pageable.messages.display ",["inlinecode","String"]," ",["em","(default: \"{0} - {1} of {2} items\")"],","],["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"],["header",{"level":4},"Example - set the \"display\" pager message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      display: \"Showing {0}-{1} from {2} data items\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.empty ",["inlinecode","String"]," ",["em","(default: \"No items to display\")"],","],["para","The text displayed when the grid is empty."],["header",{"level":4},"Example - set the \"empty\" pager message"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      empty: \"No data\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.page ",["inlinecode","String"]," ",["em","(default: \"Page\")"],","],["para","The label displayed before the pager input."],["header",{"level":4},"Example - set the label before the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true,\n    messages: {\n      page: \"Enter page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.of ",["inlinecode","String"]," ",["em","(default: \"of {0}\")"],","],["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."],["header",{"level":4},"Example - set the label after the pager input"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    input: true,\n    messages: {\n      of: \"from {0}\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.itemsPerPage ",["inlinecode","String"]," ",["em","(default: \"items per page\")"],","],["para","The label displayed after the page size dropdown list."],["header",{"level":4},"Example - set the label after the page size dropdown list"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    pageSizes: true,\n    messages: {\n      itemsPerPage: \"data items per page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.first ",["inlinecode","String"]," ",["em","(default: \"Go to the first page\")"],","],["para","The tooltip of the button which goes to the first page."],["header",{"level":4},"Example - set the tooltip of the first page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      first: \"First page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.last ",["inlinecode","String"]," ",["em","(default: \"Go to the last page\")"],","],["para","The tooltip of the button which goes to the last page."],["header",{"level":4},"Example - set the tooltip of the last page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      last: \"Last page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.next ",["inlinecode","String"]," ",["em","(default: \"Go to the next page\")"],","],["para","The tooltip of the button which goes to the next page."],["header",{"level":4},"Example - set the tooltip of the next page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      next: \"Next page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.previous ",["inlinecode","String"]," ",["em","(default: \"Go to the previous page\")"],","],["para","The tooltip of the button which goes to the previous page."],["header",{"level":4},"Example - set the tooltip of the previous page button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    messages: {\n      previous: \"Previous page\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"pageable.messages.refresh ",["inlinecode","String"]," ",["em","(default: \"Refresh\")"],","],["para","The tooltip of the refresh button."],["header",{"level":4},"Example - set the tooltip of the refresh button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: [\n    { productName: \"Tea\", category: \"Beverages\" },\n    { productName: \"Coffee\", category: \"Beverages\" },\n    { productName: \"Ham\", category: \"Food\" },\n    { productName: \"Bread\", category: \"Food\" }\n  ],\n  pageable: {\n    pageSize: 2,\n    refresh: true,\n    messages: {\n      refresh: \"Refresh the grid\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"reorderable ",["inlinecode","Boolean"]," ",["em","(default:false)"]],["para","If set to ",["inlinecode","true"]," the user could reorder the columns by dragging their header cells. By default reordering is disabled."],["header",{"level":4},"Example - enable column reordering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-reordering.html"},"Column reordering"]," for a live demo."]],["header",{"level":3},"resizable ",["inlinecode","Boolean"]," ",["em","(default:false)"]],["para","If set to ",["inlinecode","true"]," the user could resize the columns by dragging the edges of their header cells. By default resizing is disabled."],["header",{"level":4},"Example - enable column resizing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/column-resizing.html"},"Column resizing"]," for a live demo."]],["header",{"level":3},"rowTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders rows. Be default renders a table row (",["inlinecode","<tr>"],") for every data source item."],["blockquote",["para","The outermost HTML element in the template must be a table row (",["inlinecode","<tr>"],"). That table row must have the ",["inlinecode","uid"]," data attribute set to ",["inlinecode","#= uid #"],". The grid uses the ",["inlinecode","uid"]," data attribute to determine the data to which a table row is bound to."]],["header",{"level":4},"Example - specify row template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n    <tr data-uid=\"#= uid #\">\n        <td colspan=\"2\">\n            <strong>#: name #</strong>\n            <strong>#: age #</strong>\n        </td>\n    </tr>\n</script>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  rowTemplate: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":4},"Example - specify row template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [ { name: \"Jane Doe\", age: 30 }, { name: \"John Doe\", age: 33 } ],\n  rowTemplate: '<tr data-uid=\"#= uid #\"><td colspan=\"2\"><strong>#: name #</strong><strong>#: age #</strong></td></tr>'\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/rowtemplate.html"},"Row template"]," for a live demo."]],["header",{"level":3},"scrollable ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the grid will display a scrollbar when the total row height (or width) exceeds the grid height (or width). By default scrolling is enabled."],["para","Can be set to a JavaScript object which represents the scrolling configuration."],["header",{"level":4},"Example - disable scrolling"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  scrollable: false\n});\n</script>"],["header",{"level":3},"scrollable.virtual ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the grid will always display a single page of data. Scrolling would just change the data which is currently displayed."],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-local-data.html"},"Virtualization of local data"]," and ",["link",{"href":"http://demos.kendoui.com/web/grid/virtualization-remote-data.html"},"Virtualization of remote data"]," for live demos."]],["header",{"level":3},"selectable ",["inlinecode","Boolean|String"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the user would be able to select grid rows. By default selection is disabled."],["para","Can also be set to the following string values:"],["bulletlist",["listitem","\"row\" - the user can select a single row."],["listitem","\"cell\" - the user can select a single cell."],["listitem","\"multiple, row\" - the user can select multiple rows."],["listitem","\"multiple, cell\" - the user can select multiple cells."]],["header",{"level":4},"Example - set selectable as a boolean"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: true\n});\n</script>"],["header",{"level":4},"Example - set selectable as a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\"\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/selection.html"},"Selection"]," for a live demo."]],["header",{"level":3},"sortable ",["inlinecode","Boolean|Object"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the user could sort the grid by clicking the column header cells. By default sorting is disabled."],["para","Can be set to a JavaScript object which represents the sorting configuration."],["header",{"level":4},"Example - enable sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: true\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/sorting.html"},"Sorting"]," for a live demo."]],["header",{"level":3},"sortable.allowUnsort ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can get the grid in unsorted state by clicking the sorted column header."],["header",{"level":4},"Example - do not allow unsorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: {\n    allowUnsort: false\n  }\n});\n</script>"],["header",{"level":3},"sortable.mode ",["inlinecode","String"]," ",["em","(default: \"single\")"]],["para","The sorting mode. If set to \"single\" the user can sort by one column. If set to \"multiple\" the user can sort by one column."],["header",{"level":4},"Example - allow multiple column sorting"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  sortable: {\n    mode: \"multiple\"\n  }\n});\n</script>"],["header",{"level":3},"toolbar ",["inlinecode","Array"]],["para","The list of commands displayed in the grid toolbar. Commands can be custom or built-in (\"cancel\", \"create\", \"save\")."],["para","The \"cancel\" built-in command reverts any data changes done by the end user."],["para","The \"create\" command adds an empty data item to the grid."],["para","The \"save\" command persists any data changes done by the end user."],["header",{"level":4},"Example - configure the grid toolbar"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\" },\n    { name: \"save\" },\n    { name: \"cancel\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33},\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\n</script>"],["header",{"level":3},"toolbar.name ",["inlinecode","String"]],["para","The name of the toolbar command. Either a built-in (\"cancel\", \"create\" and \"save\") or custom."],["header",{"level":4},"Example - specify the name of the command"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\" },\n    { name: \"save\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\n</script>"],["header",{"level":3},"toolbar.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the command. Be default renders a button."],["header",{"level":4},"Example - set the template as a function"],["code_block","<div id=\"grid\"></div>\n<script id=\"template\" type=\"text/x-kendo-template\">\n<a class=\"k-button\" href=\"\\#\" onclick=\"return toolbar_click()\">Command</a>\n</script>\n<script>\nfunction toolbar_click() {\n  console.log(\"Toolbar command is clicked!\");\n  return false;\n}\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { template: kendo.template($(\"#template\").html()) }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["blockquote",["para","Check ",["link",{"href":"http://demos.kendoui.com/web/grid/toolbar-template.html"},"Toolbar template"]," for a live demo."]],["header",{"level":4},"Example - set the template as a string"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction toolbar_click() {\n  console.log(\"Toolbar command is clicked!\");\n  return false;\n}\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    {\n      template: '<a class=\"k-button\" href=\"\\\\#\" onclick=\"return toolbar_click()\">Command</a>'\n    }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\n</script>"],["header",{"level":3},"toolbar.text ",["inlinecode","String"]],["para","The text displayed by the command button. If not set the ",["link",{"href":"#configuration-toolbar.name"},"name"],"` option would be used as the button text instead."],["header",{"level":4},"Example - set the text of the toolbar button"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  toolbar: [\n    { name: \"create\", text: \"Add new\" }\n  ],\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { id: 1, name: \"Jane Doe\", age: 30 },\n    { id: 2, name: \"John Doe\", age: 33 }\n  ],\n  editable: true\n});\n</script>"],["header",{"level":3},"mobile ",["inlinecode","Boolean|String"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," and the grid is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type.\nThe grid uses same layout for both ",["inlinecode","phone"]," and ",["inlinecode","tablet"],"."],["header",{"level":4},"Example - enable adaptive rendering auto detect"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   filterable: true,\n   columnMenu: true,\n   mobile: true\n});\n</script>"],["header",{"level":4},"Example - force adaptive rendering"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n   columns: [\n     { field: \"name\" },\n     { field: \"age\" },\n     { command: \"destroy\" }\n   ],\n   dataSource: [\n     { name: \"Jane Doe\", age: 30 },\n     { name: \"John Doe\", age: 33 }\n   ],\n   filterable: true,\n   columnMenu: true,\n   mobile: \"phone\"\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"columns ",["inlinecode","Array"]],["para","The columns of the grid initialized from the ",["link",{"href":"#configuration-columns"},"columns"]," option. Every item from the ",["inlinecode","columns"]," array has the same fields as the corresponding ",["link",{"href":"#configuration-columns"},"columns"]," option."],["header",{"level":4},"Example - iterate the grid columns"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nfor (var i = 0; i < grid.columns.length; i++) {\n  console.log(grid.columns[i].field); // displays \"name\" and then \"age\"\n}\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30}\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.dataSource.add({ name: \"John Doe\", age: 33 });\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(0);\ndata.set(\"name\", \"John Doe\");\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33},\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataSource.at(1);\ngrid.dataSource.remove(data);\n</script>"],["header",{"level":3},"pager ",["inlinecode","kendo.ui.Pager"]],["para","The ",["link",{"href":"/api/web/pager"},"Pager widget"]," attached to the Grid."],["header",{"level":3},"table ",["inlinecode","jQuery"]],["para","The jQuery object which represents the grid table element."],["header",{"level":3},"tbody ",["inlinecode","jQuery"]],["para","The jQuery object which represents the table body. Contains all grid table rows."],["header",{"level":4},"Example - get the first table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33},\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar row = grid.tbody.find(\"tr:eq(0)\");\nvar data = grid.dataItem(row);\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"],["header",{"level":3},"thead ",["inlinecode","jQuery"]],["para","The jQuery object which represents the grid table header element."],["header",{"level":2},"Methods"],["header",{"level":3},"addRow"],["para","Adds an empty data item to the grid. In \"incell\" and \"inline\" editing mode a table row will be appended. Popup window will be displayed in \"popup\" editing mode."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Example - add a new data item"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();"],["header",{"level":3},"cancelChanges"],["para","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."],["header",{"level":4},"Example - cancel any changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelChanges();\n</script>"],["header",{"level":3},"cancelRow"],["para","Cancels editing for the table row which is in edit mode. Reverts any changes made."],["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.cancelRow();\n</script>"],["header",{"level":3},"cellIndex"],["para","Returns the index of the specified table cell. Skips group and detail table cells."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table cell. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the index of the specified table cell."],["header",{"level":4},"Example - find the cell index when the cell is a jQuery object"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar cell = $(\"#grid td:eq(1)\");\nconsole.log(grid.cellIndex(cell));\n</script>"],["header",{"level":4},"Example - find the cell index when the cell is a string"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nconsole.log(grid.cellIndex(\"td:eq(1)\"));\n</script>"],["header",{"level":3},"clearSelection"],["para","Clears the currently selected table rows or cells (depending on the current selection ",["link",{"href":"#configuration-selectable"},"mode"],")."],["header",{"level":4},"Example - clear selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  selectable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// select the first table row\ngrid.select(\"tr:eq(1)\");\ngrid.clearSelection();\n</script>"],["header",{"level":3},"closeCell"],["para","Stops editing the table cell which is in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"isCancel ",["inlinecode","Boolean"]," ",["em","optional"]],["para","A flag specifying whether to fire the ",["inlinecode","cancel"]," event. By default the event is not fired."],["header",{"level":4},"Example - cancel cell editing"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 },\n  ],\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.closeCell();\n</script>"],["header",{"level":3},"collapseGroup"],["para","Collapses the specified group. This hides the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - collapse the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\n</script>"],["header",{"level":3},"collapseRow"],["para","Collapses the specified master table row. This hides its detail table row."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - collapse the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first expand the first master table row\ngrid.expandRow(\".k-master-row:first\");\ngrid.collapseRow(\".k-master-row:first\");\n</script>"],["header",{"level":3},"current"],["para","Gets or sets the current cell for keyboard navigation."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","jQuery"]],["para","DOM element or jQuery object which represents the navigatable cell."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the current cell."],["header",{"level":4},"Example - select last cell for keyboard navigation"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n    columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n    ],\n    dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n    ],\n    navigatable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n\n//get the last cell of the Grid\nvar lastCell = grid.tbody.find(\"tr:last td:last\");\n//select the cell for navigation\ngrid.current(lastCell);\n//optional: focus the grid table\ngrid.table.focus();\n</script>"],["header",{"level":3},"dataItem"],["para","Returns the data item to which the specified table row is bound."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.ObservableObject"]," the data item to which the specified table row is bound. ",["link",{"href":"/api/framework/observableobject"},"More information about the ObservableObject type..."]],["header",{"level":4},"Example - get the data item to which the first table row is bound"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\nvar data = grid.dataItem(\"tr:eq(1)\");\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.destroy();\n</script>"],["header",{"level":3},"editCell"],["para","Switches the specified table cell in edit mode. Requires \"incell\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"cell ",["inlinecode","jQuery"]],["para","The jQuery object which represents the table cell."],["header",{"level":4},"Example - switch the first cell to edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"incell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editCell($(\"#grid td:eq(0)\"));\n</script>"],["header",{"level":3},"editRow"],["para","Switches the specified table row in edit mode. Requires \"inline\" or \"popup\" ",["link",{"href":"#configuration-editable.mode"},"edit mode"],"."],["para","Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","jQuery"]],["para","The jQuery object which represents the table row."],["header",{"level":4},"Example - switch the first row in edit mode"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"],["header",{"level":3},"expandGroup"],["para","Expands the specified group. This shows the group items."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the group table row. A string is treated as a jQuery selector.\nExpands specified group."],["header",{"level":4},"Example - expand the first group"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"productName\" },\n    { field: \"category\" }\n  ],\n  dataSource: {\n    data: [\n      { productName: \"Tea\", category: \"Beverages\" },\n      { productName: \"Coffee\", category: \"Beverages\" },\n      { productName: \"Ham\", category: \"Food\" },\n      { productName: \"Bread\", category: \"Food\" }\n    ],\n    group: { field: \"category\" }\n  },\n  groupable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\n// first collapse the group\ngrid.collapseGroup(\".k-grouping-row:contains(Beverages)\");\ngrid.expandGrup(\".k-grouping-row:contains(Beverages)\");\n</script>"],["header",{"level":3},"expandRow"],["para","Expands the specified master table row. This shows its detail table row."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the master table row. A string is treated as a jQuery selector.\nExpands specified master row."],["header",{"level":4},"Example - expand the first master table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.expandRow(\".k-master-row:first\");\n</script>"],["header",{"level":3},"hideColumn"],["para","Hides the specified grid column."],["header",{"level":4},"Parameters"],["header",{"level":5},"column ",["inlinecode","Number|String"]],["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."],["header",{"level":4},"Example - hide a column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(1);\n</script>"],["header",{"level":4},"Example - hide a column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.hideColumn(\"age\");\n</script>"],["header",{"level":3},"refresh"],["para","Renders all table rows using the current data items."],["header",{"level":4},"Example - refresh the widget"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.refresh();\n</script>"],["header",{"level":3},"removeRow"],["para","Removes the specified table row from the grid. Also removes the corresponding data item from the data source."],["para","Fires the ",["link",{"href":"#events-remove"},"remove"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"row ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row. A string is treated as a jQuery selector."],["header",{"level":4},"Example - remove the first table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.removeRow(\"tr:eq(1)\");\n</script>"],["header",{"level":3},"reorderColumn"],["para","Changes the position of the specified column."],["header",{"level":4},"Parameters"],["header",{"level":5},"destIndex ",["inlinecode","Number"]],["para","The new position of the column. The destination index should be calculated with regard to all columns, including the hidden ones."],["header",{"level":5},"column ",["inlinecode","Object"]],["para","The column whose position should be changed."],["header",{"level":4},"Example - move a column"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.reorderColumn(1, grid.columns[0]);\n</script>"],["header",{"level":3},"saveChanges"],["para","Saves any pending changes by calling the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","Fires the ",["link",{"href":"#events-saveChanges"},"saveChanges"]," event."],["header",{"level":4},"Example - save changes"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.addRow();\ngrid.saveChanges();\n</script>"],["header",{"level":3},"saveRow"],["para","Switches the table row which is in edit mode and saves any changes made by the user."],["header",{"level":4},"Example - save row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"inline\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\ngrid.saveRow();\n</script>"],["header",{"level":3},"select"],["para","Gets or sets the table rows (or cells) which are selected."],["header",{"level":4},"Parameters"],["header",{"level":5},"rows ",["inlinecode","String|Element|jQuery"]],["para","A string, DOM element or jQuery object which represents the table row(s) or cell(s). A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected table rows or cells."],["header",{"level":4},"Example - select the first and second table rows"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1), tr:eq(2)\");\n</script>"],["header",{"level":4},"Example - select the first table cell"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"td:eq(0)\");\n</script>"],["header",{"level":4},"Example - get the selected table row"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"row\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.select(\"tr:eq(1)\");\nvar row = grid.select();\nvar data = grid.dataItem(row);\nconsole.log(data.name); // displays \"Jane Doe\"\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 }\n  ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.setDataSource(dataSource);\n</script>"],["header",{"level":3},"showColumn"],["para","Shows the specified column."],["header",{"level":4},"Parameters"],["header",{"level":5},"column ",["inlinecode","Number|String"]],["para","The index of the column or the ",["link",{"href":"#configuration-columns.field"},"field"]," to which the columns is bound."],["header",{"level":4},"Example - show a hidden column by index"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(1);\n</script>"],["header",{"level":4},"Example - show a hidden column by field"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\", hidden: true }\n  ],\n  dataSource: [\n      { name: \"Jane Doe\", age: 30 },\n      { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.showColumn(\"age\");\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"cancel"],["para","Fired when the user clicks the \"cancel\" button (in inline or popup ",["link",{"href":"#configuration-editable.mode"},"editing mode"],") or closes the popup window."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object that represents the edit form container element."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The table row remains in edit mode."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\",\n  cancel: function(e) {\n    e.preventDefault()\n  }\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"],["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_cancel(e) {\n  e.preventDefault()\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: \"popup\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"cancel\", grid_cancel);\ngrid.editRow($(\"#grid tr:eq(1)\"));\n</script>"],["header",{"level":3},"change"],["para","Fired when the user selects a table row or cell in the grid."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - get the selected data item(s) when using row selection"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, row\",\n  change: function(e) {\n    var selectedRows = this.select();\n    var selectedDataItems = [];\n    for (var i = 0; i < selectedRows.length; i++) {\n      var dataItem = this.dataItem(selectedRows[i]);\n      selectedDataItems.push(dataItem);\n    }\n    // selectedDataItems contains all selected data items\n  }\n});\n</script>"],["header",{"level":4},"Example - get the selected data item(s) when using cell selection"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_change(e) {\n  var selectedCells = this.select();\n  var selectedDataItems = [];\n  for (var i = 0; i < selectedCells.length; i++) {\n    var dataItem = this.dataItem(selectedCells[i].parentNode);\n    if ($.inArray(dataItem, selectedDataItems) < 0) {\n      selectedDataItems.push(dataItem);\n    }\n  }\n  // selectedDataItems contains all selected data items\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  selectable: \"multiple, cell\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"change\", grid_change);\n</script>"],["header",{"level":3},"columnHide"],["para","Fired when the user hides a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnHide\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnHide: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnHide\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnHide(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnHide\", grid_columnHide);\n</script>"],["header",{"level":3},"columnMenuInit"],["para","Fired when the column menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing column menu form element."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The field of the column for which the column menu is initialized."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true,\n  columnMenuInit: function(e) {\n    var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n    var field = e.field;\n    menu.append({ text: \"Custom\" });\n    menu.bind(\"select\", function(e) {\n      if ($(e.item).text() == \"Custom\") {\n        console.log(\"Custom button for\", field);\n      }\n    });\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnMenuInit(e) {\n  var menu = e.container.find(\".k-menu\").data(\"kendoMenu\");\n  var field = e.field;\n  menu.append({ text: \"Custom\" });\n  menu.bind(\"select\", function(e) {\n    if ($(e.item).text() == \"Custom\") {\n      console.log(\"Custom button for\", field);\n    }\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30},\n    { name: \"John Doe\", age: 33}\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnMenuInit\", grid_columnMenuInit);\n</script>"],["header",{"level":3},"columnReorder"],["para","Fired when the user changes the order of a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.newIndex ",["inlinecode","Number"]],["para","The new column index."],["header",{"level":5},"e.oldIndex ",["inlinecode","Number"]],["para","The previous column index."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnReorder\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true,\n  columnReorder: function(e) {\n    console.log(e.column.field, e.newIndex, e.oldIndex);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnReorder\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnReorder(e) {\n  console.log(e.column.field, e.newIndex, e.oldIndex);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  reorderable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnReorder\", grid_columnReorder);\n</script>"],["header",{"level":3},"columnResize"],["para","Fired when the user resizes a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.newWidth ",["inlinecode","Number"]],["para","The new column width."],["header",{"level":5},"e.oldWidth ",["inlinecode","Number"]],["para","The previous column width."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnResize\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true,\n  columnResize: function(e) {\n    console.log(e.column.field, e.newWidth, e.oldWidth);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnResize\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnResize(e) {\n  console.log(e.column.field, e.newWidth, e.oldWidth);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  resizable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnResize\", grid_columnResize);\n</script>"],["header",{"level":3},"columnShow"],["para","Fired when the user shows a column."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.column ",["inlinecode","Object"]],["para","A JavaScript object which represents the ",["link",{"href":"#configuration-columns"},"column"]," configuration."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"columnShow\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true,\n  columnShow: function(e) {\n    console.log(e.column.field); // displays the field of the hidden column\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"columnShow\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_columnShow(e) {\n  console.log(e.column.field); // displays the field of the hidden column\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  columnMenu: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"columnShow\", grid_columnShow);\n</script>"],["header",{"level":3},"dataBinding"],["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the data bind action. The table rows will remain unchanged and ",["inlinecode","dataBound"]," event will not fire."],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event before initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBinding(e) {\n  console.log(\"dataBinding\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBinding\", grid_dataBinding);\ngrid.dataSource.fetch();\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_dataBound(e) {\n  console.log(\"dataBound\");\n}\n$(\"#grid\").kendoGrid({\n  autoBind: false,\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"dataBound\", grid_dataBound);\ngrid.dataSource.fetch();\n</script>"],["header",{"level":3},"detailCollapse"],["para","Fired when the user collapses a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailCollapse: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailCollapse\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailCollapse(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailCollapse\", grid_detailCollapse);\n</script>"],["header",{"level":3},"detailExpand"],["para","Fired when the user expands a detail table row."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailExpand\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\",\n  detailExpand: function(e) {\n    console.log(e.masterRow, e.detailRow);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailExpand\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailExpand(e) {\n  console.log(e.masterRow, e.detailRow);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\", age: 30 },\n    { name: \"John Doe\", age: 33 }\n  ],\n  detailTemplate: \"<div>Name: #: name #</div><div>Age: #: age #</div>\"\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailExpand\", grid_detailExpand);\n</script>"],["header",{"level":3},"detailInit"],["para","Fired when a detail table row is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.data ",["inlinecode","kendo.data.ObservableObject"]],["para","The data item to which the master table row is bound."],["header",{"level":5},"e.detailCell ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table cell."],["header",{"level":5},"e.detailRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the detail table row."],["header",{"level":5},"e.masterRow ",["inlinecode","jQuery"]],["para","The jQuery object which represents the master table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"detailInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>',\n  detailInit: function(e) {\n    e.detailRow.find(\".grid\").kendoGrid({\n      dataSource: e.data.products\n    });\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"detailInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_detailInit(e) {\n  e.detailRow.find(\".grid\").kendoGrid({\n    dataSource: e.data.products\n  });\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    {\n      name: \"Beverages\",\n      products: [\n        { name: \"Tea\" },\n        { name: \"Coffee\" }\n      ]\n    },\n    {\n      name: \"Food\",\n      products: [\n        { name: \"Ham\" },\n        { name: \"Bread\" }\n      ]\n    }\n  ],\n  detailTemplate: 'Products: <div class=\"grid\"></div>'\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"detailInit\", grid_detailInit);\n</script>"],["header",{"level":3},"edit"],["para","Fired when the user edits or creates a data item."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item which is going to be edited. Use its ",["link",{"href":"/api/framework/model#methods-isNew"},"isNew"]," method to check if the data item is new (created) or not (edited)."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"],\n  edit: function(e) {\n    if (!e.model.isNew()) {\n      // Disable the editor of the \"id\" column when editing data items\n      var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n      numeric.enable(false);\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_edit(e) {\n  if (!e.model.isNew()) {\n    // Disable the editor of the \"id\" column when editing data items\n    var numeric = e.container.find(\"input[name=id]\").data(\"kendoNumericTextBox\");\n    numeric.enable(false);\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"id\" },\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"edit\" }\n  ],\n  dataSource: {\n    data: [\n      { id: 1, name: \"Jane Doe\", age: 30 },\n      { id: 2, name: \"John Doe\", age: 33 }\n    ],\n    schema: {\n      model: {\n        id: \"id\",\n        fields: {\n          \"id\": { type: \"number\" }\n        }\n      }\n    }\n  },\n  editable: \"popup\",\n  toolbar:[\"create\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"edit\", grid_edit);\n</script>"],["header",{"level":3},"filterMenuInit"],["para","Fired when the grid filter menu is initialized."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing filter menu form element."],["header",{"level":5},"e.field ",["inlinecode","String"]],["para","The field of the column for which the filter menu is initialized."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true,\n  filterMenuInit: function(e) {\n    if (e.field == \"name\") {\n      var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n      firstValueDropDown.value(\"contains\");\n      firstValueDropDown.trigger(\"change\");\n\n      var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n      logicDropDown.value(\"or\");\n      logicDropDown.trigger(\"change\");\n\n      var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n      secondValueDropDown.value(\"contains\");\n      secondValueDropDown.trigger(\"change\");\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"filterMenuInit\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_filterMenuInit(e) {\n  if (e.field == \"name\") {\n    var firstValueDropDown = e.container.find(\"select:eq(0)\").data(\"kendoDropDownList\");\n    firstValueDropDown.value(\"contains\");\n    var logicDropDown = e.container.find(\"select:eq(1)\").data(\"kendoDropDownList\");\n    logicDropDown.value(\"or\");\n    var secondValueDropDown = e.container.find(\"select:eq(2)\").data(\"kendoDropDownList\");\n    secondValueDropDown.value(\"contains\");\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" }\n  ],\n  dataSource: [\n    { name: \"Jane Doe\"},\n    { name: \"John Doe\"}\n  ],\n  filterable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"filterMenuInit\", grid_filterMenuInit);\n</script>"],["header",{"level":3},"remove"],["para","Fired when the user clicks the \"destroy\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.row ",["inlinecode","jQuery"]],["para","The jQuery object representing the current table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  remove: function(e) {\n    console.log(\"Removing\", e.model.name);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_remove(e) {\n  console.log(\"Removing\", e.model.name);\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"remove\", grid_remove);\n</script>"],["header",{"level":3},"save"],["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the table row is bound."],["header",{"level":5},"e.row ",["inlinecode","jQuery"]],["para","The jQuery object representing the current table row."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":5},"e.values ",["inlinecode","Object"]],["para","The values entered by the user. ",["strong","Available only when the ",["link",{"href":"#configuration-editable.mode"},"editable.mode"]," option is set to \"incell\"."]],["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  save: function(e) {\n    if (e.values.name) {\n      // the user changed the name field\n      if (e.values.name != e.model.name) {\n        console.log(\"name is modified\");\n      }\n    }\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_save(e) {\n  if (e.values.name) {\n    // the user changed the name field\n    if (e.values.name != e.model.name) {\n      console.log(\"name is modified\");\n    }\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"save\", grid_save);\n</script>"],["header",{"level":3},"saveChanges"],["para","Fired when the user clicks the \"save\" command button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked the grid will not call the ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method of the data source."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"saveChanges\" event during initialization"],["code_block","<div id=\"grid\"></div>\n<script>\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true,\n  saveChanges: function(e) {\n    if (!confirm(\"Are you sure you want to save all changes?\")) {\n       e.preventDefault();\n    }\n  },\n  toolbar: [\"save\"]\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"saveChanges\" event after initialization"],["code_block","<div id=\"grid\"></div>\n<script>\nfunction grid_saveChanges(e) {\n  if (!confirm(\"Are you sure you want to save all changes?\")) {\n     e.preventDefault();\n  }\n}\n$(\"#grid\").kendoGrid({\n  columns: [\n    { field: \"name\" },\n    { field: \"age\" },\n    { command: \"destroy\" }\n  ],\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  editable: true\n  toolbar: [\"save\"]\n});\nvar grid = $(\"#grid\").data(\"kendoGrid\");\ngrid.bind(\"saveChanges\", grid_saveChanges);\n</script>"]]},"kendo.ui.ListView":{"file":"api/web/listview.md","name":"kendo.ui.ListView","config":[{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id =\"listView\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#listView\").kendoListView({\n     dataSource: dataSource,\n     template: \"<div>#:name#</div>\",\n     autoBind: false\n });\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: [\n        { name: \"Jane Doe\" },\n        { name: \"John Doe\" }\n    ],\n    template: \"<div>#:name#</div>\"\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id =\"listView\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#listView\").kendoListView({\n    dataSource: dataSource,\n    template: \"<div>#:name#</div>\"\n});\n</script>"]]},{"name":"editTemplate","type":["Function"],"short_doc":[["para","Specifies ListView item template in edit mode."]],"doc":[["para","Specifies ListView item template in edit mode."],["header",{"level":4},"Example of"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n     <div>\n       <dl>\n         <dt>Name</dt> <dd>#:name#</dd>\n         <dt>Age</dt> <dd>#:age#</dd>\n       </dl>\n       <div>\n           <a class=\"k-button k-edit-button\" href=\"\\\\#\"><span class=\"k-icon k-edit\"></span></a>\n           <a class=\"k-button k-delete-button\" href=\"\\\\#\"><span class=\"k-icon k-delete\"></span></a>\n       </div>\n     </div>\n </script>\n\n <script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       <dl>\n         <dt>Name</dt>\n         <dd><input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" /></dd>\n         <dt>Age</dt>\n         <dd><input type=\"text\" data-bind=\"value:age\" data-role=\"numerictextbox\" data-type=\"number\" name=\"age\" required=\"required\" /></dd>\n       </dl>\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n </script>\n\n <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n });\n </script>"]]},{"name":"navigatable","type":["Boolean"],"default":"false","short_doc":[["para"," Indicates whether keyboard navigation is enabled/disabled."]],"doc":[["para"," Indicates whether keyboard navigation is enabled/disabled."],["header",{"level":4},"Example"],["code_block"," <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    navigatable: true\n});\n</script>"]]},{"name":"selectable","type":["Boolean","String"],"default":"false","short_doc":[["para"," Indicates whether selection is enabled/disabled. Possible values:"]],"doc":[["para"," Indicates whether selection is enabled/disabled. Possible values:"],["header",{"level":4},["em","true"]],["para","Single item selection."],["header",{"level":4},["em","\"single\""]],["para","Single item selection."],["header",{"level":4},["em","\"multiple\""]],["para","Multiple item selection."],["header",{"level":4},"Example of ListView with multiple selection enabled"],["code_block"," <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: \"multiple\"\n});\n</script>"]]},{"name":"template","type":["Function"],"short_doc":[["para","Specifies ListView item template."]],"doc":[["para","Specifies ListView item template."],["header",{"level":4},"Example"],["code_block"," <script type=\"text/kendo-x-tmpl\" id=\"template\">\n    <div>\n        Item template for #:name#\n    </div>\n </script>\n\n <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: kendo.template($(\"#template\").html())\n});\n</script>"]]},{"name":"altTemplate","type":["Function"],"short_doc":[["para","Template to be used for rendering the alternate items in the listview."]],"doc":[["para","Template to be used for rendering the alternate items in the listview."],["header",{"level":4},"Example of alternate item template"],["code_block"," <script type=\"text/kendo-x-tmpl\" id=\"template\">\n    <div>\n        Item template for #:name#\n    </div>\n </script>\n\n <script type=\"text/kendo-x-tmpl\" id=\"altTemplate\">\n    <div>\n        Alternate item template for #:name#\n    </div>\n </script>\n\n <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: kendo.template($(\"#template\").html()),\n    altTemplate: kendo.template($(\"#altTemplate\").html())\n});\n</script>"]]}],"methods":[{"name":"add","args":[],"short_doc":[["para","Inserts empty item as first item on the current view and prepare it for editing."]],"doc":[["para","Inserts empty item as first item on the current view and prepare it for editing."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n</script>"]]]},{"name":"cancel","args":[],"short_doc":[["para","Cancels changes in currently edited item."]],"doc":[["para","Cancels changes in currently edited item."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n// cancel changes in currently edited item\nlistView.cancel();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n// cancel changes in currently edited item\nlistView.cancel();\n</script>"]]]},{"name":"clearSelection","args":[],"short_doc":[["para","Clears ListView selected items and triggers change event."]],"doc":[["para","Clears ListView selected items and triggers change event."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.clearSelection();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.clearSelection();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]]],"doc":[["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.destroy();\n</script>"]]]},{"name":"edit","args":[{"name":"item","type":["jQuery"],"short_doc":[["para","jQuery object which represents the item to be edited."]],"doc":[["para","jQuery object which represents the item to be edited."]]}],"short_doc":[["para","Edit specified ListView item. Fires the ",["link",{"href":"#events-edit"},"edit"]," event."]],"doc":[["para","Edit specified ListView item. Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","jQuery object which represents the item to be edited."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Reloads the data and repaints the list view."]],"doc":[["para","Reloads the data and repaints the list view."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// refreshes the list view\nlistView.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// refreshes the list view\nlistView.refresh();\n</script>"]]]},{"name":"remove","args":[{"name":"item","type":["Object"],"short_doc":[["para","jQuery object which represents the item to be removed."]],"doc":[["para","jQuery object which represents the item to be removed."]]}],"short_doc":[["para","Removes specified ListView item. Triggers ",["link",{"href":"#events-remove"},"remove"]," event and if not prevented calls DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."]],"doc":[["para","Removes specified ListView item. Triggers ",["link",{"href":"#events-remove"},"remove"]," event and if not prevented calls DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// remove first list view item\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object"]],["para","jQuery object which represents the item to be removed."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// remove first list view item\nlistView.remove(listView.element.children().first());\n</script>"]]]},{"name":"save","args":[],"short_doc":[["para","Saves edited ListView item. Triggers ",["link",{"href":"#events-save"},"save"]," event. If save event is not prevented and validation succeeds will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."]],"doc":[["para","Saves edited ListView item. Triggers ",["link",{"href":"#events-save"},"save"]," event. If save event is not prevented and validation succeeds will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n });\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n// save edited item\nlistView.save();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n });\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n// save edited item\nlistView.save();\n</script>"]]]},{"name":"select","args":[{"name":"items","type":["jQuery","Array"],"short_doc":[["para","Items to select."]],"doc":[["para","Items to select."]]}],"short_doc":[["para","Get/set the selected listview item(s)."]],"doc":[["para","Get/set the selected listview item(s)."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// selects first list view item\nlistView.select(listView.element.children().first());\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected items if called without arguments."],["header",{"level":4},"Parameters"],["header",{"level":5},"items ",["inlinecode","jQuery | Array"]],["para","Items to select."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// selects first list view item\nlistView.select(listView.element.children().first());\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the dataSource of an existing ListView and rebinds it."]],"doc":[["para","Sets the dataSource of an existing ListView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"Jane Doe\", age: 30 }\n    ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"Jane Doe\", age: 30 }\n    ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.setDataSource(dataSource);\n</script>"]]]}],"events":[{"name":"cancel","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object that represents the edit form container element."]],"doc":[["para","The jQuery object that represents the edit form container element."]]},{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The model to which the current grid row is bound to."]],"doc":[["para","The model to which the current grid row is bound to."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the cancel action. The row remains in edit mode."]],"doc":[["para","If invoked prevents the cancel action. The row remains in edit mode."]]}],"short_doc":[["para","Fired when the user clicks the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    cancel: function(e) {\n        e.preventDefault();\n    }\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the cancel event\nlistView.bind(\"cancel\", function(e) {\n    e.preventDefault();\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object that represents the edit form container element."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model to which the current grid row is bound to."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The row remains in edit mode."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    cancel: function(e) {\n        e.preventDefault();\n    }\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.edit(listView.element.children().first());\n</script>"]]],"type":["Function"]},{"name":"change","args":[],"short_doc":[["para","Fires when the list view selection has changed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fires when the list view selection has changed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    selectable: true,\n    change: function() {\n        //handle event\n    }\n });\n </script>"],["header",{"level":4},"To set after initialization"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    selectable: true\n });\n // get a reference to the list view\n var listView = $(\"#listView\").data(\"kendoListView\");\n // bind to the change event\n listView.bind(\"change\", function(e) {\n     // handle event\n });\n </script>"]],"examples":[[["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    selectable: true,\n    change: function() {\n        //handle event\n    }\n });\n </script>"]]],"type":["Function"]},{"name":"dataBound","args":[],"short_doc":[["para","Fires when the list view has received data from the data source and it is already rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fires when the list view has received data from the data source and it is already rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBound: function() {\n        //handle event\n    }\n });\n </script>"]],"examples":[[["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBound: function() {\n        //handle event\n    }\n });\n </script>"]]],"type":["Function"]},{"name":"dataBinding","args":[],"short_doc":[["para","Fires when the list view is about to be rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fires when the list view is about to be rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBinding: function() {\n        //handle event\n    }\n });\n </script>"],["header",{"level":4},"To set after initialization"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ]\n });\n // get a reference to the ListView\n var listview = $(\"#listView\").data(\"kendoListView\");\n // bind to the dataBinding event\n listview.bind(\"dataBinding\", function(e) {\n     // handle event\n });\n </script>"]],"examples":[[["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBinding: function() {\n        //handle event\n    }\n });\n </script>"]]],"type":["Function"]},{"name":"edit","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery element to be edited."]],"doc":[["para","The jQuery element to be edited."]]},{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The model to be edited."]],"doc":[["para","The model to be edited."]]}],"short_doc":[["para","Fires when the list view enters edit mode."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fires when the list view enters edit mode."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    edit: function(e) {\n        //handle event\n    }\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the edit event\nlistView.bind(\"edit\", function(e) {\n    // handle event\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery element to be edited."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model to be edited."]],"examples":[[["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    edit: function(e) {\n        //handle event\n    }\n});\nlistView.edit(listView.element.children().first());\n</script>"]]],"type":["Function"]},{"name":"remove","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The item element to be deleted."]],"doc":[["para","The item element to be deleted."]]},{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The model which to be deleted."]],"doc":[["para","The model which to be deleted."]]}],"short_doc":[["para","Fires before the list view item is removed. If it is not prevented will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fires before the list view item is removed. If it is not prevented will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    remove: function(e) {\n        //handle event\n        e.preventDefault();\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the remove event\nlistView.bind(\"remove\", function(e) {\n    // handle event\n    e.preventDefault();\n});\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The item element to be deleted."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model which to be deleted."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    remove: function(e) {\n        //handle event\n        e.preventDefault();\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.remove(listView.element.children().first());\n</script>"]]],"type":["Function"]},{"name":"save","args":[{"name":"e.model","type":["kendo.data.Model"],"short_doc":[["para","The data item to which the ListView item is bound."]],"doc":[["para","The data item to which the ListView item is bound."]]},{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery object representing the current ListView item."]],"doc":[["para","The jQuery object representing the current ListView item."]]},{"name":"e.sender","type":["kendo.ui.ListView"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the ListView item is bound."],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object representing the current ListView item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ListView"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"save\" event"],["code_block","<div id=\"listview\"></div>\n\n<script type=\"text/x-kendo-tmpl\" id=\"template\">\n  <div class=\"item\">\n    <p>#: name # || #: age #</p>\n      <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-edit-button\" href=\"\\\\#\"><span class=\"k-icon k-edit\"></span></a>\n        <a class=\"k-button k-button-icontext k-delete-button\" href=\"\\\\#\"><span class=\"k-icon k-delete\"></span></a>\n      </div>\n  </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n  <div class=\"item\">\n    <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n        <a class=\"k-button k-button-icontext k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n    </div>\n    <input type=\"text\" class=\"k-textbox\" data-bind=\"value:name\" name=\"name\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"name\" class=\"k-invalid-msg\"></span>\n    <br />\n    <input type=\"text\" data-role=\"numerictextbox\" data-bind=\"value:age\" name=\"age\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"age\" class=\"k-invalid-msg\"></span>\n  </div>\n</script>\n\n<script>\n$(\"#listview\").kendoListView({\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  template: kendo.template($(\"#template\").html()),\n  editTemplate: kendo.template($(\"#editTemplate\").html()),\n  save: function(e) {\n    console.log(\"record is modified\");\n    //handle event\n  }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"save\" event"],["code_block","<div id=\"listview\"></div>\n\n<script type=\"text/x-kendo-tmpl\" id=\"template\">\n  <div class=\"item\">\n    <p>#: name # || #: age #</p>\n      <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-edit-button\" href=\"\\\\#\"><span class=\"k-icon k-edit\"></span></a>\n        <a class=\"k-button k-button-icontext k-delete-button\" href=\"\\\\#\"><span class=\"k-icon k-delete\"></span></a>\n      </div>\n  </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n  <div class=\"item\">\n    <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n        <a class=\"k-button k-button-icontext k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n    </div>\n    <input type=\"text\" class=\"k-textbox\" data-bind=\"value:name\" name=\"name\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"name\" class=\"k-invalid-msg\"></span>\n    <br />\n    <input type=\"text\" data-role=\"numerictextbox\" data-bind=\"value:age\" name=\"age\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"age\" class=\"k-invalid-msg\"></span>\n  </div>\n</script>\n\n<script>\n$(\"#listview\").kendoListView({\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  template: kendo.template($(\"#template\").html()),\n  editTemplate: kendo.template($(\"#editTemplate\").html()),\n  save: function(e) {\n    console.log(\"record is modified\");\n    //handle event\n  }\n});\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI ListView widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI ListView widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id =\"listView\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#listView\").kendoListView({\n     dataSource: dataSource,\n     template: \"<div>#:name#</div>\",\n     autoBind: false\n });\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used render table rows. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: [\n        { name: \"Jane Doe\" },\n        { name: \"John Doe\" }\n    ],\n    template: \"<div>#:name#</div>\"\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<div id =\"listView\"></div>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  data: [ { name: \"Jane Doe\" }, { name: \"John Doe\" }]\n});\n$(\"#listView\").kendoListView({\n    dataSource: dataSource,\n    template: \"<div>#:name#</div>\"\n});\n</script>"],["header",{"level":3},"editTemplate ",["inlinecode","Function"]],["para","Specifies ListView item template in edit mode."],["header",{"level":4},"Example of"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n     <div>\n       <dl>\n         <dt>Name</dt> <dd>#:name#</dd>\n         <dt>Age</dt> <dd>#:age#</dd>\n       </dl>\n       <div>\n           <a class=\"k-button k-edit-button\" href=\"\\\\#\"><span class=\"k-icon k-edit\"></span></a>\n           <a class=\"k-button k-delete-button\" href=\"\\\\#\"><span class=\"k-icon k-delete\"></span></a>\n       </div>\n     </div>\n </script>\n\n <script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       <dl>\n         <dt>Name</dt>\n         <dd><input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" /></dd>\n         <dt>Age</dt>\n         <dd><input type=\"text\" data-bind=\"value:age\" data-role=\"numerictextbox\" data-type=\"number\" name=\"age\" required=\"required\" /></dd>\n       </dl>\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n </script>\n\n <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n });\n </script>"],["header",{"level":3},"navigatable ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para"," Indicates whether keyboard navigation is enabled/disabled."],["header",{"level":4},"Example"],["code_block"," <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    navigatable: true\n});\n</script>"],["header",{"level":3},"selectable ",["inlinecode","Boolean|String"]," ",["em","(default: false)"]],["para"," Indicates whether selection is enabled/disabled. Possible values:"],["header",{"level":4},["em","true"]],["para","Single item selection."],["header",{"level":4},["em","\"single\""]],["para","Single item selection."],["header",{"level":4},["em","\"multiple\""]],["para","Multiple item selection."],["header",{"level":4},"Example of ListView with multiple selection enabled"],["code_block"," <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: \"multiple\"\n});\n</script>"],["header",{"level":3},"template ",["inlinecode","Function"]],["para","Specifies ListView item template."],["header",{"level":4},"Example"],["code_block"," <script type=\"text/kendo-x-tmpl\" id=\"template\">\n    <div>\n        Item template for #:name#\n    </div>\n </script>\n\n <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: kendo.template($(\"#template\").html())\n});\n</script>"],["header",{"level":3},"altTemplate ",["inlinecode","Function"]],["para","Template to be used for rendering the alternate items in the listview."],["header",{"level":4},"Example of alternate item template"],["code_block"," <script type=\"text/kendo-x-tmpl\" id=\"template\">\n    <div>\n        Item template for #:name#\n    </div>\n </script>\n\n <script type=\"text/kendo-x-tmpl\" id=\"altTemplate\">\n    <div>\n        Alternate item template for #:name#\n    </div>\n </script>\n\n <div id =\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: kendo.template($(\"#template\").html()),\n    altTemplate: kendo.template($(\"#altTemplate\").html())\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"add"],["para","Inserts empty item as first item on the current view and prepare it for editing."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n</script>"],["header",{"level":3},"cancel"],["para","Cancels changes in currently edited item."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// add item\nlistView.add();\n// cancel changes in currently edited item\nlistView.cancel();\n</script>"],["header",{"level":3},"clearSelection"],["para","Clears ListView selected items and triggers change event."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.clearSelection();\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","ListView"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the ListView element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.destroy();\n</script>"],["header",{"level":3},"edit"],["para","Edit specified ListView item. Fires the ",["link",{"href":"#events-edit"},"edit"]," event."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","jQuery object which represents the item to be edited."],["header",{"level":3},"refresh"],["para","Reloads the data and repaints the list view."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// refreshes the list view\nlistView.refresh();\n</script>"],["header",{"level":3},"remove"],["para","Removes specified ListView item. Triggers ",["link",{"href":"#events-remove"},"remove"]," event and if not prevented calls DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["header",{"level":4},"Example"],["code_block","<div id =\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n     dataSource: {\n        data: [\n            { name: \"Jane Doe\" },\n            { name: \"John Doe\" }\n        ]\n    },\n    template: \"<div>#:name#</div>\"\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// remove first list view item\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object"]],["para","jQuery object which represents the item to be removed."],["header",{"level":3},"save"],["para","Saves edited ListView item. Triggers ",["link",{"href":"#events-save"},"save"]," event. If save event is not prevented and validation succeeds will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    template: \"<div>#:name#</div>\",\n    editTemplate: '<div><input type=\"text\" name=\"name\" data-bind=\"value:name\" /></div>'\n });\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// edit first list view item\nlistView.edit(listView.element.children().first());\n// save edited item\nlistView.save();\n</script>"],["header",{"level":3},"select"],["para","Get/set the selected listview item(s)."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ]\n    },\n    template: \"<div>#:name#</div>\",\n    selectable: true\n});\n// get a reference to the list view widget\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// selects first list view item\nlistView.select(listView.element.children().first());\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected items if called without arguments."],["header",{"level":4},"Parameters"],["header",{"level":5},"items ",["inlinecode","jQuery | Array"]],["para","Items to select."],["header",{"level":3},"setDataSource"],["para","Sets the dataSource of an existing ListView and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"Jane Doe\", age: 30 }\n    ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [\n    { name: \"John Doe\", age: 33 }\n  ]\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.setDataSource(dataSource);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"cancel"],["para","Fired when the user clicks the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    cancel: function(e) {\n        e.preventDefault();\n    }\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the cancel event\nlistView.bind(\"cancel\", function(e) {\n    e.preventDefault();\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object that represents the edit form container element."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model to which the current grid row is bound to."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The row remains in edit mode."],["header",{"level":3},"change"],["para","Fires when the list view selection has changed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    selectable: true,\n    change: function() {\n        //handle event\n    }\n });\n </script>"],["header",{"level":4},"To set after initialization"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    selectable: true\n });\n // get a reference to the list view\n var listView = $(\"#listView\").data(\"kendoListView\");\n // bind to the change event\n listView.bind(\"change\", function(e) {\n     // handle event\n });\n </script>"],["header",{"level":3},"dataBound"],["para","Fires when the list view has received data from the data source and it is already rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBound: function() {\n        //handle event\n    }\n });\n </script>"],["header",{"level":3},"dataBinding"],["para","Fires when the list view is about to be rendered."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ],\n    dataBinding: function() {\n        //handle event\n    }\n });\n </script>"],["header",{"level":4},"To set after initialization"],["code_block"," <div id=\"listView\"></div>\n <script>\n $(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: [\n        { name: \"John Doe\", age: 30 }\n    ]\n });\n // get a reference to the ListView\n var listview = $(\"#listView\").data(\"kendoListView\");\n // bind to the dataBinding event\n listview.bind(\"dataBinding\", function(e) {\n     // handle event\n });\n </script>"],["header",{"level":3},"edit"],["para","Fires when the list view enters edit mode."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    edit: function(e) {\n        //handle event\n    }\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<script type=\"text/x-kendo-tmpl\" id=\"template\">\n    <div> #:name# </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n     <div>\n       Name: <input type=\"text\" data-bind=\"value:name\" name=\"name\" required=\"required\" />\n       <div>\n           <a class=\"k-button k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n           <a class=\"k-button k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n       </div>\n     </div>\n</script>\n\n<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: kendo.template($(\"#template\").html()),\n    editTemplate: kendo.template($(\"#editTemplate\").html()),\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the edit event\nlistView.bind(\"edit\", function(e) {\n    // handle event\n});\nlistView.edit(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery element to be edited."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model to be edited."],["header",{"level":3},"remove"],["para","Fires before the list view item is removed. If it is not prevented will call DataSource ",["link",{"href":"/api/framework/datasource#methods-sync"},"sync"]," method."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Example"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    },\n    remove: function(e) {\n        //handle event\n        e.preventDefault();\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<div id=\"listView\"></div>\n<script>\n$(\"#listView\").kendoListView({\n    template: \"<div>#: name#</div>\",\n    dataSource: {\n        data: [\n            { id: 1, name: \"Jane Doe\", age: 47 },\n            { id: 2, name: \"John Doe\", age: 50 }\n        ],\n        schema: {\n            model: {\n                id: \"id\",\n                fields: {\n                    id: { type: \"number\" },\n                    name: { type: \"string\" },\n                    age: { type: \"number\" }\n                }\n            }\n        }\n    }\n});\n// get a reference to the list view\nvar listView = $(\"#listView\").data(\"kendoListView\");\n// bind to the remove event\nlistView.bind(\"remove\", function(e) {\n    // handle event\n    e.preventDefault();\n});\nlistView.remove(listView.element.children().first());\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The item element to be deleted."],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The model which to be deleted."],["header",{"level":3},"save"],["para","Fired when a data item is saved."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.model ",["inlinecode","kendo.data.Model"]],["para","The data item to which the ListView item is bound."],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object representing the current ListView item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.ListView"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"save\" event"],["code_block","<div id=\"listview\"></div>\n\n<script type=\"text/x-kendo-tmpl\" id=\"template\">\n  <div class=\"item\">\n    <p>#: name # || #: age #</p>\n      <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-edit-button\" href=\"\\\\#\"><span class=\"k-icon k-edit\"></span></a>\n        <a class=\"k-button k-button-icontext k-delete-button\" href=\"\\\\#\"><span class=\"k-icon k-delete\"></span></a>\n      </div>\n  </div>\n</script>\n\n<script type=\"text/x-kendo-tmpl\" id=\"editTemplate\">\n  <div class=\"item\">\n    <div class=\"edit-buttons\">\n        <a class=\"k-button k-button-icontext k-update-button\" href=\"\\\\#\"><span class=\"k-icon k-update\"></span></a>\n        <a class=\"k-button k-button-icontext k-cancel-button\" href=\"\\\\#\"><span class=\"k-icon k-cancel\"></span></a>\n    </div>\n    <input type=\"text\" class=\"k-textbox\" data-bind=\"value:name\" name=\"name\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"name\" class=\"k-invalid-msg\"></span>\n    <br />\n    <input type=\"text\" data-role=\"numerictextbox\" data-bind=\"value:age\" name=\"age\" required=\"required\" validationMessage=\"required\" />\n    <span data-for=\"age\" class=\"k-invalid-msg\"></span>\n  </div>\n</script>\n\n<script>\n$(\"#listview\").kendoListView({\n  dataSource: {\n    data:[\n      { id: 1, name: \"Jane Doe\", age: 30},\n      { id: 2, name: \"John Doe\", age: 33}\n    ],\n    schema: {\n      model: { id: \"id\" }\n    }\n  },\n  template: kendo.template($(\"#template\").html()),\n  editTemplate: kendo.template($(\"#editTemplate\").html()),\n  save: function(e) {\n    console.log(\"record is modified\");\n    //handle event\n  }\n});\n</script>"]]},"kendo.ui.Menu":{"file":"api/web/menu.md","name":"kendo.ui.Menu","config":[{"name":"animation","type":["Object"],"short_doc":[["para","A collection of ",["strong","Animation"]," objects, used to change default animations. A value of false will disable all animations in the widget."],["para","Available animations for the ",["strong","Menu"]," are listed below.  Each animation has a reverse options which is used for the ",["strong","close"]," effect by default, but can be over-ridden\nby setting the ",["strong","close"]," animation.  Each animation also has a direction which can be set off the animation (i.e. ",["strong","slideIn:Down"],")."]],"doc":[["para","A collection of ",["strong","Animation"]," objects, used to change default animations. A value of false will disable all animations in the widget."],["para","Available animations for the ",["strong","Menu"]," are listed below.  Each animation has a reverse options which is used for the ",["strong","close"]," effect by default, but can be over-ridden\nby setting the ",["strong","close"]," animation.  Each animation also has a direction which can be set off the animation (i.e. ",["strong","slideIn:Down"],")."],["header",{"level":4},["em","slideIn"]],["para","Menu content slides in from the top"],["header",{"level":4},["em","fadeIn"]],["para","Menu content fades in"],["header",{"level":4},["em","expand"]],["para","Menu content expands from the top down. Similar to slideIn."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"fadeIn\" } }\n    });\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation that will be used when opening sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"]],"doc":[["para","The animation that will be used when opening sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: {\n            effects: \"zoomIn\",\n            duration: 100\n        } }\n     });\n</script>"]],"doc":[["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: {\n            effects: \"zoomIn\",\n            duration: 100\n        } }\n     });\n</script>"]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for opening of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"]],"doc":[["para","Effect to be used for opening of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation that will be used when closing sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"]],"doc":[["para","The animation that will be used when closing sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n         animation: { open: {\n             effects: \"slideIn:down\",\n             duration: 100\n         } }\n     });\n</script>"]],"doc":[["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n         animation: { open: {\n             effects: \"slideIn:down\",\n             duration: 100\n         } }\n     });\n</script>"]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for closing of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"]],"doc":[["para","Effect to be used for closing of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"closeOnClick","type":["Boolean"],"default":"true","short_doc":[["para"," Specifies that sub menus should close after item selection (provided they won't navigate)."]],"doc":[["para"," Specifies that sub menus should close after item selection (provided they won't navigate)."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        closeOnClick: false\n    });\n</script>"]]},{"name":"direction","type":["String"],"default":"\"default\"","short_doc":[["para"," Specifies Menu opening direction. Can be \"top\", \"bottom\", \"left\", \"right\".\nYou can also specify different direction for root and sub menu items, separating them with space. The example below will initialize the root menu to open upwards and\nits sub menus to the left."]],"doc":[["para"," Specifies Menu opening direction. Can be \"top\", \"bottom\", \"left\", \"right\".\nYou can also specify different direction for root and sub menu items, separating them with space. The example below will initialize the root menu to open upwards and\nits sub menus to the left."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        direction: \"top left\"\n    });\n</script>"]]},{"name":"hoverDelay","type":["Number"],"default":"100","short_doc":[["para"," Specifies the delay in ms before the menu is opened/closed - used to avoid accidental closure on leaving."]],"doc":[["para"," Specifies the delay in ms before the menu is opened/closed - used to avoid accidental closure on leaving."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        hoverDelay: 200\n    });\n</script>"]]},{"name":"openOnClick","type":["Boolean"],"default":"false","short_doc":[["para"," Specifies that the root sub menus will be opened on item click."]],"doc":[["para"," Specifies that the root sub menus will be opened on item click."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        openOnClick: true\n    });\n</script>"]]},{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para"," Root menu orientation. Could be horizontal or vertical."]],"doc":[["para"," Root menu orientation. Could be horizontal or vertical."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        orientation: \"vertical\"\n    });\n</script>"]]},{"name":"popupCollision","type":["String"],"short_doc":[["para","Specifies how Menu should adjust to screen boundaries. By default the strategy is ",["strong","\"fit\""]," for a sub menu with a horizontal parent,\nmeaning it will move to fit in screen boundaries in all directions, and ",["strong","\"fit flip\""]," for a sub menu with vertical parent, meaning it will fit vertically and flip over\nits parent horizontally. You can also switch off the screen boundary detection completely if you set the ",["strong","popupCollision"]," to false."]],"doc":[["para","Specifies how Menu should adjust to screen boundaries. By default the strategy is ",["strong","\"fit\""]," for a sub menu with a horizontal parent,\nmeaning it will move to fit in screen boundaries in all directions, and ",["strong","\"fit flip\""]," for a sub menu with vertical parent, meaning it will fit vertically and flip over\nits parent horizontally. You can also switch off the screen boundary detection completely if you set the ",["strong","popupCollision"]," to false."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        popupCollision: false\n    });\n</script>"]]}],"methods":[{"name":"append","args":[{"name":"item","type":["Object","Array"],"short_doc":[["para","Item to be appended, specified as a JSON object. An array of objects can also be passed."]],"doc":[["para","Item to be appended, specified as a JSON object. An array of objects can also be passed."]]},{"name":"referenceItem","type":["String","jQuery"],"short_doc":[["para","A reference item to append the new item in."]],"doc":[["para","A reference item to append the new item in."]]}],"short_doc":[["para","Appends an item to a ",["strong","Menu"]," in the specified referenceItem's sub menu."]],"doc":[["para","Appends an item to a ",["strong","Menu"]," in the specified referenceItem's sub menu."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\"></ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.append(\n        [{\n            text: \"Item 1\",\n            cssClass: \"myClass\",                         // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        referenceItem\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object|Array"]],["para","Item to be appended, specified as a JSON object. An array of objects can also be passed."],["header",{"level":5},"referenceItem ",["inlinecode","String|jQuery"]],["para","A reference item to append the new item in."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\"></ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.append(\n        [{\n            text: \"Item 1\",\n            cssClass: \"myClass\",                         // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        referenceItem\n    );\n</script>"]]]},{"name":"close","args":[{"name":"element","type":["Selector"],"short_doc":[["para","Target item selector."]],"doc":[["para","Target item selector."]]}],"short_doc":[["para","Closes a sub-menu of a specified item(s) in a ",["strong","Menu"],"."]],"doc":[["para","Closes a sub-menu of a specified item(s) in a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // close the sub menu of \"Item1\"\n    menu.close(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // close the sub menu of \"Item1\"\n    menu.close(\"#Item1\");\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Menu"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Menu element from DOM."]]],"doc":[["para","Prepares the ",["strong","Menu"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Menu element from DOM."]],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n\n    // detach events\n    menu.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n\n    // detach events\n    menu.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"element","type":["Selector"],"short_doc":[["para","Target element"]],"doc":[["para","Target element"]]},{"name":"enable","type":["Boolean"],"short_doc":[["para","Desired state"]],"doc":[["para","Desired state"]]}],"short_doc":[["para","Enables or disables an item of a ",["strong","Menu"],". This can optionally be accomplished on\ninitialization by setting the ",["strong","disabled=\"disabled\""]," on the desired menu item html element."]],"doc":[["para","Enables or disables an item of a ",["strong","Menu"],". This can optionally be accomplished on\ninitialization by setting the ",["strong","disabled=\"disabled\""]," on the desired menu item html element."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"secondItem\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // disable the li menu item with the id \"secondItem\"\n    menu.enable(\"#secondItem\", false);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target element"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Desired state"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"secondItem\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // disable the li menu item with the id \"secondItem\"\n    menu.enable(\"#secondItem\", false);\n</script>"]]]},{"name":"insertAfter","args":[{"name":"item","type":["Selector"],"short_doc":[["para","Target item, specified as a JSON object. Can also handle an array of such objects."]],"doc":[["para","Target item, specified as a JSON object. Can also handle an array of such objects."]]},{"name":"referenceItem","type":["Selector"],"short_doc":[["para","A reference item to insert the new item after."]],"doc":[["para","A reference item to insert the new item after."]]}],"short_doc":[["para","Inserts an item into a ",["strong","Menu"]," after the specified referenceItem."]],"doc":[["para","Inserts an item into a ",["strong","Menu"]," after the specified referenceItem."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. Can also handle an array of such objects."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item after."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"]]]},{"name":"insertBefore","args":[{"name":"item","type":["Selector"],"short_doc":[["para","Target item, specified as a JSON object. Can also handle an array of such objects."]],"doc":[["para","Target item, specified as a JSON object. Can also handle an array of such objects."]]},{"name":"referenceItem","type":["Selector"],"short_doc":[["para","A reference item to insert the new item before"]],"doc":[["para","A reference item to insert the new item before"]]}],"short_doc":[["para","Inserts an item into a ",["strong","Menu"]," before the specified referenceItem."]],"doc":[["para","Inserts an item into a ",["strong","Menu"]," before the specified referenceItem."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. Can also handle an array of such objects."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item before"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"]]]},{"name":"open","args":[{"name":"element","type":["Selector"],"short_doc":[["para","Target item selector."]],"doc":[["para","Target item selector."]]}],"short_doc":[["para","Opens a sub-menu of a specified item(s) in a ",["strong","Menu"],"."]],"doc":[["para","Opens a sub-menu of a specified item(s) in a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // open the sub menu of \"Item1\"\n    menu.open(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // open the sub menu of \"Item1\"\n    menu.open(\"#Item1\");\n</script>"]]]},{"name":"remove","args":[{"name":"element","type":["Selector"],"short_doc":[["para","Target item selector."]],"doc":[["para","Target item selector."]]}],"short_doc":[["para","Removes a specified item(s) from a ",["strong","Menu"],"."]],"doc":[["para","Removes a specified item(s) from a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // remove the item with the id \"Item1\"\n    menu.remove(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // remove the item with the id \"Item1\"\n    menu.remove(\"#Item1\");\n</script>"]]]}],"events":[{"name":"close","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The closed item"]],"doc":[["para","The closed item"]]}],"short_doc":[["para","Fires before a sub menu gets closed. You can cancel this event to prevent closure."]],"doc":[["para","Fires before a sub menu gets closed. You can cancel this event to prevent closure."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         close: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the close event\n     menu.bind(\"close\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The closed item"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         close: function(e) {\n             // handle event\n         }\n     });\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The opened item"]],"doc":[["para","The opened item"]]}],"short_doc":[["para","Fires before a sub menu gets opened. You can cancel this event to prevent opening the sub menu."]],"doc":[["para","Fires before a sub menu gets opened. You can cancel this event to prevent opening the sub menu."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         open: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the open event\n     menu.bind(\"open\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The opened item"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         open: function(e) {\n             // handle event\n         }\n     });\n</script>"]]],"type":["Function"]},{"name":"activate","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The activated item"]],"doc":[["para","The activated item"]]}],"short_doc":[["para","Fires when a sub menu gets opened and its animation finished."]],"doc":[["para","Fires when a sub menu gets opened and its animation finished."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         activate: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the activate event\n     menu.bind(\"activate\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated item"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         activate: function(e) {\n             // handle event\n         }\n     });\n</script>"]]],"type":["Function"]},{"name":"deactivate","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The deactivated item"]],"doc":[["para","The deactivated item"]]}],"short_doc":[["para","Fires when a sub menu gets closed and its animation finished."]],"doc":[["para","Fires when a sub menu gets closed and its animation finished."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         deactivate: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the deactivate event\n     menu.bind(\"deactivate\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The deactivated item"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         deactivate: function(e) {\n             // handle event\n         }\n     });\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The selected item"]],"doc":[["para","The selected item"]]}],"short_doc":[["para","Fires when a menu item gets selected."]],"doc":[["para","Fires when a menu item gets selected."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         select: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the select event\n     menu.bind(\"select\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         select: function(e) {\n             // handle event\n         }\n     });\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Menu widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Menu widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","A collection of ",["strong","Animation"]," objects, used to change default animations. A value of false will disable all animations in the widget."],["para","Available animations for the ",["strong","Menu"]," are listed below.  Each animation has a reverse options which is used for the ",["strong","close"]," effect by default, but can be over-ridden\nby setting the ",["strong","close"]," animation.  Each animation also has a direction which can be set off the animation (i.e. ",["strong","slideIn:Down"],")."],["header",{"level":4},["em","slideIn"]],["para","Menu content slides in from the top"],["header",{"level":4},["em","fadeIn"]],["para","Menu content fades in"],["header",{"level":4},["em","expand"]],["para","Menu content expands from the top down. Similar to slideIn."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"fadeIn\" } }\n    });\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation that will be used when closing sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","Effect to be used for closing of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { close: { effects: \"slideIn:up\" } }\n    });\n</script>"],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n         animation: { open: {\n             effects: \"slideIn:down\",\n             duration: 100\n         } }\n     });\n</script>"],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation that will be used when opening sub menus."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","Effect to be used for opening of the popup."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: { effects: \"slideIn:down\" } }\n    });\n</script>"],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","Defines the animation duration in milliseconds."],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        animation: { open: {\n            effects: \"zoomIn\",\n            duration: 100\n        } }\n     });\n</script>"],["header",{"level":3},"closeOnClick ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," Specifies that sub menus should close after item selection (provided they won't navigate)."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        closeOnClick: false\n    });\n</script>"],["header",{"level":3},"direction ",["inlinecode","String"],["em","(default: \"default\")"]],["para"," Specifies Menu opening direction. Can be \"top\", \"bottom\", \"left\", \"right\".\nYou can also specify different direction for root and sub menu items, separating them with space. The example below will initialize the root menu to open upwards and\nits sub menus to the left."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        direction: \"top left\"\n    });\n</script>"],["header",{"level":3},"hoverDelay ",["inlinecode","Number"],["em","(default: 100)"]],["para"," Specifies the delay in ms before the menu is opened/closed - used to avoid accidental closure on leaving."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        hoverDelay: 200\n    });\n</script>"],["header",{"level":3},"openOnClick ",["inlinecode","Boolean"],["em","(default: false)"]],["para"," Specifies that the root sub menus will be opened on item click."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        openOnClick: true\n    });\n</script>"],["header",{"level":3},"orientation ",["inlinecode","String"],["em","(default: \"horizontal\")"]],["para"," Root menu orientation. Could be horizontal or vertical."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        orientation: \"vertical\"\n    });\n</script>"],["header",{"level":3},"popupCollision ",["inlinecode","String"]],["para","Specifies how Menu should adjust to screen boundaries. By default the strategy is ",["strong","\"fit\""]," for a sub menu with a horizontal parent,\nmeaning it will move to fit in screen boundaries in all directions, and ",["strong","\"fit flip\""]," for a sub menu with vertical parent, meaning it will fit vertically and flip over\nits parent horizontally. You can also switch off the screen boundary detection completely if you set the ",["strong","popupCollision"]," to false."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#menu\").kendoMenu({\n        popupCollision: false\n    });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"append"],["para","Appends an item to a ",["strong","Menu"]," in the specified referenceItem's sub menu."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\"></ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.append(\n        [{\n            text: \"Item 1\",\n            cssClass: \"myClass\",                         // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        referenceItem\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Object|Array"]],["para","Item to be appended, specified as a JSON object. An array of objects can also be passed."],["header",{"level":5},"referenceItem ",["inlinecode","String|jQuery"]],["para","A reference item to append the new item in."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"close"],["para","Closes a sub-menu of a specified item(s) in a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // close the sub menu of \"Item1\"\n    menu.close(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Menu"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Menu element from DOM."]],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n\n    // detach events\n    menu.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables an item of a ",["strong","Menu"],". This can optionally be accomplished on\ninitialization by setting the ",["strong","disabled=\"disabled\""]," on the desired menu item html element."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"secondItem\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // disable the li menu item with the id \"secondItem\"\n    menu.enable(\"#secondItem\", false);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target element"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Desired state"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"insertAfter"],["para","Inserts an item into a ",["strong","Menu"]," after the specified referenceItem."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. Can also handle an array of such objects."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item after."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"insertBefore"],["para","Inserts an item into a ",["strong","Menu"]," before the specified referenceItem."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    //\n    menu.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                                 // Allows use of HTML for item text\n            content: \"text\"                                 // content within an item\n        },\n        {\n            text: \"Item 3\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            items: [{                                    // Sub item collection\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 4\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. Can also handle an array of such objects."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item before"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"open"],["para","Opens a sub-menu of a specified item(s) in a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // open the sub menu of \"Item1\"\n    menu.open(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":3},"remove"],["para","Removes a specified item(s) from a ",["strong","Menu"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the menu widget\n    var menu = $(\"#menu\").data(\"kendoMenu\");\n    // remove the item with the id \"Item1\"\n    menu.remove(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target item selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Menu"]," Returns the Menu object to support chaining."],["header",{"level":2},"Events"],["header",{"level":3},"close"],["para","Fires before a sub menu gets closed. You can cancel this event to prevent closure."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         close: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the close event\n     menu.bind(\"close\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The closed item"],["header",{"level":3},"open"],["para","Fires before a sub menu gets opened. You can cancel this event to prevent opening the sub menu."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         open: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the open event\n     menu.bind(\"open\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The opened item"],["header",{"level":3},"activate"],["para","Fires when a sub menu gets opened and its animation finished."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         activate: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the activate event\n     menu.bind(\"activate\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated item"],["header",{"level":3},"deactivate"],["para","Fires when a sub menu gets closed and its animation finished."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         deactivate: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the deactivate event\n     menu.bind(\"deactivate\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The deactivated item"],["header",{"level":3},"select"],["para","Fires when a menu item gets selected."],["header",{"level":4},"Example"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     $(\"#menu\").kendoMenu({\n         select: function(e) {\n             // handle event\n         }\n     });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"menu\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n     // get a reference to the menu widget\n     var menu = $(\"#menu\").data(\"kendoMenu\");\n     // bind to the select event\n     menu.bind(\"select\", function(e) {\n         // handle event\n     });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"]]},"kendo.ui.MultiSelect":{"file":"api/web/multiselect.md","name":"kendo.ui.MultiSelect","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the suggestion popup is opened."]],"doc":[["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[],"doc":[["header",{"level":4},"Example - configure the close animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"100","short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether to bind the widget to the data source on initialization."]],"doc":[["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoBind: false\n});\n</script>"]]},{"name":"autoClose","type":["Boolean"],"default":"true","short_doc":[["para","Controls whether to close the widget suggestion list on item selection."]],"doc":[["para","Controls whether to close the widget suggestion list on item selection."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoClose: false\n});\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"]]},{"name":"dataTextField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"dataValueField","type":["String"],"default":"\"\"","short_doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]]],"doc":[["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"]]},{"name":"delay","type":["Number"],"default":"200","short_doc":[["para"," Specifies the delay in milliseconds after which the multiselect will start filtering dataSource."]],"doc":[["para"," Specifies the delay in milliseconds after which the multiselect will start filtering dataSource."],["header",{"level":4},"Example - set the delay"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    delay: 1000 // wait 1 second before clearing the user input\n});\n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  enable: false\n});\n</script>"]]},{"name":"filter","type":["String"],"default":"\"none\"","short_doc":[["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."]],"doc":[["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  filter: \"contains\"\n});\n</script>"]]},{"name":"height","type":["Number"],"default":"200","short_doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."]],"doc":[["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  height: 500\n});\n</script>"]]},{"name":"highlightFirst","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."]],"doc":[["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  highlightFirst: false\n});\n</script>"]]},{"name":"ignoreCase","type":["String"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."]],"doc":[["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  ignoreCase: false\n});\n</script>"]]},{"name":"minLength","type":["Number"],"default":"1","short_doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."]],"doc":[["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  minLength: 3\n});\n</script>"]]},{"name":"maxSelectedItems","type":["Number"],"default":"null","short_doc":[["para"," Defines the limit of the selected items. If set to null widget will not limit number of the selected items."]],"doc":[["para"," Defines the limit of the selected items. If set to null widget will not limit number of the selected items."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n    <option>Item3</option>\n    <option>Item4</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    maxSelectedItems: 3 //only three or less items could be selected\n});\n</script>"]]},{"name":"placeholder","type":["String"],"default":"\"\"","short_doc":[["para","The hint displayed by the widget when it is empty. Not set by default."]],"doc":[["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder option"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  placeholder: \"Select...\"\n});\n</script>"],["header",{"level":4},"Example - specify placeholder as HTML attribute"],["code_block","<select id=\"multiselect data-placeholder=\"Select...\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n</script>"]]},{"name":"headerTemplate","type":["String","Function"],"short_doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]]],"doc":[["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<select id=\"multiselect\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"]]},{"name":"itemTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items in the popup list."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items in the popup list."],["header",{"level":4},"Example - specify template as a function"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script id=\"itemTemplate\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  itemTemplate: kendo.template($(\"#itemTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  itemTemplate: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"]]},{"name":"tagTemplate","type":["String"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the tags."]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the tags."],["header",{"level":4},"Example - specify template as a function"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script id=\"tagTemplate\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  tagTemplate: kendo.template($(\"#tagTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  tagTemplate: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"]]},{"name":"value","type":["Array"],"default":"[]","short_doc":[["para"," Define the value of the widget"]],"doc":[["para"," Define the value of the widget"],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n     dataSource: [\"Item1\", \"Item2\", \"Item3\", \"Item4\"],\n     value: [\"Item2\", \"Item3\"]\n});\n</script>"],["blockquote",["para",["strong","Important:"]," Define a list of data items if widget is not initially bound"]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoBind: false,\n    dataTextField: \"productName\",\n    dataValueField: \"productId\",\n    value: [{ productName: \"Item 1\", productId: \"1\" }, { productName: \"Item 2\", productId: \"2\" }]\n});\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the widget popup."]],"doc":[["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Apples</option>\n    <option>Oranges</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nmultiselect.search(\"A\");\n// Close the suggestion popup\nmultiselect.close();\n</script>"]],"examples":[[["header",{"level":4},"Example - close the suggestion popup"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Apples</option>\n    <option>Oranges</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nmultiselect.search(\"A\");\n// Close the suggestion popup\nmultiselect.close();\n</script>"]]]},{"name":"dataItems","args":[],"short_doc":[["para","Returns list of raw data records corresponding to the selected items."]],"doc":[["para","Returns list of raw data records corresponding to the selected items."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The raw data records. Returns empty array ([]) if no selected options"],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get data items for the selected options.\nvar dataItem = multiselect.dataItems();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get data items for the selected options.\nvar dataItem = multiselect.dataItems();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","MultiSelect"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the MultiSelect element from DOM."]]],"doc":[["para","Prepares the ",["strong","MultiSelect"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the MultiSelect element from DOM."]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  enable: false\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  enable: false\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.enable(true);\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.readonly(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - make the widget readonly"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.readonly(true);\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example - focus the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the popup."]],"doc":[["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Refresh the popup by rendering all items again."]],"doc":[["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the popup items"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.refresh();\n</script>"]]]},{"name":"search","args":[{"name":"word","type":["String"],"short_doc":[["para","The filter value."]],"doc":[["para","The filter value."]]}],"short_doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."]],"doc":[["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The filter value."],["header",{"level":4},"Example - search the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.search(\"Item1\");\n</script>"]],"examples":[[["header",{"level":4},"Example - search the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.search(\"Item1\");\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[],"doc":[]}],"short_doc":[["para","Sets the dataSource of an existing DropDownList and rebinds it."]],"doc":[["para","Sets the dataSource of an existing DropDownList and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.setDataSource(dataSource);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.setDataSource(dataSource);\n</script>"]]]},{"name":"toggle","args":[{"name":"toggle","type":["Boolean"],"short_doc":[["para","Defines the whether to open/close the drop-down list."]],"doc":[["para","Defines the whether to open/close the drop-down list."]]}],"short_doc":[["para","Opens or closes the widget popup."]],"doc":[["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.toggle();\n</script>"]],"examples":[[["header",{"level":4},"Example - set text of the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.toggle();\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Array","String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the value of the multiselect. Accepts <i>string</i> value or <i>Array of strings</i>."],["blockquote",["para",["strong","Important:"]," If no items, value method will pre-fetch the data before continue with the value setting."]]],"doc":[["para","Gets or sets the value of the multiselect. Accepts <i>string</i> value or <i>Array of strings</i>."],["blockquote",["para",["strong","Important:"]," If no items, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Array|String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The value of the multiselect."],["header",{"level":4},"Example - set value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get the value of the multiselect.\nvar value = multiselect.value();\n\n// set the value of the multiselect.\nmultiselect.value([\"1\", \"2\"]); //select items which have value respectively \"1\" and \"2\"\n</script>"],["blockquote",["para","If initial items are lost in attempt to set new values, probably the widget is filtered by the end user, but no value has been selected. You will need to remove applied filter, before calling value method"]],["header",{"level":4},"Example - remove applied filter before set the value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n//clear filter\nmultiselect.dataSource.filter({});\n\n//set value\nmultiselect.value([\"1\", \"2\"]);\n</script>"]],"examples":[[["header",{"level":4},"Example - set value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get the value of the multiselect.\nvar value = multiselect.value();\n\n// set the value of the multiselect.\nmultiselect.value([\"1\", \"2\"]); //select items which have value respectively \"1\" and \"2\"\n</script>"],["blockquote",["para","If initial items are lost in attempt to set new values, probably the widget is filtered by the end user, but no value has been selected. You will need to remove applied filter, before calling value method"]]],[["header",{"level":4},"Example - remove applied filter before set the value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n//clear filter\nmultiselect.dataSource.filter({});\n\n//set value\nmultiselect.value([\"1\", \"2\"]);\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.MultiSelect"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]]],"doc":[["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"change\", multiselect_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"change\", multiselect_change);\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.MultiSelect"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_close(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"close\", multiselect_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_close(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"close\", multiselect_close);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.MultiSelect"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_dataBound(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"dataBound\", multiselect_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_dataBound(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"dataBound\", multiselect_dataBound);\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.MultiSelect"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_open(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"open\", multiselect_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_open(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"open\", multiselect_open);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the selected item."]],"doc":[["para","The jQuery object which represents the selected item."]]},{"name":"e.sender","type":["kendo.ui.MultiSelect"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when an item from the popup is selected by the user."]],"doc":[["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"select\", multiselect_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"select\", multiselect_select);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.DataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.dataSource.add({ name: \"Appricot\" });\nmultiselect.search(\"A\");\n</script>"]]},{"name":"input","type":["jQuery"],"short_doc":[["para","A jQuery object of the visible input element, where the user types."]],"doc":[["para","A jQuery object of the visible input element, where the user types."],["header",{"level":4},"Example - get input element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar input = multiselect.input;\n<script>"]]},{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar options = multiselect.options;\n<script>"]]},{"name":"list","type":["jQuery"],"short_doc":[["para","A jQuery object of the drop-down list element."]],"doc":[["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar list = multiselect.list;\n<script>"]]},{"name":"ul","type":["jQuery"],"short_doc":[["para","A jQuery object of the ul element, which holds the available options."]],"doc":[["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar ul = multiselect.ul;\n<script>"]]},{"name":"tagList","type":["jQuery"],"short_doc":[["para","A jQuery object of the ul element, which holds the selected tags."]],"doc":[["para","A jQuery object of the ul element, which holds the selected tags."],["header",{"level":4},"Example - get tagList element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar tagList = multiselect.tagList;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI MultiSelect widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI MultiSelect widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the suggestion popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the suggestion popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["header",{"level":4},"Example - configure the close animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the close animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the suggestion popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Controls whether to bind the widget to the data source on initialization."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoBind: false\n});\n</script>"],["header",{"level":3},"autoClose ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Controls whether to close the widget suggestion list on item selection."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoClose: false\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source of the widget which is used to display a list of values. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: {\n    data: [\"One\", \"Two\"]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\nvar data = [\"One\", \"Two\"];\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: data\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.DataSource instance"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\nvar dataSource = new kendo.data.DataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/products\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: dataSource,\n  dataTextField: \"ProductName\",\n  dataValueField: \"ProductID\"\n});\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataTextField"]," is defined, the",["inlinecode","dataValueField"]," option also should be set."]],["header",{"level":4},"Example - set the dataTextField"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"dataValueField ",["inlinecode","String"],["em","(default: \"\")"]],["para","The field of the data item that provides the value of the widget."],["blockquote",["para",["strong","Important"]," When ",["inlinecode","dataValueField"]," is defined, the",["inlinecode","dataTextField"]," option also should be set."]],["header",{"level":4},"Example - set the dataValueField"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    dataSource: [{\n        { Name: \"Parent1\", Id: 1 },\n        { Name: \"Parent2\", Id: 2 }\n    }]\n    dataTextField: \"Name\",\n    dataValueField: \"Id\"\n});\n</script>"],["header",{"level":3},"delay ",["inlinecode","Number"],["em","(default: 200)"]],["para"," Specifies the delay in milliseconds after which the multiselect will start filtering dataSource."],["header",{"level":4},"Example - set the delay"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    delay: 1000 // wait 1 second before clearing the user input\n});\n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input."],["header",{"level":4},"Example - disable the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  enable: false\n});\n</script>"],["header",{"level":3},"filter ",["inlinecode","String"],["em","(default: \"none\")"]],["para","The filtering method used to determine the suggestions for the current value. Filtration is turned of by default.\nThe supported filter values are ",["inlinecode","startswith"],", ",["inlinecode","endswith"]," and ",["inlinecode","contains"],"."],["header",{"level":4},"Example - set the filter"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  filter: \"contains\"\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number"],["em","(default: 200)"]],["para","The height of the suggestion popup in pixels. The default value is 200 pixels."],["header",{"level":4},"Example - set the height"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  height: 500\n});\n</script>"],["header",{"level":3},"highlightFirst ",["inlinecode","Boolean"],["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the first suggestion will be automatically highlighted."],["header",{"level":4},"Example - set highlightFirst"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  highlightFirst: false\n});\n</script>"],["header",{"level":3},"ignoreCase ",["inlinecode","String"],["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default."],["header",{"level":4},"Example - disable case-insensitive suggestions"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  ignoreCase: false\n});\n</script>"],["header",{"level":3},"minLength ",["inlinecode","Number"],["em","(default: 1)"]],["para","The minimum number of characters the user must type before a search is performed. Set to higher value than ",["inlinecode","1"]," if the search could match a lot of items."],["header",{"level":4},"Example - set minLength"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  minLength: 3\n});\n</script>"],["header",{"level":3},"maxSelectedItems ",["inlinecode","Number"],["em","(default: null)"]],["para"," Defines the limit of the selected items. If set to null widget will not limit number of the selected items."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n    <option>Item3</option>\n    <option>Item4</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    maxSelectedItems: 3 //only three or less items could be selected\n});\n</script>"],["header",{"level":3},"placeholder ",["inlinecode","String"],["em","(default: \"\")"]],["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example - specify placeholder option"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  placeholder: \"Select...\"\n});\n</script>"],["header",{"level":4},"Example - specify placeholder as HTML attribute"],["code_block","<select id=\"multiselect data-placeholder=\"Select...\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n</script>"],["header",{"level":3},"headerTemplate ",["inlinecode","String|Function"]],["para","Specifies a static HTML content, which will be rendered as a header of the popup element."],["blockquote",["para",["strong","Important"]," Widget does not pass a model data to the header template. Use this option only with static HTML."]],["header",{"level":4},"Example - specify headerTemplate as a string"],["code_block","<select id=\"multiselect\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  headerTemplate: '<div><h2>Fruits</h2></div>'\n});\n</script>"],["header",{"level":3},"itemTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the items in the popup list."],["header",{"level":4},"Example - specify template as a function"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script id=\"itemTemplate\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  itemTemplate: kendo.template($(\"#itemTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  itemTemplate: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"],["header",{"level":3},"tagTemplate ",["inlinecode","String"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the tags."],["header",{"level":4},"Example - specify template as a function"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script id=\"tagTemplate\" type=\"text/x-kendo-template\">\n  <span>\n    <img src=\"/img/#: id #.png\" alt=\"#: name #\" />\n    #: name #\n  </span>\n</script>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  tagTemplate: kendo.template($(\"#tagTemplate\").html())\n});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { id: 1, name: \"Apples\" },\n    { id: 2, name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"id\",\n  tagTemplate: '<span><img src=\"/img/#: id #.png\" alt=\"#: name #\" />#: name #</span>'\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","Array"],["em","(default: [])"]],["para"," Define the value of the widget"],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n     dataSource: [\"Item1\", \"Item2\", \"Item3\", \"Item4\"],\n     value: [\"Item2\", \"Item3\"]\n});\n</script>"],["blockquote",["para",["strong","Important:"]," Define a list of data items if widget is not initially bound"]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n    autoBind: false,\n    dataTextField: \"productName\",\n    dataValueField: \"productId\",\n    value: [{ productName: \"Item 1\", productId: \"1\" }, { productName: \"Item 2\", productId: \"2\" }]\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.DataSource"]],["para","The ",["link",{"href":"/api/framework/datasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para",["strong","Important:"]," Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [\n    { name: \"Apples\" },\n    { name: \"Oranges\" }\n  ],\n  dataTextField: \"name\",\n  dataValueField: \"name\"\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.dataSource.add({ name: \"Appricot\" });\nmultiselect.search(\"A\");\n</script>"],["header",{"level":3},"input ",["inlinecode","jQuery"]],["para","A jQuery object of the visible input element, where the user types."],["header",{"level":4},"Example - get input element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar input = multiselect.input;\n<script>"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar options = multiselect.options;\n<script>"],["header",{"level":3},"list ",["inlinecode","jQuery"]],["para","A jQuery object of the drop-down list element."],["header",{"level":4},"Example - get list element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar list = multiselect.list;\n<script>"],["header",{"level":3},"ul ",["inlinecode","jQuery"]],["para","A jQuery object of the ul element, which holds the available options."],["header",{"level":4},"Example - get ul element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar ul = multiselect.ul;\n<script>"],["header",{"level":3},"tagList ",["inlinecode","jQuery"]],["para","A jQuery object of the ul element, which holds the selected tags."],["header",{"level":4},"Example - get tagList element"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nvar tagList = multiselect.tagList;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the widget popup."],["header",{"level":4},"Example - close the suggestion popup"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Apples</option>\n    <option>Oranges</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n// Search for items starting with \"A\" - will open the suggestion popup and show \"Apples\"\nmultiselect.search(\"A\");\n// Close the suggestion popup\nmultiselect.close();\n</script>"],["header",{"level":3},"dataItems"],["para","Returns list of raw data records corresponding to the selected items."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The raw data records. Returns empty array ([]) if no selected options"],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get data items for the selected options.\nvar dataItem = multiselect.dataItems();\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","MultiSelect"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the MultiSelect element from DOM."]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  enable: false\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.enable(true);\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.readonly(true);\n</script>"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example - focus the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"],["header",{"level":3},"open"],["para","Opens the popup."],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.focus();\n</script>"],["header",{"level":3},"refresh"],["para","Refresh the popup by rendering all items again."],["header",{"level":4},"Example - refresh the popup items"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.refresh();\n</script>"],["header",{"level":3},"search"],["para","Searches the data source for the provided value and displays any matches as suggestions."],["header",{"level":4},"Parameters"],["header",{"level":5},"word ",["inlinecode","String"]],["para","The filter value."],["header",{"level":4},"Example - search the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.search(\"Item1\");\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the dataSource of an existing DropDownList and rebinds it."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.DataSource"]],["header",{"level":4},"Example"],["code_block","<select id=\"multiselect\" multiple=\"multiple\"></select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataSource: [ \"Apples\", \"Oranges\" ]\n});\nvar dataSource = new kendo.data.DataSource({\n  data: [ \"Bananas\", \"Cherries\" ]\n});\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.setDataSource(dataSource);\n</script>"],["header",{"level":3},"toggle"],["para","Opens or closes the widget popup."],["header",{"level":4},"Parameters"],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","Defines the whether to open/close the drop-down list."],["header",{"level":4},"Example - set text of the widget"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\nmultiselect.toggle();\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the multiselect. Accepts <i>string</i> value or <i>Array of strings</i>."],["blockquote",["para",["strong","Important:"]," If no items, value method will pre-fetch the data before continue with the value setting."]],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Array|String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Array"]," The value of the multiselect."],["header",{"level":4},"Example - set value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n// get the value of the multiselect.\nvar value = multiselect.value();\n\n// set the value of the multiselect.\nmultiselect.value([\"1\", \"2\"]); //select items which have value respectively \"1\" and \"2\"\n</script>"],["blockquote",["para","If initial items are lost in attempt to set new values, probably the widget is filtered by the end user, but no value has been selected. You will need to remove applied filter, before calling value method"]],["header",{"level":4},"Example - remove applied filter before set the value"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option value=\"1\">Item1</option>\n    <option value=\"2\">Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect();\n\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\n\n//clear filter\nmultiselect.dataSource.filter({});\n\n//set value\nmultiselect.value([\"1\", \"2\"]);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the value of the widget is changed by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["blockquote",["para",["strong","Important:"]," The event is not fired when the value of the widget is changed from code."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  change: function(e) {\n    var value = this.value();\n    // Use the value of the widget\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_change(e) {\n  var value = this.value();\n  // Use the value of the widget\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"change\", multiselect_change);\n</script>"],["header",{"level":3},"close"],["para","Fired when the popup of the widget is closed."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  close: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_close(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"close\", multiselect_close);\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  dataBound: function(e) {\n      // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_dataBound(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"dataBound\", multiselect_dataBound);\n</script>"],["header",{"level":3},"open"],["para","Fired when the popup of the widget is opened by the user."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  open: function(e) {\n    // handle the event\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_open(e) {\n  // handle the event\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"open\", multiselect_open);\n</script>"],["header",{"level":3},"select"],["para","Fired when an item from the popup is selected by the user."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","jQuery"]],["para","The jQuery object which represents the selected item."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.MultiSelect"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\n$(\"#multiselect\").kendoMultiSelect({\n  select: function(e) {\n    var item = e.item;\n    var text = item.text();\n    // Use the selected item or its text\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<select id=\"multiselect\" multiple=\"multiple\">\n    <option>Item1</option>\n    <option>Item2</option>\n</select>\n<script>\nfunction multiselect_select(e) {\n  var item = e.item;\n  var text = item.text();\n  // Use the selected item or its text\n}\n$(\"#multiselect\").kendoMultiSelect();\nvar multiselect = $(\"#multiselect\").data(\"kendoMultiSelect\");\nmultiselect.bind(\"select\", multiselect_select);\n</script>"]]},"kendo.ui.NumericTextBox":{"file":"api/web/numerictextbox.md","name":"kendo.ui.NumericTextBox","config":[{"name":"culture","type":["String"],"default":"\"en-US\"","short_doc":[["para"," Specifies the culture info used by the widget."]],"doc":[["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    culture: \"de-DE\"\n});\n</script>"]]},{"name":"decimals","type":["Number"],"default":"null","short_doc":[["para"," Specifies the number precision. If not set precision defined by current culture is used."]],"doc":[["para"," Specifies the number precision. If not set precision defined by current culture is used."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    decimals: 1\n});\n</script>"]]},{"name":"downArrowText","type":["String"],"default":"\"Decrease value\"","short_doc":[["para"," Specifies the text of the tooltip on the down arrow."]],"doc":[["para"," Specifies the text of the tooltip on the down arrow."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    downArrowText: \"Less\"\n});\n</script>"]]},{"name":"format","type":["String"],"default":"\"n\"","short_doc":[["para"," Specifies the format of the number. Any valid number format is allowed."]],"doc":[["para"," Specifies the format of the number. Any valid number format is allowed."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n   format: \"c0\"\n});\n</script>"]]},{"name":"max","type":["Number"],"default":"null","short_doc":[["para"," Specifies the largest value the user can enter."]],"doc":[["para"," Specifies the largest value the user can enter."],["header",{"level":4},"Example - specify max option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    max: 100\n});\n</script>"],["header",{"level":4},"Example - specify max option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" max=\"100\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"]]},{"name":"min","type":["Number"],"default":"null","short_doc":[["para"," Specifies the smallest value the user can enter."]],"doc":[["para"," Specifies the smallest value the user can enter."],["header",{"level":4},"Example - specify max option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    min: -100\n});\n</script>"],["header",{"level":4},"Example - specify min option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" min=\"-100\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"]]},{"name":"placeholder","type":["String"],"default":"\"\"","short_doc":[["para","The hint displayed by the widget when it is empty. Not set by default."]],"doc":[["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    placeholder: \"Select A Value\"\n});\n</script>"]]},{"name":"spinners","type":["Boolean"],"default":"true","short_doc":[["para"," Specifies whether the up and down spin buttons should be rendered"]],"doc":[["para"," Specifies whether the up and down spin buttons should be rendered"],["header",{"level":4},"Example - hide spin buttons"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    spinners: false\n});\n</script>"]]},{"name":"step","type":["Number"],"default":"1","short_doc":[["para"," Specifies the value used to increment or decrement widget value."]],"doc":[["para"," Specifies the value used to increment or decrement widget value."],["header",{"level":4},"Example - specify step option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    step: 0.1\n});\n</script>"],["header",{"level":4},"Example - specify step option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" step=\"0.1\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"]]},{"name":"upArrowText","type":["String"],"default":"\"Increase value\"","short_doc":[["para"," Specifies the text of the tooltip on the up arrow."]],"doc":[["para"," Specifies the text of the tooltip on the up arrow."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    upArrowText: \"More\"\n});\n</script>"]]},{"name":"value","type":["Number"],"default":"null","short_doc":[["para"," Specifies the value of the NumericTextBox widget."]],"doc":[["para"," Specifies the value of the NumericTextBox widget."],["header",{"level":4},"Example - specify value option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    value: 10\n});\n</script>"],["header",{"level":4},"Example - specify value option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" value=\"10\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","NumericTextBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NumericTextBox element from DOM."]]],"doc":[["para","Prepares the ",["strong","NumericTextBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NumericTextBox element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\n// detach events\nnumerictextbox.destroy();\n<script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\n// detach events\nnumerictextbox.destroy();\n<script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."]]}],"short_doc":[["para","Enables or disables the widget."]],"doc":[["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n  enable: false\n});\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.enable(true);\n</script>"]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n  enable: false\n});\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.enable(true);\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]],"doc":[["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.readonly();\n</script>"]],"examples":[[["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.readonly();\n</script>"]]]},{"name":"focus","args":[],"short_doc":[["para","Focuses the widget."]],"doc":[["para","Focuses the widget."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.focus();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.focus();\n</script>"]]]},{"name":"max","args":[{"name":"value","type":["Number","String"],"short_doc":[["para","The max value to set."]],"doc":[["para","The max value to set."]]}],"short_doc":[["para","Gets or sets the max value of the widget."]],"doc":[["para","Gets or sets the max value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The max value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The max value of the widget."],["header",{"level":4},"Example - get the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nnumerictextbox.max(10);\n</script>"]],"examples":[[["header",{"level":4},"Example - get the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nconsole.log(max);\n</script>"]],[["header",{"level":4},"Example - set the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nnumerictextbox.max(10);\n</script>"]]]},{"name":"min","args":[{"name":"value","type":["Number","String"],"short_doc":[["para","The min value to set."]],"doc":[["para","The min value to set."]]}],"short_doc":[["para","Gets or sets the min value of the widget."]],"doc":[["para","Gets or sets the min value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The min value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The min value of the widget."],["header",{"level":4},"Example - get the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nnumerictextbox.min(10);\n</script>"]],"examples":[[["header",{"level":4},"Example - get the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nconsole.log(min);\n</script>"]],[["header",{"level":4},"Example - set the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nnumerictextbox.min(10);\n</script>"]]]},{"name":"step","args":[{"name":"value","type":["Number","String"],"short_doc":[["para","The step value to set."]],"doc":[["para","The step value to set."]]}],"short_doc":[["para","Gets or sets the step value of the widget."]],"doc":[["para","Gets or sets the step value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The step value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The step value of the widget."],["header",{"level":4},"Example - get the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nconsole.log(step);\n</script>"],["header",{"level":4},"Example - set the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nnumerictextbox.step(0.5);\n</script>"]],"examples":[[["header",{"level":4},"Example - get the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nconsole.log(step);\n</script>"]],[["header",{"level":4},"Example - set the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nnumerictextbox.step(0.5);\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Number","String"],"short_doc":[["para","The value to set."]],"doc":[["para","The value to set."]]}],"short_doc":[["para","Gets or sets the value of the numerictextbox."]],"doc":[["para","Gets or sets the value of the numerictextbox."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The value of the widget."],["header",{"level":4},"Example - get the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - set the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nnumerictextbox.value(0.5);\n</script>"]],"examples":[[["header",{"level":4},"Example - get the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nconsole.log(value);\n</script>"]],[["header",{"level":4},"Example - set the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nnumerictextbox.value(0.5);\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.NumericTextBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the value is changed"]],"doc":[["para","Fires when the value is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.NumericTextBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"]]],"type":["Function"]},{"name":"spin","args":[{"name":"e.sender","type":["kendo.ui.NumericTextBox"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the value is changed from the spin buttons"]],"doc":[["para","Fires when the value is changed from the spin buttons"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.NumericTextBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"spin\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    spin: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"spin\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"spin\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"spin\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    spin: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"spin\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"spin\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"]]],"type":["Function"]}],"fields":[{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar options = numerictextbox.options;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI NumericTextBox widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI NumericTextBox widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"culture ",["inlinecode","String"],["em","(default: \"en-US\")"]],["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    culture: \"de-DE\"\n});\n</script>"],["header",{"level":3},"decimals ",["inlinecode","Number"],["em","(default: null)"]],["para"," Specifies the number precision. If not set precision defined by current culture is used."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    decimals: 1\n});\n</script>"],["header",{"level":3},"downArrowText ",["inlinecode","String"],["em","(default: \"Decrease value\")"]],["para"," Specifies the text of the tooltip on the down arrow."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    downArrowText: \"Less\"\n});\n</script>"],["header",{"level":3},"format ",["inlinecode","String"],["em","(default: \"n\")"]],["para"," Specifies the format of the number. Any valid number format is allowed."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n   format: \"c0\"\n});\n</script>"],["header",{"level":3},"max ",["inlinecode","Number"],["em","(default: null)"]],["para"," Specifies the largest value the user can enter."],["header",{"level":4},"Example - specify max option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    max: 100\n});\n</script>"],["header",{"level":4},"Example - specify max option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" max=\"100\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"],["header",{"level":3},"min ",["inlinecode","Number"],["em","(default: null)"]],["para"," Specifies the smallest value the user can enter."],["header",{"level":4},"Example - specify max option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    min: -100\n});\n</script>"],["header",{"level":4},"Example - specify min option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" min=\"-100\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"],["header",{"level":3},"placeholder ",["inlinecode","String"],["em","(default: \"\")"]],["para","The hint displayed by the widget when it is empty. Not set by default."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    placeholder: \"Select A Value\"\n});\n</script>"],["header",{"level":3},"spinners ",["inlinecode","Boolean"],["em","(default: true)"]],["para"," Specifies whether the up and down spin buttons should be rendered"],["header",{"level":4},"Example - hide spin buttons"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    spinners: false\n});\n</script>"],["header",{"level":3},"step ",["inlinecode","Number"],["em","(default: 1)"]],["para"," Specifies the value used to increment or decrement widget value."],["header",{"level":4},"Example - specify step option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    step: 0.1\n});\n</script>"],["header",{"level":4},"Example - specify step option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" step=\"0.1\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"],["header",{"level":3},"upArrowText ",["inlinecode","String"],["em","(default: \"Increase value\")"]],["para"," Specifies the text of the tooltip on the up arrow."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    upArrowText: \"More\"\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","Number"],["em","(default: null)"]],["para"," Specifies the value of the NumericTextBox widget."],["header",{"level":4},"Example - specify value option"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    value: 10\n});\n</script>"],["header",{"level":4},"Example - specify value option as a HTML attribute"],["code_block","<input id=\"numerictextbox\" value=\"10\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar options = numerictextbox.options;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","NumericTextBox"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the NumericTextBox element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\n// detach events\nnumerictextbox.destroy();\n<script>"],["header",{"level":3},"enable"],["para","Enables or disables the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will be enabled. If set to ",["inlinecode","false"]," the widget will be disabled."],["header",{"level":4},"Example - enable the widget"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n  enable: false\n});\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.enable(true);\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","If set to ",["inlinecode","true"]," the widget will not allow user input. If set to ",["inlinecode","false"]," the widget will allow user input."],["header",{"level":4},"Example - make the widget readonly"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.readonly();\n</script>"],["header",{"level":3},"focus"],["para","Focuses the widget."],["header",{"level":4},"Example"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\nnumerictextbox.focus();\n</script>"],["header",{"level":3},"max"],["para","Gets or sets the max value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The max value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The max value of the widget."],["header",{"level":4},"Example - get the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar max = numerictextbox.max();\n\nnumerictextbox.max(10);\n</script>"],["header",{"level":3},"min"],["para","Gets or sets the min value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The min value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The min value of the widget."],["header",{"level":4},"Example - get the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar min = numerictextbox.min();\n\nnumerictextbox.min(10);\n</script>"],["header",{"level":3},"step"],["para","Gets or sets the step value of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The step value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The step value of the widget."],["header",{"level":4},"Example - get the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nconsole.log(step);\n</script>"],["header",{"level":4},"Example - set the step value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar step = numerictextbox.step();\n\nnumerictextbox.step(0.5);\n</script>"],["header",{"level":3},"value"],["para","Gets or sets the value of the numerictextbox."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number | String"]],["para","The value to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," The value of the widget."],["header",{"level":4},"Example - get the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - set the value of the numerictextbox"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nvar value = numerictextbox.value();\n\nnumerictextbox.value(0.5);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the value is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.NumericTextBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"],["header",{"level":3},"spin"],["para","Fires when the value is changed from the spin buttons"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.NumericTextBox"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"spin\" event during initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox({\n    spin: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the numerictextbox\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"spin\" event after initialization"],["code_block","<input id=\"numerictextbox\" />\n<script>\n$(\"#numerictextbox\").kendoNumericTextBox();\n\nvar numerictextbox = $(\"#numerictextbox\").data(\"kendoNumericTextBox\");\n\nnumerictextbox.bind(\"spin\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the numerictextbox\n});\n</script>"]]},"kendo.ui.Pager":{"file":"api/web/pager.md","name":"kendo.ui.Pager","config":[{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the pager refresh method will be called within its initialization."]],"doc":[["para","Indicates whether the pager refresh method will be called within its initialization."],["header",{"level":4},"Example - disable reading the state of the DataSource instance during initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n        data: [\n            { productName: \"Tea\", category: \"Beverages\" },\n            { productName: \"Coffee\", category: \"Beverages\" },\n            { productName: \"Ham\", category: \"Food\" },\n            { productName: \"Bread\", category: \"Food\" }\n        ],\n        pageSize: 25\n      });\n\n    dataSource.read();\n\n    $(\"#pager\").kendoPager({\n      autoBind: false,\n      dataSource: dataSource\n    });\n</script>"]]},{"name":"buttonCount","type":["Number"],"default":"10","short_doc":[["para","Defines the number of buttons displayed in the numeric pager."]],"doc":[["para","Defines the number of buttons displayed in the numeric pager."],["header",{"level":4},"Example - set button count"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      buttonCount: 1\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"dataSource","type":["Object","kendo.data.DataSource"],"short_doc":[["para","Instance of kendo DataSource. See the ",["link",{"href":"http://docs.kendoui.com/api/framework/datasource"},["strong","kendo.data.DataSource"]],"."],["para","This option is mandatory because the Pager is tightly connected with DataSource. The pager is UI widget for managing paging over the DataSource. The Pager gets values like page size or total count of items from DataSource."]],"doc":[["para","Instance of kendo DataSource. See the ",["link",{"href":"http://docs.kendoui.com/api/framework/datasource"},["strong","kendo.data.DataSource"]],"."],["para","This option is mandatory because the Pager is tightly connected with DataSource. The pager is UI widget for managing paging over the DataSource. The Pager gets values like page size or total count of items from DataSource."],["header",{"level":4},"Example - standalone pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n        data: [\n            { productName: \"Tea\", category: \"Beverages\" },\n            { productName: \"Coffee\", category: \"Beverages\" },\n            { productName: \"Ham\", category: \"Food\" },\n            { productName: \"Bread\", category: \"Food\" }\n        ],\n        pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n        dataSource: dataSource,\n        pageSizes: [10, 25, 50]\n    });\n\n    dataSource.read();\n</script>"],["para","If the Pager is used with another widget then we usually specify this Pager like object of options for given widget. In that case the DataSource is automatically injected to the Pager from the widget. See example for a Grid below."],["header",{"level":4},"Example - grid pager"],["code_block","<div id=\"grid\"></div>\n\n<script>\n    $(\"#grid\").kendoGrid({\n      columns: [\n        { field: \"productName\" },\n        { field: \"category\" }\n      ],\n      dataSource: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageable: {\n        // we don't set any DataSource here\n        pageSize: 2,\n        buttonCount: 1\n      }\n    });\n</script>"]]},{"name":"selectTemplate","type":["String"],"short_doc":[["para","The template for selected page number link."]],"doc":[["para","The template for selected page number link."],["header",{"level":4},"Example - declare custom template for the selected page number"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      selectTemplate: '<li><span style=\"color:red\">#=text#</span></li>'\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"linkTemplate","type":["String"],"short_doc":[["para","The template for page number links."]],"doc":[["para","The template for page number links."],["header",{"level":4},"Example - declare custom link Template"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      linkTemplate: '<li><a href=\"\\\\#\" class=\"k-link\" data-#=ns#page=\"#=idx#\"><strong>#=text#</strong></a></li>'\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"info","type":["Boolean"],"default":"true","short_doc":[["para","Defines if a label showing current paging information will be displayed."]],"doc":[["para","Defines if a label showing current paging information will be displayed."],["header",{"level":4},"Example - hide the paging information"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      info: false\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"input","type":["Boolean"],"default":"false","short_doc":[["para","Defines if an input element which allows the user to navigate to given page will be displayed."]],"doc":[["para","Defines if an input element which allows the user to navigate to given page will be displayed."],["header",{"level":4},"Example - show the navigate-to-page input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"numeric","type":["Boolean"],"default":"true","short_doc":[["para","Defines if numeric portion of the pager will be shown."]],"doc":[["para","Defines if numeric portion of the pager will be shown."],["header",{"level":4},"Example - hides the numeric page links"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      numeric: false\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"pageSizes","type":["Boolean","Array"],"default":"false","short_doc":[["para","Displays a list with predefined page sizes. An array of values to be displayed can be provided. If pageSize option is provided for DataSource then this pageSize value will be automatically selected in created selectbox."]],"doc":[["para","Displays a list with predefined page sizes. An array of values to be displayed can be provided. If pageSize option is provided for DataSource then this pageSize value will be automatically selected in created selectbox."],["header",{"level":4},"Example - show the page size dropdown"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: true\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":4},"Example - show the page size dropdown with custom values"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: [2, 3, 4]\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"previousNext","type":["Boolean"],"default":"true","short_doc":[["para","Defines if buttons for navigating to the first, last, previous and next pages will be shown."]],"doc":[["para","Defines if buttons for navigating to the first, last, previous and next pages will be shown."],["header",{"level":4},"Example - hide the first, last, previous and next buttons"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      previousNext: false\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"refresh","type":["Boolean"],"default":"false","short_doc":[["para","Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data."]],"doc":[["para","Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data."],["header",{"level":4},"Example - show the refresh button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      refresh: true\n    });\n\n    dataSource.read();\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","Defines texts shown within the pager. Use this option to customize or localize the pager messages."]],"doc":[["para","Defines texts shown within the pager. Use this option to customize or localize the pager messages."]],"sub":[{"name":"refresh","type":["String"],"default":"\"Refresh\"","short_doc":[["para","The tooltip of the refresh button."]],"doc":[["para","The tooltip of the refresh button."],["header",{"level":4},"Example - set the tooltip of the refresh button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        refresh: \"Refresh data\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.refresh"},{"name":"last","type":["String"],"default":"\"Go to the last page\"","short_doc":[["para","The tooltip of the button which navigates to the last page."]],"doc":[["para","The tooltip of the button which navigates to the last page."],["header",{"level":4},"Example - set the tooltip of the last page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        last: \"Last Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.last"},{"name":"next","type":["String"],"default":"\"Go to the next page\"","short_doc":[["para","The tooltip of the button which navigates to the next page."]],"doc":[["para","The tooltip of the button which navigates to the next page."],["header",{"level":4},"Example - set the tooltip of the next page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        next: \"Next Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.next"},{"name":"previous","type":["String"],"default":"\"Go to the previous page\"","short_doc":[["para","The tooltip of the button which navigates to the previous page."]],"doc":[["para","The tooltip of the button which navigates to the previous page."],["header",{"level":4},"Example - set the tooltip of the previous page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        previous: \"Previous Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.previous"},{"name":"first","type":["String"],"default":"\"Go to the first page\"","short_doc":[["para","The tooltip of the button which navigates to the first page."]],"doc":[["para","The tooltip of the button which navigates to the first page."],["header",{"level":4},"Example - set the tooltip of the first page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        first: \"First Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.first"},{"name":"itemsPerPage","type":["String"],"default":"\"items per page\"","short_doc":[["para","The label displayed after the page size dropdown list."]],"doc":[["para","The label displayed after the page size dropdown list."],["header",{"level":4},"Example - set the label after the page size dropdown list"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: true,\n      messages: {\n        itemsPerPage: \"data items per page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.itemsPerPage"},{"name":"of","type":["String"],"default":"\"of {0}\"","short_doc":[["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."]],"doc":[["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."],["header",{"level":4},"Example - set the label after the pager input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true,\n      messages: {\n        of: \"from {0}\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.of"},{"name":"page","type":["String"],"default":"\"Page\"","short_doc":[["para","The label displayed before the pager input."]],"doc":[["para","The label displayed before the pager input."],["header",{"level":4},"Example - set the label before the pager input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true,\n      messages: {\n        page: \"Enter page\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.page"},{"name":"empty","type":["String"],"default":"\"No items to display\"","short_doc":[["para","The text displayed when the DataSource view does no contain items."]],"doc":[["para","The text displayed when the DataSource view does no contain items."],["header",{"level":4},"Example - set the \"empty\" message"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        empty: \"No data\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.empty"},{"name":"display","type":["String"],"default":"\"{0} - {1} of {2} items\"","short_doc":[["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"]],"doc":[["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"],["header",{"level":4},"Example - set the \"display\" message"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        display: \"Showing {0}-{1} from {2} data items\"\n      }\n    });\n\n    dataSource.read();\n</script>"]],"orig":"messages.display"}]}],"methods":[{"name":"totalPages","args":[],"short_doc":[["para","Returns the number of pages."]],"doc":[["para","Returns the number of pages."],["header",{"level":4},"Example - get the total number of pages"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.totalPages()); // displays \"2\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the total number of pages"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.totalPages()); // displays \"2\"\n</script>"]]]},{"name":"pageSize","args":[],"short_doc":[["para","Returns the page size - maximum number of items allowed on one page."]],"doc":[["para","Returns the page size - maximum number of items allowed on one page."],["header",{"level":4},"Example - get the page size"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.pageSize()); // displays \"2\"\n</script>"]],"examples":[[["header",{"level":4},"Example - get the page size"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.pageSize()); // displays \"2\"\n</script>"]]]},{"name":"page","args":[],"short_doc":[["para","Set the specified page as a current page. If called without arguments - returns the current page."]],"doc":[["para","Set the specified page as a current page. If called without arguments - returns the current page."],["header",{"level":4},"Example - get current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.page()); // displays \"1\"\n</script>"],["header",{"level":4},"Example - set current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.page(2);\n</script>"]],"examples":[[["header",{"level":4},"Example - get current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.page()); // displays \"1\"\n</script>"]],[["header",{"level":4},"Example - set current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.page(2);\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Updates all values of pager elements so that these values fit the values of DataSource. This method is automatically called after DataSource change event is fired."]],"doc":[["para","Updates all values of pager elements so that these values fit the values of DataSource. This method is automatically called after DataSource change event is fired."],["header",{"level":4},"Example - refresh the pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.refresh();\n</script>"]],"examples":[[["header",{"level":4},"Example - refresh the pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.refresh();\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Unbinds all callbacks created within pager initialization. This method doesn't remove pager element from DOM."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","Unbinds all callbacks created within pager initialization. This method doesn't remove pager element from DOM."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example - destroy pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example - destroy pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.destroy();\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.Grid"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the current page has changed."]],"doc":[["para","Fires when the current page has changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      change: function() {\n        console.log(\"pager change event\");\n      }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    function pager_change() {\n      console.log(\"pager change event\");\n    }\n\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.bind(\"change\", pager_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      change: function() {\n        console.log(\"pager change event\");\n      }\n    });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    function pager_change() {\n      console.log(\"pager change event\");\n    }\n\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.bind(\"change\", pager_change);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Pager widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Pager widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Indicates whether the pager refresh method will be called within its initialization."],["header",{"level":4},"Example - disable reading the state of the DataSource instance during initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n        data: [\n            { productName: \"Tea\", category: \"Beverages\" },\n            { productName: \"Coffee\", category: \"Beverages\" },\n            { productName: \"Ham\", category: \"Food\" },\n            { productName: \"Bread\", category: \"Food\" }\n        ],\n        pageSize: 25\n      });\n\n    dataSource.read();\n\n    $(\"#pager\").kendoPager({\n      autoBind: false,\n      dataSource: dataSource\n    });\n</script>"],["header",{"level":3},"buttonCount ",["inlinecode","Number"],["em","(default: 10)"]],["para","Defines the number of buttons displayed in the numeric pager."],["header",{"level":4},"Example - set button count"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      buttonCount: 1\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|kendo.data.DataSource"]],["para","Instance of kendo DataSource. See the ",["link",{"href":"http://docs.kendoui.com/api/framework/datasource"},["strong","kendo.data.DataSource"]],"."],["para","This option is mandatory because the Pager is tightly connected with DataSource. The pager is UI widget for managing paging over the DataSource. The Pager gets values like page size or total count of items from DataSource."],["header",{"level":4},"Example - standalone pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n        data: [\n            { productName: \"Tea\", category: \"Beverages\" },\n            { productName: \"Coffee\", category: \"Beverages\" },\n            { productName: \"Ham\", category: \"Food\" },\n            { productName: \"Bread\", category: \"Food\" }\n        ],\n        pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n        dataSource: dataSource,\n        pageSizes: [10, 25, 50]\n    });\n\n    dataSource.read();\n</script>"],["para","If the Pager is used with another widget then we usually specify this Pager like object of options for given widget. In that case the DataSource is automatically injected to the Pager from the widget. See example for a Grid below."],["header",{"level":4},"Example - grid pager"],["code_block","<div id=\"grid\"></div>\n\n<script>\n    $(\"#grid\").kendoGrid({\n      columns: [\n        { field: \"productName\" },\n        { field: \"category\" }\n      ],\n      dataSource: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageable: {\n        // we don't set any DataSource here\n        pageSize: 2,\n        buttonCount: 1\n      }\n    });\n</script>"],["header",{"level":3},"selectTemplate ",["inlinecode","String"]],["para","The template for selected page number link."],["header",{"level":4},"Example - declare custom template for the selected page number"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      selectTemplate: '<li><span style=\"color:red\">#=text#</span></li>'\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"linkTemplate ",["inlinecode","String"]],["para","The template for page number links."],["header",{"level":4},"Example - declare custom link Template"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      linkTemplate: '<li><a href=\"\\\\#\" class=\"k-link\" data-#=ns#page=\"#=idx#\"><strong>#=text#</strong></a></li>'\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"info ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Defines if a label showing current paging information will be displayed."],["header",{"level":4},"Example - hide the paging information"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      info: false\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"input ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Defines if an input element which allows the user to navigate to given page will be displayed."],["header",{"level":4},"Example - show the navigate-to-page input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"numeric ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Defines if numeric portion of the pager will be shown."],["header",{"level":4},"Example - hides the numeric page links"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      numeric: false\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"pageSizes ",["inlinecode","Boolean|Array"]," ",["em","(default: false)"]],["para","Displays a list with predefined page sizes. An array of values to be displayed can be provided. If pageSize option is provided for DataSource then this pageSize value will be automatically selected in created selectbox."],["header",{"level":4},"Example - show the page size dropdown"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: true\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":4},"Example - show the page size dropdown with custom values"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: [2, 3, 4]\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"previousNext ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Defines if buttons for navigating to the first, last, previous and next pages will be shown."],["header",{"level":4},"Example - hide the first, last, previous and next buttons"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      previousNext: false\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"refresh ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Defines if a refresh button will be displayed. Click on that button will call DataSource read() method to get actual data."],["header",{"level":4},"Example - show the refresh button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      refresh: true\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","Defines texts shown within the pager. Use this option to customize or localize the pager messages."],["header",{"level":3},"messages.display ",["inlinecode","String"],["em","(default: \"{0} - {1} of {2} items\")"]],["para","The pager info text. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains three placeholders:\n- {0} - the first data item index\n- {1} - the last data item index\n- {2} - the total number of data items"],["header",{"level":4},"Example - set the \"display\" message"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        display: \"Showing {0}-{1} from {2} data items\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.empty ",["inlinecode","String"],["em","(default: \"No items to display\")"],","],["para","The text displayed when the DataSource view does no contain items."],["header",{"level":4},"Example - set the \"empty\" message"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        empty: \"No data\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.page ",["inlinecode","String"],["em","(default: \"Page\")"],","],["para","The label displayed before the pager input."],["header",{"level":4},"Example - set the label before the pager input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true,\n      messages: {\n        page: \"Enter page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.of ",["inlinecode","String"],["em","(default: \"of {0}\")"],","],["para","The label displayed before the pager input. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],". Contains one optional placeholder {0} which represents the total number of pages."],["header",{"level":4},"Example - set the label after the pager input"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      input: true,\n      messages: {\n        of: \"from {0}\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.itemsPerPage ",["inlinecode","String"],["em","(default: \"items per page\")"],","],["para","The label displayed after the page size dropdown list."],["header",{"level":4},"Example - set the label after the page size dropdown list"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      pageSizes: true,\n      messages: {\n        itemsPerPage: \"data items per page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.first ",["inlinecode","String"],["em","(default: \"Go to the first page\")"],","],["para","The tooltip of the button which navigates to the first page."],["header",{"level":4},"Example - set the tooltip of the first page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        first: \"First Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.previous ",["inlinecode","String"],["em","(default: \"Go to the previous page\")"],","],["para","The tooltip of the button which navigates to the previous page."],["header",{"level":4},"Example - set the tooltip of the previous page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        previous: \"Previous Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.next ",["inlinecode","String"],["em","(default: \"Go to the next page\")"],","],["para","The tooltip of the button which navigates to the next page."],["header",{"level":4},"Example - set the tooltip of the next page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        next: \"Next Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.last ",["inlinecode","String"],["em","(default: \"Go to the last page\")"],","],["para","The tooltip of the button which navigates to the last page."],["header",{"level":4},"Example - set the tooltip of the last page button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        last: \"Last Page\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":3},"messages.refresh ",["inlinecode","String"],["em","(default: \"Refresh\")"],","],["para","The tooltip of the refresh button."],["header",{"level":4},"Example - set the tooltip of the refresh button"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      messages: {\n        refresh: \"Refresh data\"\n      }\n    });\n\n    dataSource.read();\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"totalPages"],["para","Returns the number of pages."],["header",{"level":4},"Example - get the total number of pages"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.totalPages()); // displays \"2\"\n</script>"],["header",{"level":3},"pageSize"],["para","Returns the page size - maximum number of items allowed on one page."],["header",{"level":4},"Example - get the page size"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.pageSize()); // displays \"2\"\n</script>"],["header",{"level":3},"page"],["para","Set the specified page as a current page. If called without arguments - returns the current page."],["header",{"level":4},"Example - get current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    console.log(pager.page()); // displays \"1\"\n</script>"],["header",{"level":4},"Example - set current page"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.page(2);\n</script>"],["header",{"level":3},"refresh"],["para","Updates all values of pager elements so that these values fit the values of DataSource. This method is automatically called after DataSource change event is fired."],["header",{"level":4},"Example - refresh the pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.refresh();\n</script>"],["header",{"level":3},"destroy"],["para","Unbinds all callbacks created within pager initialization. This method doesn't remove pager element from DOM."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example - destroy pager"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.destroy();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the current page has changed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Grid"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    $(\"#pager\").kendoPager({\n      dataSource: dataSource,\n      change: function() {\n        console.log(\"pager change event\");\n      }\n    });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"pager\"></div>\n\n<script>\n    function pager_change() {\n      console.log(\"pager change event\");\n    }\n\n    var dataSource = new kendo.data.DataSource({\n      data: [\n        { productName: \"Tea\", category: \"Beverages\" },\n        { productName: \"Coffee\", category: \"Beverages\" },\n        { productName: \"Ham\", category: \"Food\" },\n        { productName: \"Bread\", category: \"Food\" }\n      ],\n      pageSize: 2\n    });\n\n    dataSource.read();\n\n    var pager = $(\"#pager\").kendoPager({\n      dataSource: dataSource\n    }).data(\"kendoPager\");\n\n    pager.bind(\"change\", pager_change);\n</script>"]]},"kendo.ui.PanelBar":{"file":"api/web/panelbar.md","name":"kendo.ui.PanelBar","config":[{"name":"animation","type":["Object","Boolean"],"short_doc":[["para","A collection of visual animations used when ",["strong","PanelBar"]," items are expand or collapsed through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."]],"doc":[["para","A collection of visual animations used when ",["strong","PanelBar"]," items are expand or collapsed through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            // fade-out closing items over 1000 milliseconds\n            collapse: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            },\n           // fade-in and expand opening items over 500 milliseconds\n           expand: {\n               duration: 500,\n               effects: \"expandVertical fadeIn\"\n           }\n       }\n    });\n</script>"]],"sub":[{"name":"expand","type":["Object"],"short_doc":[["para","The visual animation(s) that will be used when opening items."]],"doc":[["para","The visual animation(s) that will be used when opening items."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            expand: {\n                duration: 200,\n                effects: \"expandVertical\"\n            }\n        }\n    });\n</script>"]],"sub":[{"name":"effects","type":["String"],"default":"\"expandVertical\"","short_doc":[["para","A whitespace-delimited string of animation effects that are used when an item is expanded. Options include\n",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            expand: {\n                effects: \"expandVertical\"\n            }\n        }\n    });\n</script>"]],"doc":[["para","A whitespace-delimited string of animation effects that are used when an item is expanded. Options include\n",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            expand: {\n                effects: \"expandVertical\"\n            }\n        }\n    });\n</script>"]],"orig":"animation.expand.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The number of milliseconds used for the visual animation when an item is opened."]],"doc":[["para","The number of milliseconds used for the visual animation when an item is opened."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n     animation: {\n          expand: {\n              duration: 1000\n          }\n       }\n    });\n</script>"]],"orig":"animation.expand.duration"}],"orig":"animation.expand"},{"name":"collapse","type":["Object"],"short_doc":[["para","The visual animation(s) that will be used when ",["strong","PanelBar"]," items are closed."]],"doc":[["para","The visual animation(s) that will be used when ",["strong","PanelBar"]," items are closed."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            collapse: {\n                duration: 200,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"]],"sub":[{"name":"effects","type":["String"],"short_doc":[["para","A whitespace-delimited string of animation effects that are utilized when a ",["strong","PanelBar"]," item\nis closed. Options include ",["strong","\"fadeOut\""],"."]],"doc":[["para","A whitespace-delimited string of animation effects that are utilized when a ",["strong","PanelBar"]," item\nis closed. Options include ",["strong","\"fadeOut\""],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            collapse: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"]],"orig":"animation.collapse.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The number of milliseconds used for the visual animation when a ",["strong","PanelBar"]," item is closed."]],"doc":[["para","The number of milliseconds used for the visual animation when a ",["strong","PanelBar"]," item is closed."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n           collapse: {\n                duration: 1000\n           }\n      }\n    });\n</script>"]],"orig":"animation.collapse.duration"}],"orig":"animation.collapse"}]},{"name":"contentUrls","type":["Array"],"short_doc":[["para","Sets an array with the URLs from which the ",["strong","PanelBar"]," items content to be loaded from. If only specific items should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "]],"doc":[["para","Sets an array with the URLs from which the ",["strong","PanelBar"]," items content to be loaded from. If only specific items should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "],["header",{"level":4},"Example - specify that the second item should be loaded remotely"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n    </li>\n    <li>\n        Ajax Item\n        <div></div>\n    </li>\n</ul>\n\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        contentUrls: [null, \"ajaxContent.html\"]\n    });\n</script>"]]},{"name":"expandMode","type":["String"],"default":"\"multiple\"","short_doc":[["para","Specifies how the ",["strong","PanelBar"]," items are displayed when opened and closed. The following values\nare available:"]],"doc":[["para","Specifies how the ",["strong","PanelBar"]," items are displayed when opened and closed. The following values\nare available:"],["header",{"level":4},["em","\"single\""]],["para","Display one item at a time when an item is opened; opening an item will close the previously opened item."],["header",{"level":4},["em","\"multiple\""]],["para","Display multiple values at one time; opening an item has no visual impact on any other items in the ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        expandMode: \"single\"\n    });\n</script>"]]}],"methods":[{"name":"append","args":[{"name":"item","type":["Selector"],"short_doc":[["para","Target item, specified as the JSON representation of an object. You can pass item text, content or\ncontentUrl here. Can handle an HTML string or array of such strings or JSON."]],"doc":[["para","Target item, specified as the JSON representation of an object. You can pass item text, content or\ncontentUrl here. Can handle an HTML string or array of such strings or JSON."]]},{"name":"referenceItem","type":["Selector"],"short_doc":[["para","A reference item to append the new item in the PanelBar, can be omitted."]],"doc":[["para","A reference item to append the new item in the PanelBar, can be omitted."]]}],"short_doc":[["para","Appends an item/s to the PanelBar."]],"doc":[["para","Appends an item/s to the PanelBar."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\"></ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    panelBar.append(\n        [\n            {\n                text: \"Item 1\",\n                cssClass: \"myClass\",                            // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n                url: \"http://www.kendoui.com/\"                  // link URL if navigation is needed, optional.\n            },\n            {\n                text: \"<b>Item 2</b>\",\n                encoded: false,                                 // Allows use of HTML for item text\n                content: \"text\"                                 // content within an item\n            },\n            {\n                text: \"Item 3\",\n                contentUrl: \"partialContent.html\"               // content URL to load within an item\n            },\n            {\n                text: \"Item 4\",\n                imageUrl: \"http://www.kendoui.com/test.jpg\",    // item image URL, optional\n                expanded: true,                                 // item is rendered expanded\n                items: [{                                       // Sub item collection.\n                    text: \"Sub Item 1\"\n                },\n                {\n                    text: \"Sub Item 2\"\n                }]\n            },\n            {\n                text: \"Item 5\",\n                // item image sprite CSS class, optional\n                spriteCssClass: \"imageClass3\"\n            }\n        ]\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as the JSON representation of an object. You can pass item text, content or\ncontentUrl here. Can handle an HTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to append the new item in the PanelBar, can be omitted."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\"></ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    panelBar.append(\n        [\n            {\n                text: \"Item 1\",\n                cssClass: \"myClass\",                            // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n                url: \"http://www.kendoui.com/\"                  // link URL if navigation is needed, optional.\n            },\n            {\n                text: \"<b>Item 2</b>\",\n                encoded: false,                                 // Allows use of HTML for item text\n                content: \"text\"                                 // content within an item\n            },\n            {\n                text: \"Item 3\",\n                contentUrl: \"partialContent.html\"               // content URL to load within an item\n            },\n            {\n                text: \"Item 4\",\n                imageUrl: \"http://www.kendoui.com/test.jpg\",    // item image URL, optional\n                expanded: true,                                 // item is rendered expanded\n                items: [{                                       // Sub item collection.\n                    text: \"Sub Item 1\"\n                },\n                {\n                    text: \"Sub Item 2\"\n                }]\n            },\n            {\n                text: \"Item 5\",\n                // item image sprite CSS class, optional\n                spriteCssClass: \"imageClass3\"\n            }\n        ]\n    );\n</script>"]]]},{"name":"collapse","args":[{"name":"element","type":["Selector"],"short_doc":[["para","The ",["strong","PanelBar"]," item(s) to be collapsed, expressed as a string containing a selector\nexpression or represented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]],"doc":[["para","The ",["strong","PanelBar"]," item(s) to be collapsed, expressed as a string containing a selector\nexpression or represented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]]},{"name":"useAnimation","type":["Boolean"],"short_doc":[["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s)\nwhen collapsing items."]],"doc":[["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s)\nwhen collapsing items."]]}],"short_doc":[["para","Collapses the specified item(s) of a ",["strong","PanelBar"],"."]],"doc":[["para","Collapses the specified item(s) of a ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // collapse the element with ID, \"item1\"\n    panelBar.collapse($(\"#item1\"));\n    // collapse the element with ID, \"item2\" without visual animations\n    panelBar.collapse($(\"#item2\"), false);\n    // collapse all list items that start with ID, \"item\"\n    panelBar.collapse($('[id^=\"item\"]'));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","The ",["strong","PanelBar"]," item(s) to be collapsed, expressed as a string containing a selector\nexpression or represented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."],["header",{"level":5},"useAnimation ",["inlinecode","Boolean"]],["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s)\nwhen collapsing items."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // collapse the element with ID, \"item1\"\n    panelBar.collapse($(\"#item1\"));\n    // collapse the element with ID, \"item2\" without visual animations\n    panelBar.collapse($(\"#item2\"), false);\n    // collapse all list items that start with ID, \"item\"\n    panelBar.collapse($('[id^=\"item\"]'));\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","PanelBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PanelBar element from DOM."]]],"doc":[["para","Prepares the ",["strong","PanelBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PanelBar element from DOM."]],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n\n    // detach events\n    panelBar.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n\n    // detach events\n    panelBar.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The ",["strong","PanelBar"]," item(s) to be enabled (",["strong","true"],") or disabled (",["strong","false"],"), expressed as a\nstring containing a selector expression or represented by a\n",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]],"doc":[["para","The ",["strong","PanelBar"]," item(s) to be enabled (",["strong","true"],") or disabled (",["strong","false"],"), expressed as a\nstring containing a selector expression or represented by a\n",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]]},{"name":"enable","type":["Boolean"],"short_doc":[["para","The desired state - enabled (",["strong","true"],") or disabled (",["strong","false"],") - of the target\nelement(s)."]],"doc":[["para","The desired state - enabled (",["strong","true"],") or disabled (",["strong","false"],") - of the target\nelement(s)."]]}],"short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the specified item(s) of the\n",["strong","PanelBar"],"."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the specified item(s) of the\n",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // enable the item of the PanelBar with ID, \"item1\"\n    panelBar.enable($(\"#item1\"), true);\n    // disable the currently selected item of the PanelBar\n    var item = panelBar.select();\n    panelBar.enable($(\"#item2\"), false);\n    // disable all list items that start with ID, \"item\"\n    panelBar.enable($('[id^=\"item\"]'), false);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item(s) to be enabled (",["strong","true"],") or disabled (",["strong","false"],"), expressed as a\nstring containing a selector expression or represented by a\n",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The desired state - enabled (",["strong","true"],") or disabled (",["strong","false"],") - of the target\nelement(s)."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // enable the item of the PanelBar with ID, \"item1\"\n    panelBar.enable($(\"#item1\"), true);\n    // disable the currently selected item of the PanelBar\n    var item = panelBar.select();\n    panelBar.enable($(\"#item2\"), false);\n    // disable all list items that start with ID, \"item\"\n    panelBar.enable($('[id^=\"item\"]'), false);\n</script>"]]]},{"name":"expand","args":[{"name":"element","type":["Selector"],"short_doc":[["para","The ",["strong","PanelBar"]," item(s) to be expanded, expressed as a selector."]],"doc":[["para","The ",["strong","PanelBar"]," item(s) to be expanded, expressed as a selector."]]},{"name":"useAnimation","type":["Boolean"],"short_doc":[["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s) when expanding items."]],"doc":[["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s) when expanding items."]]}],"short_doc":[["para","Expands the specified item(s) of a ",["strong","PanelBar"],"."]],"doc":[["para","Expands the specified item(s) of a ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // expand the element with ID, \"item1\"\n    panelBar.expand($(\"#item1\"));\n    // expand the element with ID, \"item2\" without visual animations\n    panelBar.expand($(\"#item2\"), false);\n    // expand all list items that start with ID, \"item\"\n    panelBar.expand($('[id^=\"item\"]'));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","The ",["strong","PanelBar"]," item(s) to be expanded, expressed as a selector."],["header",{"level":5},"useAnimation ",["inlinecode","Boolean"]],["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s) when expanding items."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // expand the element with ID, \"item1\"\n    panelBar.expand($(\"#item1\"));\n    // expand the element with ID, \"item2\" without visual animations\n    panelBar.expand($(\"#item2\"), false);\n    // expand all list items that start with ID, \"item\"\n    panelBar.expand($('[id^=\"item\"]'));\n</script>"]]]},{"name":"insertAfter","args":[{"name":"item","type":["Selector"],"short_doc":[["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON."]],"doc":[["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON."]]},{"name":"referenceItem","type":["Selector"],"short_doc":[["para","A reference item to insert the new item after"]],"doc":[["para","A reference item to insert the new item after"]]}],"short_doc":[["para","Inserts a PanelBar item after the specified referenceItem"]],"doc":[["para","Inserts a PanelBar item after the specified referenceItem"],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item after"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"]]]},{"name":"insertBefore","args":[{"name":"item","type":["Selector"],"short_doc":[["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an\nTML string or array of such strings or JSON."]],"doc":[["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an\nTML string or array of such strings or JSON."]]},{"name":"referenceItem","type":["Selector"],"short_doc":[["para","A reference item to insert the new item before."]],"doc":[["para","A reference item to insert the new item before."]]}],"short_doc":[["para","Inserts a PanelBar item before the specified referenceItem"]],"doc":[["para","Inserts a PanelBar item before the specified referenceItem"],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an\nTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item before."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"]]]},{"name":"reload","args":[{"name":"element","type":["Selector"],"short_doc":[["para","Target element"]],"doc":[["para","Target element"]]}],"short_doc":[["para","Reloads the content of a ",["strong","PanelBar"]," from an AJAX request."]],"doc":[["para","Reloads the content of a ",["strong","PanelBar"]," from an AJAX request."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // reload the panel bar\n    panelBar.reload(\"> .k-item\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target element"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // reload the panel bar\n    panelBar.reload(\"> .k-item\");\n</script>"]]]},{"name":"remove","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The ",["strong","PanelBar"]," item(s) to be removed, expressed as a selector string, DOM element or a jQuery object."]],"doc":[["para","The ",["strong","PanelBar"]," item(s) to be removed, expressed as a selector string, DOM element or a jQuery object."]]}],"short_doc":[["para","Removes the specified PanelBar item(s)."]],"doc":[["para","Removes the specified PanelBar item(s)."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // remove Item 1\n    panelBar.remove(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item(s) to be removed, expressed as a selector string, DOM element or a jQuery object."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // remove Item 1\n    panelBar.remove(\"#Item1\");\n</script>"]]]},{"name":"select","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The ",["strong","PanelBar"]," item to be selected, expressed as a string containing a selector expression or\nrepresented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]],"doc":[["para","The ",["strong","PanelBar"]," item to be selected, expressed as a string containing a selector expression or\nrepresented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]]}],"short_doc":[["para","Selects the specified item of the ",["strong","PanelBar"],". If this method is invoked without arguments, it\nreturns the currently selected item."]],"doc":[["para","Selects the specified item of the ",["strong","PanelBar"],". If this method is invoked without arguments, it\nreturns the currently selected item."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // select the item with ID, \"item1\"\n    panelBar.select(\"#item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item to be selected, expressed as a string containing a selector expression or\nrepresented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // select the item with ID, \"item1\"\n    panelBar.select(\"#item1\");\n</script>"]]]}],"events":[{"name":"activate","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The activated item of the PanelBar."]],"doc":[["para","The activated item of the PanelBar."]]}],"short_doc":[["para","Triggered when an item of a PanelBar is activated."]],"doc":[["para","Triggered when an item of a PanelBar is activated."],["header",{"level":4},"Attach activate event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (HTMLElement)\n\n        // detach activate event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        activate: onActivate\n    });\n</script>"],["header",{"level":4},"Attach activate event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (HTMLElement)\n\n        // detach activate event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"activate\", onActivate);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated item of the PanelBar."]],"examples":[],"type":["Function"]},{"name":"collapse","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The collapsing item of the PanelBar."]],"doc":[["para","The collapsing item of the PanelBar."]]}],"short_doc":[["para","Triggered when an item of a PanelBar is collapsed."]],"doc":[["para","Triggered when an item of a PanelBar is collapsed."],["header",{"level":4},"Attach collapse event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for collapse\n    var onCollapse = function(e) {\n        // access the collapsed item via e.item (HTMLElement)\n\n        // detach collapse event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"collapse\", onCollapse);\n    };\n\n    // attach collapse event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        collapse: onCollapse\n    });\n</script>"],["header",{"level":4},"Attach collapse event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for collapse\n    var onCollapse = function(e) {\n        // access the collapsed item via e.item (HTMLElement)\n\n        // detach collapse event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"collapse\", onCollapse);\n    };\n\n    // attach collapse event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"collapse\", onCollapse);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The collapsing item of the PanelBar."]],"examples":[],"type":["Function"]},{"name":"contentLoad","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The selected item"]],"doc":[["para","The selected item"]]},{"name":"e.contentElement","type":["Element"],"short_doc":[["para","The loaded content element"]],"doc":[["para","The loaded content element"]]}],"short_doc":[["para","Fires when content is fetched from an AJAX request."]],"doc":[["para","Fires when content is fetched from an AJAX request."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        contentLoad: function(e) {\n            // handle event\n        }\n    });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // bind the contentLoad event\n    panelBar.bind(\"contentLoad\", function(e) {\n        // handle event\n    });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The loaded content element"]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        contentLoad: function(e) {\n            // handle event\n        }\n    });\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.xhr","type":["jqXHR"],"short_doc":[["para","The jqXHR object used to load the content"]],"doc":[["para","The jqXHR object used to load the content"]]},{"name":"e.status","type":["String"],"short_doc":[["para","The returned status."]],"doc":[["para","The returned status."]]}],"short_doc":[["para","Fires when AJAX request results in an error."]],"doc":[["para","Fires when AJAX request results in an error."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        error: function(e) {\n            // handle event\n        }\n    });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // bind the error ajax event\n    panelBar.bind(\"error\", function(e) {\n        // handle event\n    });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The jqXHR object used to load the content"],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The returned status."]],"examples":[[["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        error: function(e) {\n            // handle event\n        }\n    });\n</script>"]]],"type":["Function"]},{"name":"expand","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The expanding item of the PanelBar."]],"doc":[["para","The expanding item of the PanelBar."]]}],"short_doc":[["para","Triggered when an item of a PanelBar is expanded."]],"doc":[["para","Triggered when an item of a PanelBar is expanded."],["header",{"level":4},"Attach expand event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for expand\n    var onExpand = function(e) {\n        // access the expanded item via e.item (HTMLElement)\n\n        // detach expand event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"expand\", onExpand);\n    };\n\n    // attach expand event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        expand: onExpand\n    });\n</script>"],["header",{"level":4},"Attach expand event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for expand\n    var onExpand = function(e) {\n        // access the expanded item via e.item (HTMLElement)\n\n        // detach expand event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"expand\", onExpand);\n    };\n\n    // attach expand event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"expand\", onExpand);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The expanding item of the PanelBar."]],"examples":[],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The selected item of the PanelBar."]],"doc":[["para","The selected item of the PanelBar."]]}],"short_doc":[["para","Triggered when an item of a PanelBar is selected."]],"doc":[["para","Triggered when an item of a PanelBar is selected."],["header",{"level":4},"Attach select event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (HTMLElement)\n\n        // detach select event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        select: onSelect\n    }).data(\"kendoPanelBar\");\n</script>"],["header",{"level":4},"Attach select event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (HTMLElement)\n\n        // detach select event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"select\", onSelect);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item of the PanelBar."]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI PanelBar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI PanelBar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object|Boolean"]],["para","A collection of visual animations used when ",["strong","PanelBar"]," items are expand or collapsed through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            // fade-out closing items over 1000 milliseconds\n            collapse: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            },\n           // fade-in and expand opening items over 500 milliseconds\n           expand: {\n               duration: 500,\n               effects: \"expandVertical fadeIn\"\n           }\n       }\n    });\n</script>"],["header",{"level":3},"animation.collapse ",["inlinecode","Object"]],["para","The visual animation(s) that will be used when ",["strong","PanelBar"]," items are closed."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            collapse: {\n                duration: 200,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.collapse.duration ",["inlinecode","Number"],["em","(default: 200)"]],["para","The number of milliseconds used for the visual animation when a ",["strong","PanelBar"]," item is closed."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n           collapse: {\n                duration: 1000\n           }\n      }\n    });\n</script>"],["header",{"level":3},"animation.collapse.effects ",["inlinecode","String"]],["para","A whitespace-delimited string of animation effects that are utilized when a ",["strong","PanelBar"]," item\nis closed. Options include ",["strong","\"fadeOut\""],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            collapse: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.expand ",["inlinecode","Object"]],["para","The visual animation(s) that will be used when opening items."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            expand: {\n                duration: 200,\n                effects: \"expandVertical\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.expand.duration ",["inlinecode","Number"],["em","(default: 200)"]],["para","The number of milliseconds used for the visual animation when an item is opened."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n     animation: {\n          expand: {\n              duration: 1000\n          }\n       }\n    });\n</script>"],["header",{"level":3},"animation.expand.effects ",["inlinecode","String"],["em","(default: \"expandVertical\")"]],["para","A whitespace-delimited string of animation effects that are used when an item is expanded. Options include\n",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        animation: {\n            expand: {\n                effects: \"expandVertical\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"contentUrls ",["inlinecode","Array"]],["para","Sets an array with the URLs from which the ",["strong","PanelBar"]," items content to be loaded from. If only specific items should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "],["header",{"level":4},"Example - specify that the second item should be loaded remotely"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n    </li>\n    <li>\n        Ajax Item\n        <div></div>\n    </li>\n</ul>\n\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        contentUrls: [null, \"ajaxContent.html\"]\n    });\n</script>"],["header",{"level":3},"expandMode ",["inlinecode","String"],["em","(default: \"multiple\")"]],["para","Specifies how the ",["strong","PanelBar"]," items are displayed when opened and closed. The following values\nare available:"],["header",{"level":4},["em","\"single\""]],["para","Display one item at a time when an item is opened; opening an item will close the previously opened item."],["header",{"level":4},["em","\"multiple\""]],["para","Display multiple values at one time; opening an item has no visual impact on any other items in the ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        expandMode: \"single\"\n    });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"append"],["para","Appends an item/s to the PanelBar."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\"></ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    panelBar.append(\n        [\n            {\n                text: \"Item 1\",\n                cssClass: \"myClass\",                            // Add custom CSS class to the item, optional, added 2012 Q3 SP1.\n                url: \"http://www.kendoui.com/\"                  // link URL if navigation is needed, optional.\n            },\n            {\n                text: \"<b>Item 2</b>\",\n                encoded: false,                                 // Allows use of HTML for item text\n                content: \"text\"                                 // content within an item\n            },\n            {\n                text: \"Item 3\",\n                contentUrl: \"partialContent.html\"               // content URL to load within an item\n            },\n            {\n                text: \"Item 4\",\n                imageUrl: \"http://www.kendoui.com/test.jpg\",    // item image URL, optional\n                expanded: true,                                 // item is rendered expanded\n                items: [{                                       // Sub item collection.\n                    text: \"Sub Item 1\"\n                },\n                {\n                    text: \"Sub Item 2\"\n                }]\n            },\n            {\n                text: \"Item 5\",\n                // item image sprite CSS class, optional\n                spriteCssClass: \"imageClass3\"\n            }\n        ]\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as the JSON representation of an object. You can pass item text, content or\ncontentUrl here. Can handle an HTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to append the new item in the PanelBar, can be omitted."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."],["header",{"level":3},"collapse"],["para","Collapses the specified item(s) of a ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // collapse the element with ID, \"item1\"\n    panelBar.collapse($(\"#item1\"));\n    // collapse the element with ID, \"item2\" without visual animations\n    panelBar.collapse($(\"#item2\"), false);\n    // collapse all list items that start with ID, \"item\"\n    panelBar.collapse($('[id^=\"item\"]'));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","The ",["strong","PanelBar"]," item(s) to be collapsed, expressed as a string containing a selector\nexpression or represented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."],["header",{"level":5},"useAnimation ",["inlinecode","Boolean"]],["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s)\nwhen collapsing items."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","PanelBar"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the PanelBar element from DOM."]],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n\n    // detach events\n    panelBar.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the specified item(s) of the\n",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // enable the item of the PanelBar with ID, \"item1\"\n    panelBar.enable($(\"#item1\"), true);\n    // disable the currently selected item of the PanelBar\n    var item = panelBar.select();\n    panelBar.enable($(\"#item2\"), false);\n    // disable all list items that start with ID, \"item\"\n    panelBar.enable($('[id^=\"item\"]'), false);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item(s) to be enabled (",["strong","true"],") or disabled (",["strong","false"],"), expressed as a\nstring containing a selector expression or represented by a\n",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The desired state - enabled (",["strong","true"],") or disabled (",["strong","false"],") - of the target\nelement(s)."],["header",{"level":3},"expand"],["para","Expands the specified item(s) of a ",["strong","PanelBar"],"."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li id=\"item2\">Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // expand the element with ID, \"item1\"\n    panelBar.expand($(\"#item1\"));\n    // expand the element with ID, \"item2\" without visual animations\n    panelBar.expand($(\"#item2\"), false);\n    // expand all list items that start with ID, \"item\"\n    panelBar.expand($('[id^=\"item\"]'));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","The ",["strong","PanelBar"]," item(s) to be expanded, expressed as a selector."],["header",{"level":5},"useAnimation ",["inlinecode","Boolean"]],["para",["em","optional, default: "]],["para","Temporarily enables (",["strong","true"],") or disables (",["strong","false"],") any visual animation(s) when expanding items."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."],["header",{"level":3},"insertAfter"],["para","Inserts a PanelBar item after the specified referenceItem"],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:first-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an HTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item after"],["header",{"level":3},"insertBefore"],["para","Inserts a PanelBar item before the specified referenceItem"],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    panelBar.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"                // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                              // Allows use of HTML for item text\n            content: \"text\"                              // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"            // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\", // Item image URL, optional.\n            expanded: true,                              // item is rendered expanded\n            items: [{                                    // Sub item collection.\n                 text: \"Sub Item 1\"\n            },\n            {\n                 text: \"Sub Item 2\"\n            }]\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"                // Item image sprite CSS class, optional.\n        }],\n        \"li:last-child\"\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","Selector"]],["para","Target item, specified as a JSON object. You can pass item text, content or contentUrl here. Can handle an\nTML string or array of such strings or JSON."],["header",{"level":5},"referenceItem ",["inlinecode","Selector"]],["para","A reference item to insert the new item before."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.PanelBar"]," Returns the PanelBar object to support chaining."],["header",{"level":3},"reload"],["para","Reloads the content of a ",["strong","PanelBar"]," from an AJAX request."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // reload the panel bar\n    panelBar.reload(\"> .k-item\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Selector"]],["para","Target element"],["header",{"level":3},"remove"],["para","Removes the specified PanelBar item(s)."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"Item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // remove Item 1\n    panelBar.remove(\"#Item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item(s) to be removed, expressed as a selector string, DOM element or a jQuery object."],["header",{"level":3},"select"],["para","Selects the specified item of the ",["strong","PanelBar"],". If this method is invoked without arguments, it\nreturns the currently selected item."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li id=\"item1\">Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // access an existing PanelBar instance\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // select the item with ID, \"item1\"\n    panelBar.select(\"#item1\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The ",["strong","PanelBar"]," item to be selected, expressed as a string containing a selector expression or\nrepresented by a ",["link",{"href":"http://api.jquery.com/category/selectors/"},"jQuery selector"],"."],["header",{"level":2},"Events"],["header",{"level":3},"activate"],["para","Triggered when an item of a PanelBar is activated."],["header",{"level":4},"Attach activate event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (HTMLElement)\n\n        // detach activate event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        activate: onActivate\n    });\n</script>"],["header",{"level":4},"Attach activate event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (HTMLElement)\n\n        // detach activate event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"activate\", onActivate);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated item of the PanelBar."],["header",{"level":3},"collapse"],["para","Triggered when an item of a PanelBar is collapsed."],["header",{"level":4},"Attach collapse event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for collapse\n    var onCollapse = function(e) {\n        // access the collapsed item via e.item (HTMLElement)\n\n        // detach collapse event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"collapse\", onCollapse);\n    };\n\n    // attach collapse event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        collapse: onCollapse\n    });\n</script>"],["header",{"level":4},"Attach collapse event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for collapse\n    var onCollapse = function(e) {\n        // access the collapsed item via e.item (HTMLElement)\n\n        // detach collapse event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"collapse\", onCollapse);\n    };\n\n    // attach collapse event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"collapse\", onCollapse);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The collapsing item of the PanelBar."],["header",{"level":3},"contentLoad"],["para","Fires when content is fetched from an AJAX request."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        contentLoad: function(e) {\n            // handle event\n        }\n    });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // bind the contentLoad event\n    panelBar.bind(\"contentLoad\", function(e) {\n        // handle event\n    });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The loaded content element"],["header",{"level":3},"error"],["para","Fires when AJAX request results in an error."],["header",{"level":4},"Example"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar({\n        error: function(e) {\n            // handle event\n        }\n    });\n</script>"],["header",{"level":4},"To set after initialization"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // get a reference to the panel bar\n    var panelBar = $(\"#panelbar\").data(\"kendoPanelBar\");\n    // bind the error ajax event\n    panelBar.bind(\"error\", function(e) {\n        // handle event\n    });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The jqXHR object used to load the content"],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The returned status."],["header",{"level":3},"expand"],["para","Triggered when an item of a PanelBar is expanded."],["header",{"level":4},"Attach expand event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for expand\n    var onExpand = function(e) {\n        // access the expanded item via e.item (HTMLElement)\n\n        // detach expand event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"expand\", onExpand);\n    };\n\n    // attach expand event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        expand: onExpand\n    });\n</script>"],["header",{"level":4},"Attach expand event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for expand\n    var onExpand = function(e) {\n        // access the expanded item via e.item (HTMLElement)\n\n        // detach expand event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"expand\", onExpand);\n    };\n\n    // attach expand event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"expand\", onExpand);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The expanding item of the PanelBar."],["header",{"level":3},"select"],["para","Triggered when an item of a PanelBar is selected."],["header",{"level":4},"Attach select event handler during initialization; detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (HTMLElement)\n\n        // detach select event handler via unbind()\n        panelBar.data(\"kendoPanelBar\").unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler during initialization\n    var panelBar = $(\"#panelbar\").kendoPanelBar({\n        select: onSelect\n    }).data(\"kendoPanelBar\");\n</script>"],["header",{"level":4},"Attach select event handler via bind(); detach via unbind()"],["code_block","<ul id=\"panelbar\">\n    <li>Item 1\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n    <li>Item 2\n        <ul>\n            <li>Sub Item 1</li>\n            <li>Sub Item 2</li>\n            <li>Sub Item 3</li>\n        </ul>\n    </li>\n</ul>\n<script>\n    $(\"#panelbar\").kendoPanelBar();\n\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (HTMLElement)\n\n        // detach select event handler via unbind()\n        $(\"#panelbar\").data(\"kendoPanelBar\").unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler via bind()\n    $(\"#panelbar\").data(\"kendoPanelBar\").bind(\"select\", onSelect);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item of the PanelBar."]]},"kendo.ui.ProgressBar":{"file":"api/web/progressbar.md","name":"kendo.ui.ProgressBar","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the progress animation. Currently only the duration of the animation could be set."]],"doc":[["para","Configures the progress animation. Currently only the duration of the animation could be set."],["header",{"level":4},"Example - specify the duration of the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: {\n      duration: 500  \n    }\n  });  \n</script>"],["header",{"level":4},"Example - disable the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: false\n  });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"default":"400","short_doc":[["para","The duration of each progress animation in milliseconds."]],"doc":[["para","The duration of each progress animation in milliseconds."],["header",{"level":4},"Example - specify the duration of the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: {\n      duration: 800  \n    }\n  });  \n</script>\t"]],"orig":"animation.duration"}]},{"name":"chunkCount","type":["Number"],"default":"5","short_doc":[["para","Specifies the number of chunks."],["blockquote",["para",["strong","Important"]," This property is applicable only when the type of the ",["strong","ProgressBar"]," is set to ",["strong","chunk"],"."]]],"doc":[["para","Specifies the number of chunks."],["blockquote",["para",["strong","Important"]," This property is applicable only when the type of the ",["strong","ProgressBar"]," is set to ",["strong","chunk"],"."]],["header",{"level":4},"Example - specify the number of chunks"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    type: \"chunk\",\n\tchunkCount: 10\n  });  \n</script>"]]},{"name":"enable","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled. It will still allow changing the value. The widget is enabled by default."]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will be disabled. It will still allow changing the value. The widget is enabled by default."],["header",{"level":4},"Example - disable the widget on initialization."],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    enable: false\n  });  \n</script>"]]},{"name":"max","type":["Number"],"default":"100","short_doc":[["para","The maximum value of the ",["strong","ProgressBar"],"."]],"doc":[["para","The maximum value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - specify the maximum value of the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    max: 10,\n    value: 5\n  });  \n</script>"]]},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the ",["strong","ProgressBar"],"."]],"doc":[["para","The minimum value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - specify the minimum value of the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10    \n    max: 50\n  });  \n</script>"]]},{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","The orientation of the ",["strong","ProgressBar"],". Possible values are ",["strong","horizontal"]," and ",["strong","vertical"],"."]],"doc":[["para","The orientation of the ",["strong","ProgressBar"],". Possible values are ",["strong","horizontal"]," and ",["strong","vertical"],"."],["header",{"level":4},"Example - specify vertical orientation for the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    orientation: \"vertical\"\n  });  \n</script>"]]},{"name":"reverse","type":["Boolean"],"default":"false","short_doc":[["para","Specifies if the progress direction will be reversed."]],"doc":[["para","Specifies if the progress direction will be reversed."],["header",{"level":4},"Example - specify reversed progress direction"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    reverse: true\n  });  \n</script>"]]},{"name":"showStatus","type":["Boolean"],"default":"true","short_doc":[["para","Specifies if the progress status will be shown."]],"doc":[["para","Specifies if the progress status will be shown."],["header",{"level":4},"Example - hide the status of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    showStatus: false\n  });  \n</script>"]]},{"name":"type","type":["String"],"default":"\"value\"","short_doc":[["para","Specifies the type of the ",["strong","ProgressBar"],". The supported types are ",["strong","value"],", ",["strong","percent"]," and ",["strong","chunk"],"."],["blockquote",["para",["strong","Important"]," The ",["strong","chunk"]," progress type is not supported in Internet Explorer 7."]]],"doc":[["para","Specifies the type of the ",["strong","ProgressBar"],". The supported types are ",["strong","value"],", ",["strong","percent"]," and ",["strong","chunk"],"."],["blockquote",["para",["strong","Important"]," The ",["strong","chunk"]," progress type is not supported in Internet Explorer 7."]],["header",{"level":4},"Example - set the type of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    type: \"percent\"\n  });  \n</script>\t"]]},{"name":"value","type":["Number"],"short_doc":[["para","The underlying value of the ",["strong","ProgressBar"],"."]],"doc":[["para","The underlying value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - set the initial ProgressBar value"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });  \n</script>"]]}],"methods":[{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","The argument, which defines whether to enable/disable the ",["strong","ProgressBar"],". If no argument is passed, the widget will be enabled."]],"doc":[["para","The argument, which defines whether to enable/disable the ",["strong","ProgressBar"],". If no argument is passed, the widget will be enabled."]]}],"short_doc":[["para","Enables/Disables the ",["strong","ProgressBar"]," widget."]],"doc":[["para","Enables/Disables the ",["strong","ProgressBar"]," widget."],["header",{"level":4},"Example - enable the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    enable: false\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.enable();\n  });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","ProgressBar"],". If no argument is passed, the widget will be enabled."]],"examples":[[["header",{"level":4},"Example - enable the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    enable: false\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.enable();\n  });\n</script>"]]]},{"name":"value","args":[{"name":"value","type":["Number"],"short_doc":[["para","The value to be set."]],"doc":[["para","The value to be set."]]}],"short_doc":[["para","Gets or sets the value of the ",["strong","ProgressBar"],". It accepts a number, a string or ",["inlinecode","false"]," as a parameter. Setting the value to ",["inlinecode","false"]," will set the state of the ",["strong","ProgressBar"]," to indeterminate. If no parameter is passed, it returns the underlying value."]],"doc":[["para","Gets or sets the value of the ",["strong","ProgressBar"],". It accepts a number, a string or ",["inlinecode","false"]," as a parameter. Setting the value to ",["inlinecode","false"]," will set the state of the ",["strong","ProgressBar"]," to indeterminate. If no parameter is passed, it returns the underlying value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","The value to be set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the value of the widget."],["header",{"level":4},"Example - getting the current ProgressBar value"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    alert(\"The current value is \" + pb.value());\n  });\n</script>"],["header",{"level":4},"Example - setting the value of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.value(20);\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example - getting the current ProgressBar value"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    alert(\"The current value is \" + pb.value());\n  });\n</script>"]],[["header",{"level":4},"Example - setting the value of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.value(20);\n  });\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","The current value of the ",["strong","ProgressBar"],"."]],"doc":[["para","The current value of the ",["strong","ProgressBar"],"."]]}],"short_doc":[["para","Fired when the value of the ",["strong","ProgressBar"]," has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ",["strong","ProgressBar"],")."]],"doc":[["para","Fired when the value of the ",["strong","ProgressBar"]," has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ",["strong","ProgressBar"],")."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","The current value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onChange(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"change\", onChange);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onChange(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"change\", onChange);\n</script>"]]],"type":["Function"]},{"name":"complete","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","The current value of the ",["strong","ProgressBar"],"."]],"doc":[["para","The current value of the ",["strong","ProgressBar"],"."]]}],"short_doc":[["para","Fired when the value of the ",["strong","ProgressBar"]," reaches the maximum value."],["blockquote",["para",["strong","Important"]," The event is not fired during the initialization of the widget, even when the initial value is equal to the maximum value."]]],"doc":[["para","Fired when the value of the ",["strong","ProgressBar"]," reaches the maximum value."],["blockquote",["para",["strong","Important"]," The event is not fired during the initialization of the widget, even when the initial value is equal to the maximum value."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","The current value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - subscribe to the \"complete\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    complete: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"complete\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onComplete(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"complete\", onComplete);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"complete\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    complete: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"complete\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onComplete(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"complete\", onComplete);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"progressStatus","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the progress status fields. This object could be empty if no progress status fields are currently existing in the DOM."]],"doc":[["para","The jQuery object which represents the progress status fields. This object could be empty if no progress status fields are currently existing in the DOM."],["header",{"level":4},"Example - set custom progress status"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      this.progressStatus.text(\"Custom status\");\n    }\n  });\n\n  $(\"#progressbar\").data(\"kendoProgressBar\").value(10);\n</script>"]]},{"name":"progressWrapper","type":["jQuery"],"short_doc":[["para","The jQuery object which represents the progress wrapper. This object could be empty if the progress has not started yet and the value is equal to the minimum value."]],"doc":[["para","The jQuery object which represents the progress wrapper. This object could be empty if the progress has not started yet and the value is equal to the minimum value."],["header",{"level":4},"Example - set custom styles to the progress wrapper"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      this.progressWrapper.css({\n        \"background-color\": \"#EE9F05\",\n        \"border-color\": \"#EE9F05\"\n      });\n    }\n  });\n\n  $(\"#progressbar\").data(\"kendoProgressBar\").value(10);\n</script>"]]}],"short_doc":[["para","Represents the Kendo UI ProgressBar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI ProgressBar widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the progress animation. Currently only the duration of the animation could be set."],["header",{"level":4},"Example - specify the duration of the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: {\n      duration: 500  \n    }\n  });  \n</script>"],["header",{"level":4},"Example - disable the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: false\n  });\n</script>"],["header",{"level":3},"animation.duration ",["inlinecode","Number"]," ",["em","(default: 400)"]],["para","The duration of each progress animation in milliseconds."],["header",{"level":4},"Example - specify the duration of the progress animation"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    animation: {\n      duration: 800  \n    }\n  });  \n</script>\t"],["header",{"level":3},"chunkCount ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","Specifies the number of chunks."],["blockquote",["para",["strong","Important"]," This property is applicable only when the type of the ",["strong","ProgressBar"]," is set to ",["strong","chunk"],"."]],["header",{"level":4},"Example - specify the number of chunks"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    type: \"chunk\",\n\tchunkCount: 10\n  });  \n</script>"],["header",{"level":3},"enable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will be disabled. It will still allow changing the value. The widget is enabled by default."],["header",{"level":4},"Example - disable the widget on initialization."],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    enable: false\n  });  \n</script>"],["header",{"level":3},"max ",["inlinecode","Number"]," ",["em","(default: 100)"]],["para","The maximum value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - specify the maximum value of the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    max: 10,\n    value: 5\n  });  \n</script>"],["header",{"level":3},"min ",["inlinecode","Number"]," ",["em","(default: 0)"]],["para","The minimum value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - specify the minimum value of the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10    \n    max: 50\n  });  \n</script>"],["header",{"level":3},"orientation ",["inlinecode","String"]," ",["em","(default: \"horizontal\")"]],["para","The orientation of the ",["strong","ProgressBar"],". Possible values are ",["strong","horizontal"]," and ",["strong","vertical"],"."],["header",{"level":4},"Example - specify vertical orientation for the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    orientation: \"vertical\"\n  });  \n</script>"],["header",{"level":3},"reverse ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies if the progress direction will be reversed."],["header",{"level":4},"Example - specify reversed progress direction"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    reverse: true\n  });  \n</script>"],["header",{"level":3},"showStatus ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies if the progress status will be shown."],["header",{"level":4},"Example - hide the status of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    showStatus: false\n  });  \n</script>"],["header",{"level":3},"type ",["inlinecode","String"]," ",["em","(default: \"value\")"]],["para","Specifies the type of the ",["strong","ProgressBar"],". The supported types are ",["strong","value"],", ",["strong","percent"]," and ",["strong","chunk"],"."],["blockquote",["para",["strong","Important"]," The ",["strong","chunk"]," progress type is not supported in Internet Explorer 7."]],["header",{"level":4},"Example - set the type of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    type: \"percent\"\n  });  \n</script>\t"],["header",{"level":3},"value ",["inlinecode","Number"]],["para","The underlying value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - set the initial ProgressBar value"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });  \n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"progressStatus ",["inlinecode","jQuery"]],["para","The jQuery object which represents the progress status fields. This object could be empty if no progress status fields are currently existing in the DOM."],["header",{"level":4},"Example - set custom progress status"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      this.progressStatus.text(\"Custom status\");\n    }\n  });\n\n  $(\"#progressbar\").data(\"kendoProgressBar\").value(10);\n</script>"],["header",{"level":3},"progressWrapper ",["inlinecode","jQuery"]],["para","The jQuery object which represents the progress wrapper. This object could be empty if the progress has not started yet and the value is equal to the minimum value."],["header",{"level":4},"Example - set custom styles to the progress wrapper"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      this.progressWrapper.css({\n        \"background-color\": \"#EE9F05\",\n        \"border-color\": \"#EE9F05\"\n      });\n    }\n  });\n\n  $(\"#progressbar\").data(\"kendoProgressBar\").value(10);\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"enable"],["para","Enables/Disables the ",["strong","ProgressBar"]," widget."],["header",{"level":4},"Example - enable the widget"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    enable: false\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.enable();\n  });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","ProgressBar"],". If no argument is passed, the widget will be enabled."],["header",{"level":3},"value"],["para","Gets or sets the value of the ",["strong","ProgressBar"],". It accepts a number, a string or ",["inlinecode","false"]," as a parameter. Setting the value to ",["inlinecode","false"]," will set the state of the ",["strong","ProgressBar"]," to indeterminate. If no parameter is passed, it returns the underlying value."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","The value to be set."],["header",{"level":4},"Returns"],["para",["inlinecode","Number"]," the value of the widget."],["header",{"level":4},"Example - getting the current ProgressBar value"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    alert(\"The current value is \" + pb.value());\n  });\n</script>"],["header",{"level":4},"Example - setting the value of the ProgressBar"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    min: 10,\n    max: 20,\n    value: 15\n  });\n\n  $(function() {\n    var pb = $(\"#progressbar\").data(\"kendoProgressBar\");\n    pb.value(20);\n  });\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fired when the value of the ",["strong","ProgressBar"]," has changed. If the progress animation is enabled, the event will be fired after the animation has completed (does not applies to chunk ",["strong","ProgressBar"],")."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","The current value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    change: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onChange(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"change\", onChange);\n</script>"],["header",{"level":3},"complete"],["para","Fired when the value of the ",["strong","ProgressBar"]," reaches the maximum value."],["blockquote",["para",["strong","Important"]," The event is not fired during the initialization of the widget, even when the initial value is equal to the maximum value."]],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","The current value of the ",["strong","ProgressBar"],"."],["header",{"level":4},"Example - subscribe to the \"complete\" event during initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  $(\"#progressbar\").kendoProgressBar({\n    complete: function(e) {\n      console.log(\"Value is \" + e.value);\n    }\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"complete\" event after initialization"],["code_block","<div id=\"progressbar\"></div>\n<script>\n  function onComplete(e) {\n    console.log(\"Value is \" + e.value);\n  }\n\n  $(\"#progressbar\").kendoProgressBar();\n\n  var progressbar = $(\"#progressbar\").data(\"kendoProgressBar\");\n  progressbar.bind(\"complete\", onComplete);\n</script>"]]},"kendo.ui.RangeSlider":{"file":"api/web/rangeslider.md","name":"kendo.ui.RangeSlider","config":[{"name":"largeStep","type":["Number"],"default":"5","short_doc":[["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."]],"doc":[["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."]]},{"name":"max","type":["Number"],"default":"10","short_doc":[["para","The maximum value of the ",["strong","RangeSlider"],"."]],"doc":[["para","The maximum value of the ",["strong","RangeSlider"],"."]]},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the ",["strong","RangeSlider"],"."]],"doc":[["para","The minimum value of the ",["strong","RangeSlider"],"."]]},{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","F\nThe orientation of a ",["strong","RangeSlider"],"; ",["strong","\"horizontal\""]," or\n",["strong","\"vertical\""],"."]],"doc":[["para","F\nThe orientation of a ",["strong","RangeSlider"],"; ",["strong","\"horizontal\""]," or\n",["strong","\"vertical\""],"."]]},{"name":"selectionEnd","type":["Number"],"short_doc":[["para","The selection end value of the ",["strong","RangeSlider"],"."]],"doc":[["para","The selection end value of the ",["strong","RangeSlider"],"."]]},{"name":"selectionStart","type":["Number"],"short_doc":[["para","The selection start value of the ",["strong","RangeSlider"],"."]],"doc":[["para","The selection start value of the ",["strong","RangeSlider"],"."]]},{"name":"smallStep","type":["Number"],"default":"1","short_doc":[["para","The small step value of the ",["strong","RangeSlider"],". The underlying value will be changed when the end\nuser (1) clicks on the increase or decrease buttons of the ",["strong","RangeSlider"],", (2) presses the\narrow keys (the drag handle must be focused), or (3) drags the drag handle."]],"doc":[["para","The small step value of the ",["strong","RangeSlider"],". The underlying value will be changed when the end\nuser (1) clicks on the increase or decrease buttons of the ",["strong","RangeSlider"],", (2) presses the\narrow keys (the drag handle must be focused), or (3) drags the drag handle."]]},{"name":"tickPlacement","type":["String"],"default":"\"both\"","short_doc":[["para","Denotes the location of the tick marks in the ",["strong","RangeSlider"],". The available options are:"]],"doc":[["para","Denotes the location of the tick marks in the ",["strong","RangeSlider"],". The available options are:"],["header",{"level":4},["em","\"topLeft\""]],["para","Tick marks are located on the top of the horizontal widget or on the left of\n  the vertical widget."],["header",{"level":4},["em","\"bottomRight\""]],["para","Tick marks are located on the bottom of the horizontal widget or on the\n  right side of the vertical widget."],["header",{"level":4},["em","\"both\""]],["para","Tick marks are located on both sides of the widget."],["header",{"level":4},["em","\"none\""]],["para","Tick marks are not visible."]]},{"name":"tooltip","type":["Object"],"short_doc":[["para","Configuration of the ",["strong","RangeSlider"]," tooltip."]],"doc":[["para","Configuration of the ",["strong","RangeSlider"]," tooltip."]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","Template of the tooltip."],["bulletlist",["listitem",["strong","selectionStart"]," - the current selectionStart."],["listitem",["strong","selectionEnd"]," - the current selectionEnd."]]],"doc":[["para","Template of the tooltip."],["bulletlist",["listitem",["strong","selectionStart"]," - the current selectionStart."],["listitem",["strong","selectionEnd"]," - the current selectionEnd."]]],"orig":"tooltip.template"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","Format string for the text of the tooltip. Note: The applied format will also influence the appearance of\nthe ",["strong","RangeSlider"]," tick labels."]],"doc":[["para","Format string for the text of the tooltip. Note: The applied format will also influence the appearance of\nthe ",["strong","RangeSlider"]," tick labels."]],"orig":"tooltip.format"},{"name":"enabled","type":["Boolean"],"default":"true","short_doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of the ",["strong","RangeSlider"],"."]],"doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of the ",["strong","RangeSlider"],"."]],"orig":"tooltip.enabled"}]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","RangeSlider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the ",["strong","RangeSlider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#rangeSlider\").data(\"kendoRangeSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#rangeSlider\").closest(\".k-slider\").remove();"]],"examples":[[["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#rangeSlider\").data(\"kendoRangeSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#rangeSlider\").closest(\".k-slider\").remove();"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","The argument, which defines whether to enable/disable the ",["strong","RangeSlider"],"."]],"doc":[["para","The argument, which defines whether to enable/disable the ",["strong","RangeSlider"],"."]]}],"short_doc":[["para","Enable/Disable the ",["strong","RangeSlider"]," widget."]],"doc":[["para","Enable/Disable the ",["strong","RangeSlider"]," widget."],["header",{"level":4},"Example"],["code_block","// get a reference to the range slider widget\nvar rangeSlider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\n\n// disables the range slider\nrangeSlider.enable(false);\n\n// enables the range slider\nrangeSlider.enable(true);"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","RangeSlider"],"."]],"examples":[[["header",{"level":4},"Example"],["code_block","// get a reference to the range slider widget\nvar rangeSlider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\n\n// disables the range slider\nrangeSlider.enable(false);\n\n// enables the range slider\nrangeSlider.enable(true);"]]]},{"name":"value","args":[{"name":"value","type":["Number"],"short_doc":[["para","The new value of the RangeSlider."]],"doc":[["para","The new value of the RangeSlider."]]}],"short_doc":[["para","The value method gets or sets the start and end values of the ",["strong","RangeSlider"],". It\naccepts an array as parameter, and returns an object array with the start and end\nselection values."]],"doc":[["para","The value method gets or sets the start and end values of the ",["strong","RangeSlider"],". It\naccepts an array as parameter, and returns an object array with the start and end\nselection values."],["header",{"level":4},"Example"],["code_block","var rangeSider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\nrangeSlider.value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","The new value of the RangeSlider."]],"examples":[[["header",{"level":4},"Example"],["code_block","var rangeSider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\nrangeSlider.value();"]]]}],"events":[{"name":"change","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","Represents the updated array of values of the first and second drag handle."]],"doc":[["para","Represents the updated array of values of the first and second drag handle."]]}],"short_doc":[["para","Fires when the rangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard."]],"doc":[["para","Fires when the rangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the updated array of values of the first and second drag handle."]],"examples":[],"type":["Function"]},{"name":"slide","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","Represents an array of values of the current positions of the first and second drag handle."]],"doc":[["para","Represents an array of values of the current positions of the first and second drag handle."]]}],"short_doc":[["para","Fires when the user drags the drag handle to a new position."]],"doc":[["para","Fires when the user drags the drag handle to a new position."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents an array of values of the current positions of the first and second drag handle."]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI RangeSlider widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI RangeSlider widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"largeStep ",["inlinecode","Number"],["em","(default: 5)"]],["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."],["header",{"level":3},"max ",["inlinecode","Number"],["em","(default: 10)"]],["para","The maximum value of the ",["strong","RangeSlider"],"."],["header",{"level":3},"min ",["inlinecode","Number"],["em","(default: 0)"]],["para","The minimum value of the ",["strong","RangeSlider"],"."],["header",{"level":3},"orientation ",["inlinecode","String"],["em","(default: \"horizontal\")"]],["para","F\nThe orientation of a ",["strong","RangeSlider"],"; ",["strong","\"horizontal\""]," or\n",["strong","\"vertical\""],"."],["header",{"level":3},"selectionEnd ",["inlinecode","Number"]],["para","The selection end value of the ",["strong","RangeSlider"],"."],["header",{"level":3},"selectionStart ",["inlinecode","Number"]],["para","The selection start value of the ",["strong","RangeSlider"],"."],["header",{"level":3},"smallStep ",["inlinecode","Number"],["em","(default: 1)"]],["para","The small step value of the ",["strong","RangeSlider"],". The underlying value will be changed when the end\nuser (1) clicks on the increase or decrease buttons of the ",["strong","RangeSlider"],", (2) presses the\narrow keys (the drag handle must be focused), or (3) drags the drag handle."],["header",{"level":3},"tickPlacement ",["inlinecode","String"],["em","(default: \"both\")"]],["para","Denotes the location of the tick marks in the ",["strong","RangeSlider"],". The available options are:"],["header",{"level":4},["em","\"topLeft\""]],["para","Tick marks are located on the top of the horizontal widget or on the left of\n  the vertical widget."],["header",{"level":4},["em","\"bottomRight\""]],["para","Tick marks are located on the bottom of the horizontal widget or on the\n  right side of the vertical widget."],["header",{"level":4},["em","\"both\""]],["para","Tick marks are located on both sides of the widget."],["header",{"level":4},["em","\"none\""]],["para","Tick marks are not visible."],["header",{"level":3},"tooltip ",["inlinecode","Object"]],["para","Configuration of the ",["strong","RangeSlider"]," tooltip."],["header",{"level":3},"tooltip.enabled ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of the ",["strong","RangeSlider"],"."],["header",{"level":3},"tooltip.format ",["inlinecode","String"],["em","(default: \"{0}\")"]],["para","Format string for the text of the tooltip. Note: The applied format will also influence the appearance of\nthe ",["strong","RangeSlider"]," tick labels."],["header",{"level":3},"tooltip.template ",["inlinecode","String"]],["para","Template of the tooltip."],["bulletlist",["listitem",["strong","selectionStart"]," - the current selectionStart."],["listitem",["strong","selectionEnd"]," - the current selectionEnd."]],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","RangeSlider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#rangeSlider\").data(\"kendoRangeSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#rangeSlider\").closest(\".k-slider\").remove();"],["header",{"level":3},"enable"],["para","Enable/Disable the ",["strong","RangeSlider"]," widget."],["header",{"level":4},"Example"],["code_block","// get a reference to the range slider widget\nvar rangeSlider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\n\n// disables the range slider\nrangeSlider.enable(false);\n\n// enables the range slider\nrangeSlider.enable(true);"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","RangeSlider"],"."],["header",{"level":3},"value"],["para","The value method gets or sets the start and end values of the ",["strong","RangeSlider"],". It\naccepts an array as parameter, and returns an object array with the start and end\nselection values."],["header",{"level":4},"Example"],["code_block","var rangeSider = $(\"#rangeSlider\").data(\"kendoRangeSlider\");\nrangeSlider.value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Number"]],["para","The new value of the RangeSlider."],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the rangeSlider value changes as a result of selecting a new value with one of the drag handles or the keyboard."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the updated array of values of the first and second drag handle."],["header",{"level":3},"slide"],["para","Fires when the user drags the drag handle to a new position."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents an array of values of the current positions of the first and second drag handle."]]},"kendo.ui.Scheduler":{"file":"api/web/scheduler.md","name":"kendo.ui.Scheduler","config":[{"name":"allDayEventTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the all day event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  allDayEventTemplate: $(\"#event-template\").html(),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      isAllDay: true,\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"]]},{"name":"allDaySlot","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."],["header",{"level":4},"Example - hide the all day slot"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  allDaySlot: false,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  autoBind: false,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.SchedulerDataSource"],"short_doc":[["para","The data source of the widget which contains the scheduler events. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["blockquote",["para","The Kendo UI Scheduler widget can be bound ",["em","only"]," to a ",["inlinecode","kendo.data.SchedulerDataSource"],". An exception will be thrown if the ",["inlinecode","dataSource"]," option is set to a ",["inlinecode","kendo.data.DataSource"]," instance."]]],"doc":[["para","The data source of the widget which contains the scheduler events. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["blockquote",["para","The Kendo UI Scheduler widget can be bound ",["em","only"]," to a ",["inlinecode","kendo.data.SchedulerDataSource"],". An exception will be thrown if the ",["inlinecode","dataSource"]," option is set to a ",["inlinecode","kendo.data.DataSource"]," instance."]],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: {\n    batch: true,\n    transport: {\n      read: {\n        url: \"http://demos.kendoui.com/service/tasks\",\n        dataType: \"jsonp\"\n      },\n      update: {\n        url: \"http://demos.kendoui.com/service/tasks/update\",\n        dataType: \"jsonp\"\n      },\n      create: {\n        url: \"http://demos.kendoui.com/service/tasks/create\",\n        dataType: \"jsonp\"\n      },\n      destroy: {\n        url: \"http://demos.kendoui.com/service/tasks/destroy\",\n        dataType: \"jsonp\"\n      },\n      parameterMap: function(options, operation) {\n        if (operation !== \"read\" && options.models) {\n          return {models: kendo.stringify(options.models)};\n        }\n      }\n    },\n    schema: {\n       model: {\n         id: \"ID\",\n         fields: {\n           ID: { type: \"number\" },\n           title: { field: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n           start: { type: \"date\", field: \"Start\" },\n           end: { type: \"date\", field: \"End\" },\n           description: { field: \"Description\" },\n           recurrenceId: { from: \"RecurrenceID\" },\n           recurrenceRule: { from: \"RecurrenceRule\" },\n           recurrenceException: { from: \"RecurrenceException\" },\n           ownerId: { field: \"OwnerID\", defaultValue: 1 },\n           isAllDay: { type: \"boolean\", field: \"IsAllDay\" }\n         }\n       }\n     }\n  }\n});"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.SchedulerDataSource instance"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar dataSource = new kendo.data.SchedulerDataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/tasks\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: dataSource\n});\n</script>"]]},{"name":"date","type":["Date"],"short_doc":[["para","The current date of the scheduler. Used to determine the period which is displayed by the widget."]],"doc":[["para","The current date of the scheduler. Used to determine the period which is displayed by the widget."],["header",{"level":4},"Example - set the date of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ]\n});\n</script>"]]},{"name":"dateHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dateHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'd')#</strong>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"editable","type":["Boolean","Object"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."]],"doc":[["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."],["header",{"level":4},"Example - disable editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  editable: false\n});\n</script>"]],"sub":[{"name":"update","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."],["header",{"level":4},"Example - disable event updating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    update: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"editable.update"},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]],["header",{"level":4},"Example - customize the popup editor"],["code_block","<script id=\"editor\" type=\"text/x-kendo-template\">\n   <h3>Edit meeting</h3>\n   <p>\n       <label>Title: <input name=\"title\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" name=\"start\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" name=\"end\" /></label>\n   </p>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    template: $(\"#editor\").html()\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - using MVVM in the popup editor template"],["code_block","<script id=\"editor\" type=\"text/x-kendo-template\">\n   <h3>Edit meeting</h3>\n   <p>\n       <label>Title: <input data-bind=\"value: title\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" data-bind=\"value: start\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" data-bind=\"value: end\" /></label>\n   </p>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    template: $(\"#editor\").html()\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"editable.template"},{"name":"resize","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler allows event resizing. Dragging the resize handles changes the start or end time of the event."]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler allows event resizing. Dragging the resize handles changes the start or end time of the event."],["header",{"level":4},"Example - disable event resizing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  editable: {\n    resize: false\n  }\n});\n</script>"]],"orig":"editable.resize"},{"name":"destroy","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."],["header",{"level":4},"Example - disable event deleting"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    destroy: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"editable.destroy"},{"name":"create","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."],["header",{"level":4},"Example - disable event creating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    create: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"editable.create"},{"name":"confirmation","type":["Boolean","String"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a confirmation dialog when the user clicks the \"destroy\" button."],["para","Can be set to a string which will be used as the confirmation text."]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a confirmation dialog when the user clicks the \"destroy\" button."],["para","Can be set to a string which will be used as the confirmation text."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    confirmation: false\n  },\n  views: [\n    {\n      type: \"day\"\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set delete confirmation text"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    confirmation: \"Are you sure you want to delete this meeting?\"\n  },\n  views: [\n    {\n      type: \"day\"\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"editable.confirmation"}]},{"name":"endTime","type":["Date"],"short_doc":[["para","The end time of the week and day views. The scheduler will display events ending before the ",["inlinecode","endTime"],"."]],"doc":[["para","The end time of the week and day views. The scheduler will display events ending before the ",["inlinecode","endTime"],"."],["header",{"level":4},"Example - set the end time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  startTime: new Date(\"2013/6/6 08:00\"),\n  endTime: new Date(\"2013/6/6 18:00\")\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"eventTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  eventTemplate: $(\"#event-template\").html(),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"],["para","\r"]]},{"name":"footer","type":["Boolean","Object"],"short_doc":[["para","If set to ",["inlinecode","false"]," the footer of the scheduler would not be displayed."]],"doc":[["para","If set to ",["inlinecode","false"]," the footer of the scheduler would not be displayed."],["header",{"level":4},"Example - disable footer"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  footer: false\n});\n</script>"],["para","\r"]],"sub":[{"name":"command","type":["String","Boolean"],"default":"\"workDay\"","short_doc":[["para","Sets the command which will be displayed in the scheduler footer. Currently only \"workDay\" option is supported. If the option is set  to false, the \"workDay\" button will be removed from the footer."]],"doc":[["para","Sets the command which will be displayed in the scheduler footer. Currently only \"workDay\" option is supported. If the option is set  to false, the \"workDay\" button will be removed from the footer."],["header",{"level":4},"Example - disable workDay command in the footer"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  footer: {\n    command: false\n  }\n});\n</script>"]],"orig":"footer.command"}]},{"name":"group","type":["Object"],"short_doc":[["para","The configuration of the scheduler resource(s) grouping."]],"doc":[["para","The configuration of the scheduler resource(s) grouping."]],"sub":[{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."]],"doc":[["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  group: {\n    resources: [\"Rooms\"],\n    orientation: \"vertical\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"group.orientation"},{"name":"resources","type":["Array"],"short_doc":[["para","An array of resource names by which the scheduler events will be grouped."]],"doc":[["para","An array of resource names by which the scheduler events will be grouped."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  group: {\n    resources: [\"Rooms\"]\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"group.resources"}]},{"name":"height","type":["Number","String"],"short_doc":[["para","The height of the widget. Numeric values are treated as pixels."]],"doc":[["para","The height of the widget. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the height of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  height: 500,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"majorTick","type":["Number"],"default":"60","short_doc":[["para","The number of minutes represented by a major tick."]],"doc":[["para","The number of minutes represented by a major tick."],["header",{"level":4},"Example - set the major tick"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  majorTick: 120, // a major tick represents 120 minutes (2 hours)\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"majorTimeHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the major time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  majorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'h')#</strong><sup>00</sup>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"max","type":["Date"],"default":"31/12/2099","short_doc":[["para","Constraints the maximum date which can be selected via the scheduler navigation."]],"doc":[["para","Constraints the maximum date which can be selected via the scheduler navigation."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  max: new Date(\"2013/7/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages."]],"doc":[["para","The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages."]],"sub":[{"name":"views","type":["Object"],"short_doc":[["para","The configuration of the scheduler views messages. Use this option to customize or localize the scheduler views messages."]],"doc":[["para","The configuration of the scheduler views messages. Use this option to customize or localize the scheduler views messages."]],"sub":[{"name":"agenda","type":["String"],"short_doc":[["para","The text similar to \"Agenda\" displayed as scheduler \"agenda\" view title."]],"doc":[["para","The text similar to \"Agenda\" displayed as scheduler \"agenda\" view title."],["header",{"level":4},"Example - set the \"agenda\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        agenda: \"Events list\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"messages.views.agenda"},{"name":"month","type":["String"],"short_doc":[["para","The text similar to \"Month\" displayed as scheduler \"month\" view title."]],"doc":[["para","The text similar to \"Month\" displayed as scheduler \"month\" view title."],["header",{"level":4},"Example - set the \"month\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        month: \"Monthly\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.views.month"},{"name":"week","type":["String"],"short_doc":[["para","The text similar to \"Week\" displayed as scheduler \"week\" view title."]],"doc":[["para","The text similar to \"Week\" displayed as scheduler \"week\" view title."],["header",{"level":4},"Example - set the \"week\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        week: \"Weekly\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.views.week"},{"name":"day","type":["String"],"short_doc":[["para","The text similar to \"Day\" displayed as scheduler \"day\" view title."]],"doc":[["para","The text similar to \"Day\" displayed as scheduler \"day\" view title."],["header",{"level":4},"Example - set the \"day\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        day: \"Today\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.views.day"}],"orig":"messages.views"},{"name":"recurrenceMessages","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence messages. Use this option to customize or localize the scheduler recurrence messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence messages. Use this option to customize or localize the scheduler recurrence messages.\r"]],"sub":[{"name":"editWindowTitle","type":["String"],"short_doc":[["para","The text similar to \"Edit Recurring Item\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Edit Recurring Item\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowTitle: \"Edit Recurring Event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.editWindowTitle"},{"name":"editWindowSeries","type":["String"],"short_doc":[["para","The text similar to \"Edit the series\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Edit the series\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowSeries\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowSeries: \"Edit all occurrences\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.editWindowSeries"},{"name":"editWindowOccurrence","type":["String"],"short_doc":[["para","The text similar to \"Edit current occurrence\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Edit current occurrence\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowOccurrence\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowOccurrence: \"Edit current event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.editWindowOccurrence"},{"name":"editRecurring","type":["String"],"short_doc":[["para","The text similar to \"Do you want to edit only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Do you want to edit only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editRecurring\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editRecurring: \"Do you want to edit only this event or the whole series?\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.editRecurring"},{"name":"deleteWindowTitle","type":["String"],"short_doc":[["para","The text similar to \"Delete Recurring Item\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Delete Recurring Item\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowTitle: \"Delete Recurring event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.deleteWindowTitle"},{"name":"deleteWindowSeries","type":["String"],"short_doc":[["para","The text similar to \"Delete the series\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Delete the series\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowSeries\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowSeries: \"Delete all occurrences\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.deleteWindowSeries"},{"name":"deleteWindowOccurrence","type":["String"],"short_doc":[["para","The text similar to \"Delete current occurrence\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Delete current occurrence\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowOccurrence\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowOccurrence: \"Delete current event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.deleteWindowOccurrence"},{"name":"deleteRecurring","type":["String"],"short_doc":[["para","The text similar to \"Do you want to delete only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Do you want to delete only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteRecurring\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteRecurring: \"Delete only this event occurrence or the whole series?\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceMessages.deleteRecurring"}],"orig":"messages.recurrenceMessages"},{"name":"recurrenceEditor","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor messages. Use this option to customize or localize the scheduler recurrence editor messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor messages. Use this option to customize or localize the scheduler recurrence editor messages.\r"]],"sub":[{"name":"yearly","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor yearly messages. Use this option to customize or localize the scheduler recurrence editor yearly messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor yearly messages. Use this option to customize or localize the scheduler recurrence editor yearly messages.\r"]],"sub":[{"name":"interval","type":["String"],"short_doc":[["para","The text similar to \" year(s)\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" year(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                interval: \" year(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.yearly.interval"},{"name":"repeatOn","type":["String"],"short_doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.yearly.repeatOn"},{"name":"repeatEvery","type":["String"],"short_doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.yearly.repeatEvery"},{"name":"of","type":["String"],"short_doc":[["para","The text similar to \" of \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" of \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"of\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                of: \" of \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.yearly.of"}],"orig":"messages.recurrenceEditor.yearly"},{"name":"weekdays","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor week days messages. Use these options to customize or localize the scheduler recurrence editor weekdays messages."]],"doc":[["para","The configuration of the scheduler recurrence editor week days messages. Use these options to customize or localize the scheduler recurrence editor weekdays messages."]],"sub":[{"name":"weekend","type":["String"],"short_doc":[["para","The text similar to \"weekend\" displayed in the repeat by section of the monthly recurrence pattern."]],"doc":[["para","The text similar to \"weekend\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"weekend\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                weekend: \"Week day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"]],"orig":"messages.recurrenceEditor.weekdays.weekend"},{"name":"weekday","type":["String"],"short_doc":[["para","The text similar to \"weekday\" displayed in the repeat by section of the monthly recurrence pattern."]],"doc":[["para","The text similar to \"weekday\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"weekday\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                weekday: \"Week day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"]],"orig":"messages.recurrenceEditor.weekdays.weekday"},{"name":"day","type":["String"],"short_doc":[["para","The text similar to \"day\" displayed in the repeat by section of the monthly recurrence pattern."]],"doc":[["para","The text similar to \"day\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"day\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                day: \"Day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"]],"orig":"messages.recurrenceEditor.weekdays.day"}],"orig":"messages.recurrenceEditor.weekdays"},{"name":"weekly","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor weekly messages. Use this option to customize or localize the scheduler recurrence editor weekly messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor weekly messages. Use this option to customize or localize the scheduler recurrence editor weekly messages.\r"]],"sub":[{"name":"repeatOn","type":["String"],"short_doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.weekly.repeatOn"},{"name":"repeatEvery","type":["String"],"short_doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.weekly.repeatEvery"},{"name":"interval","type":["String"],"short_doc":[["para","The text similar to \" week(s)\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" week(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                interval: \" week(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.weekly.interval"}],"orig":"messages.recurrenceEditor.weekly"},{"name":"offsetPositions","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor offsetPositions messages. Use this option to customize or localize the scheduler recurrence editor offsetPositions messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor offsetPositions messages. Use this option to customize or localize the scheduler recurrence editor offsetPositions messages.\r"]],"sub":[{"name":"last","type":["String"],"short_doc":[["para","The text similar to \"last\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"last\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"last\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                last: \"last\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.offsetPositions.last"},{"name":"fourth","type":["String"],"short_doc":[["para","The text similar to \"fourth\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"fourth\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"fourth\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                fourth: \"fourth\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.offsetPositions.fourth"},{"name":"third","type":["String"],"short_doc":[["para","The text similar to \"third\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"third\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"third\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                third: \"third\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.offsetPositions.third"},{"name":"second","type":["String"],"short_doc":[["para","The text similar to \"second\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"second\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"second\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                second: \"second\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.offsetPositions.second"},{"name":"first","type":["String"],"short_doc":[["para","The text similar to \"first\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"first\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"first\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                first: \"first\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.offsetPositions.first"}],"orig":"messages.recurrenceEditor.offsetPositions"},{"name":"monthly","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor monthly messages. Use this option to customize or localize the scheduler recurrence editor monthly messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor monthly messages. Use this option to customize or localize the scheduler recurrence editor monthly messages.\r"]],"sub":[{"name":"repeatOn","type":["String"],"short_doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.monthly.repeatOn"},{"name":"repeatEvery","type":["String"],"short_doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.monthly.repeatEvery"},{"name":"interval","type":["String"],"short_doc":[["para","The text similar to \" month(s)\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" month(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                interval: \" month(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.monthly.interval"},{"name":"day","type":["String"],"short_doc":[["para","The text similar to \"Day \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Day \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"day\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                day: \"day \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.monthly.day"}],"orig":"messages.recurrenceEditor.monthly"},{"name":"frequencies","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor frequencies messages. Use this option to customize or localize the scheduler recurrence editor frequencies messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor frequencies messages. Use this option to customize or localize the scheduler recurrence editor frequencies messages.\r"]],"sub":[{"name":"yearly","type":["String"],"short_doc":[["para","The text similar to \"Yearly\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Yearly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"yearly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                yearly: \"yearly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.frequencies.yearly"},{"name":"weekly","type":["String"],"short_doc":[["para","The text similar to \"Weekly\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Weekly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"weekly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                weekly: \"weekly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.frequencies.weekly"},{"name":"never","type":["String"],"short_doc":[["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"never\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                never: \"never\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.frequencies.never"},{"name":"monthly","type":["String"],"short_doc":[["para","The text similar to \"Monthly\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Monthly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"monthly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                monthly: \"monthly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.frequencies.monthly"},{"name":"daily","type":["String"],"short_doc":[["para","The text similar to \"Daily\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Daily\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"daily\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                daily: \"daily\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.frequencies.daily"}],"orig":"messages.recurrenceEditor.frequencies"},{"name":"end","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor end messages. Use this option to customize or localize the scheduler recurrence editor end messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor end messages. Use this option to customize or localize the scheduler recurrence editor end messages.\r"]],"sub":[{"name":"on","type":["String"],"short_doc":[["para","The text similar to \"On \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"On \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"on\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                on: \"on \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.end.on"},{"name":"never","type":["String"],"short_doc":[["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"never\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                never: \"never\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.end.never"},{"name":"label","type":["String"],"short_doc":[["para","The text similar to \"End:\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"End:\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"label\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                label: \"end: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.end.label"},{"name":"occurrence","type":["String"],"short_doc":[["para","The text similar to \" occurrence(s)\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" occurrence(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"occurrence\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                occurrence: \" occurrence(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.end.occurrence"},{"name":"after","type":["String"],"short_doc":[["para","The text similar to \"After \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"After \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"after\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                after: \"after \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.end.after"}],"orig":"messages.recurrenceEditor.end"},{"name":"daily","type":["Object"],"short_doc":[["para","The configuration of the scheduler recurrence editor daily messages. Use this option to customize or localize the scheduler recurrence editor daily messages.\r"]],"doc":[["para","The configuration of the scheduler recurrence editor daily messages. Use this option to customize or localize the scheduler recurrence editor daily messages.\r"]],"sub":[{"name":"repeatEvery","type":["String"],"short_doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            daily: {\r\n                repeatEvery: \"Repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.daily.repeatEvery"},{"name":"interval","type":["String"],"short_doc":[["para","The text similar to \" day(s)\" displayed in the scheduler recurrence editor.\r"]],"doc":[["para","The text similar to \" day(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            daily: {\r\n                interval: \" days(s)\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.recurrenceEditor.daily.interval"}],"orig":"messages.recurrenceEditor.daily"}],"orig":"messages.recurrenceEditor"},{"name":"editor","type":["Object"],"short_doc":[["para","The configuration of the scheduler editor messages. Use this option to customize or localize the scheduler editor messages.\r"]],"doc":[["para","The configuration of the scheduler editor messages. Use this option to customize or localize the scheduler editor messages.\r"]],"sub":[{"name":"title","type":["String"],"short_doc":[["para","The text similar to \"Title of the event\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Title of the event\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"title\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            title: \"Title of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.title"},{"name":"timezoneEditorTitle","type":["String"],"short_doc":[["para","The text similar to \"Timezones\" displayed as title of timezone editor in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Timezones\" displayed as title of timezone editor in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezoneEditorTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezoneEditorTitle: \"Timezones\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.timezoneEditorTitle"},{"name":"timezoneEditorButton","type":["String"],"short_doc":[["para","The text similar to \"Time zone\" displayed as text of timezone editor button in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Time zone\" displayed as text of timezone editor button in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezoneEditorButton\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezoneEditorButton: \"Time zone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.timezoneEditorButton"},{"name":"timezone","type":["String"],"short_doc":[["para","The text similar to \"Timezone\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezone: \"Event timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.timezone"},{"name":"startTimezone","type":["String"],"short_doc":[["para","The text similar to \"Start timezone\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Start timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"startTimezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            startTimezone: \"Start date timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.startTimezone"},{"name":"start","type":["String"],"short_doc":[["para","The text similar to \"Start\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Start\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"start\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            start: \"Start of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.start"},{"name":"separateTimezones","type":["String"],"short_doc":[["para","The text similar to \"Use separate start and end time zones\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Use separate start and end time zones\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"separateTimezones\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            separateTimezones: \"Set different start and end time zones\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.separateTimezones"},{"name":"repeat","type":["String"],"short_doc":[["para","The text similar to \"Repeat\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Repeat\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"repeat\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            repeat: \"Repeat the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.repeat"},{"name":"endTimezone","type":["String"],"short_doc":[["para","The text similar to \"End timezone\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"End timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"endTimezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            endTimezone: \"End date timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.endTimezone"},{"name":"end","type":["String"],"short_doc":[["para","The text similar to \"End\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"End\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"end\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            end: \"End of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.end"},{"name":"editorTitle","type":["String"],"short_doc":[["para","The text similar to \"Event\" displayed as title of the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Event\" displayed as title of the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editorTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            editorTitle: \"Edit event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.editorTitle"},{"name":"description","type":["String"],"short_doc":[["para","The text similar to \"Description\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"Description\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"description\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            description: \"Message\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.description"},{"name":"allDayEvent","type":["String"],"short_doc":[["para","The text similar to \"All day event\" displayed in the scheduler event editor.\r"]],"doc":[["para","The text similar to \"All day event\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"allDayEvent\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            allDayEvent: \"Full day\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.editor.allDayEvent"}],"orig":"messages.editor"},{"name":"today","type":["String"],"short_doc":[["para","The text similar to \"Today\" displayed in scheduler."]],"doc":[["para","The text similar to \"Today\" displayed in scheduler."],["header",{"level":4},"Example - set the \"today\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    today: \"Current Date\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.today"},{"name":"time","type":["String"],"short_doc":[["para","The text similar to \"Time\" displayed in scheduler."]],"doc":[["para","The text similar to \"Time\" displayed in scheduler."],["header",{"level":4},"Example - set the \"time\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    time: \"Time of the day\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.time"},{"name":"showWorkDay","type":["String"],"short_doc":[["para","The text similar to \"Show business hours\" used in scheduler \"showWorkDay\" button.\r"]],"doc":[["para","The text similar to \"Show business hours\" used in scheduler \"showWorkDay\" button.\r"],["header",{"level":4},"Example - set the \"showWorkDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        showWorkDay: \"Show work hours\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.showWorkDay"},{"name":"showFullDay","type":["String"],"short_doc":[["para","The text similar to \"Show full day\" used in scheduler \"showFullDay\" button.\r"]],"doc":[["para","The text similar to \"Show full day\" used in scheduler \"showFullDay\" button.\r"],["header",{"level":4},"Example - set the \"showFullDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        showFullDay: \"Show 24h\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.showFullDay"},{"name":"save","type":["String"],"short_doc":[["para","The text similar to \"Save\" displayed in scheduler."]],"doc":[["para","The text similar to \"Save\" displayed in scheduler."],["header",{"level":4},"Example - set the \"save\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    save: \"Update\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.save"},{"name":"event","type":["String"],"short_doc":[["para","The text similar to \"Event\" displayed in scheduler."]],"doc":[["para","The text similar to \"Event\" displayed in scheduler."],["header",{"level":4},"Example - set the \"event\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    event: \"Meeting\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.event"},{"name":"destroy","type":["String"],"short_doc":[["para","The text similar to \"Delete\" displayed in scheduler."]],"doc":[["para","The text similar to \"Delete\" displayed in scheduler."],["header",{"level":4},"Example - set the \"destroy\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    destroy: \"Destroy\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.destroy"},{"name":"deleteWindowTitle","type":["String"],"short_doc":[["para","The text similar to \"Delete event\" displayed as title of the scheduler delete event window.\r"]],"doc":[["para","The text similar to \"Delete event\" displayed as title of the scheduler delete event window.\r"],["header",{"level":4},"Example - set the \"deleteWindowTitle\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        deleteWindowTitle: \"Remove event\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"]],"orig":"messages.deleteWindowTitle"},{"name":"date","type":["String"],"short_doc":[["para","The text similar to \"Date\" displayed in scheduler."]],"doc":[["para","The text similar to \"Date\" displayed in scheduler."],["header",{"level":4},"Example - set the \"date\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    date: \"Date\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.date"},{"name":"cancel","type":["String"],"short_doc":[["para","The text similar to \"Cancel\" displayed in scheduler."]],"doc":[["para","The text similar to \"Cancel\" displayed in scheduler."],["header",{"level":4},"Example - set the \"cancel\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    cancel: \"Undo\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.cancel"},{"name":"allDay","type":["String"],"short_doc":[["para","The text similar to \"all day\" displayed in day/week views."]],"doc":[["para","The text similar to \"all day\" displayed in day/week views."],["header",{"level":4},"Example - set the \"allDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    allDay: \"daily\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"messages.allDay"}]},{"name":"min","type":["Date"],"default":"1/1/1900","short_doc":[["para","Constraints the minimum date which can be selected via the scheduler navigation."]],"doc":[["para","Constraints the minimum date which can be selected via the scheduler navigation."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  min: new Date(\"1980/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"minorTickCount","type":["Number"],"default":"2","short_doc":[["para","The number of time slots to display per major tick."]],"doc":[["para","The number of time slots to display per major tick."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  minorTickCount: 1, // display one time slot per major tick\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"minorTimeHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the minor time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  minorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 't')#</strong>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"mobile","type":["Boolean","String"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," and the scheduler is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type."]],"doc":[["para","If set to ",["inlinecode","true"]," and the scheduler is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type."],["header",{"level":4},"Example - enable adaptive rendering auto detect"],["code_block","<div id=\"scheduler\"></div>\n<script>\n    $(\"#scheduler\").kendoScheduler({\n      date: new Date(\"2013/6/6\"),\n      mobile: true,\n      dataSource: [\n        {\n          id: 1,\n          start: new Date(\"2013/6/6 08:00 AM\"),\n          end: new Date(\"2013/6/6 09:00 AM\"),\n          title: \"Interview\"\n        }\n      ]\n    });\n</script>"],["header",{"level":4},"Example - force adaptive rendering"],["code_block","<div id=\"scheduler\"></div>\n<script>\n    $(\"#scheduler\").kendoScheduler({\n      date: new Date(\"2013/6/6\"),\n      mobile: \"phone\",\n      dataSource: [\n        {\n          id: 1,\n          start: new Date(\"2013/6/6 08:00 AM\"),\n          end: new Date(\"2013/6/6 09:00 AM\"),\n          title: \"Interview\"\n        }\n      ]\n    });\n</script>"]]},{"name":"resources","type":["Array"],"short_doc":[["para","The configuration of the scheduler resource(s). A scheduler resource is optional metadata that can be associated\nwith a scheduler event."]],"doc":[["para","The configuration of the scheduler resource(s). A scheduler resource is optional metadata that can be associated\nwith a scheduler event."]],"sub":[{"name":"valuePrimitive","type":["Boolean"],"default":"true","short_doc":[["para","Set to ",["inlinecode","false"]," if the scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option contains a resource data item.\nBy default the scheduler expects that field to contain a primitive value (string, number) which corresponds to the \"value\" of the resource (specified via ",["inlinecode","dataValueField"],")."]],"doc":[["para","Set to ",["inlinecode","false"]," if the scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option contains a resource data item.\nBy default the scheduler expects that field to contain a primitive value (string, number) which corresponds to the \"value\" of the resource (specified via ",["inlinecode","dataValueField"],")."],["header",{"level":4},"Example - set valuePrimitive to false"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      room: { value: 1 } // the resource field is an object instead of a primitive value\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      room: { value: 2 } // the resource field is an object instead of a primitive value\n    }\n  ],\n  resources: [\n    {\n      field: \"room\",\n      valuePrimitive: false,\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.valuePrimitive"},{"name":"title","type":["String"],"short_doc":[["para","The user friendly title of the resource displayed in the scheduler edit form. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."]],"doc":[["para","The user friendly title of the resource displayed in the scheduler edit form. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."],["header",{"level":4},"Example - set the resource title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      title: \"Room\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.title"},{"name":"name","type":["String"],"short_doc":[["para","Tha name of the resource used to distinguish resource. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."]],"doc":[["para","Tha name of the resource used to distinguish resource. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."],["header",{"level":4},"Example - set the resource title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      title: \"Room\",\n      name: \"Room\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.name"},{"name":"multiple","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler event can be assigned multiple instances of the resource. The scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option will contain an array of resources.\nBy default only one resource instance can be assigned to an event."]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler event can be assigned multiple instances of the resource. The scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option will contain an array of resources.\nBy default only one resource instance can be assigned to an event."],["header",{"level":4},"Example - multiple resources"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1,\n      atendees: [2, 3] // the resource instances with value 2 and 3 (Bob and Charlie)\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2,\n      atendees: [1, 2] // the resource instances with value 1 and 2 (Alex and Bob)\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    },\n    {\n      field: \"atendees\",\n      multiple: true,\n      dataSource: [\n        { text: \"Alex\", value: 1 },\n        { text: \"Bob\", value: 2 },\n        { text: \"Charlie\", value: 3 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.multiple"},{"name":"field","type":["String"],"short_doc":[["para","The field of the scheduler event which contains the resource id."]],"doc":[["para","The field of the scheduler event which contains the resource id."],["header",{"level":4},"Example - specify the resource field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.field"},{"name":"dataValueField","type":["String"],"default":"\"value\"","short_doc":[["para","The field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource."]],"doc":[["para","The field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource."],["header",{"level":4},"Example - set the resource data value field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose roomId is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose roomId is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataValueField: \"roomId\"\n      dataSource: [\n        { text: \"Small meeting room\", roomId: 1 },\n        { text: \"Big meeting room\", roomId: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.dataValueField"},{"name":"dataTextField","type":["String"],"default":"\"text\"","short_doc":[["para","The field of the resource data item which represents the resource text."]],"doc":[["para","The field of the resource data item which represents the resource text."],["header",{"level":4},"Example - set the resource data text field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataTextField: \"room\",\n      dataSource: [\n        { room: \"Small meeting room\", value: 1 },\n        { room: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.dataTextField"},{"name":"dataSource","type":["Object","Array","kendo.data.DataSource"],"short_doc":[["para","The data source which contains resource data items.  Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source which contains resource data items.  Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set the resource data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.dataSource"},{"name":"dataColorField","type":["String"],"default":"\"color\"","short_doc":[["para","The field of the resource data item which contains the resource color."]],"doc":[["para","The field of the resource data item which contains the resource color."],["header",{"level":4},"Example - set the resource data color field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"resources.dataColorField"}]},{"name":"selectable","type":["Boolean"],"default":"false","short_doc":[["para","If set to true the user would be able to select scheduler cells and events. By default selection is disabled."]],"doc":[["para","If set to true the user would be able to select scheduler cells and events. By default selection is disabled."],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  selectable: true,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"showWorkHours","type":["Boolean"],"default":"false","short_doc":[["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  showWorkHours: true,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"snap","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to ",["inlinecode","false"]," to allow free moving and resizing of events."]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to ",["inlinecode","false"]," to allow free moving and resizing of events."],["header",{"level":4},"Example - allow free event resizing and moving"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  snap: false,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"startTime","type":["Date"],"short_doc":[["para","The start time of the week and day views. The scheduler will display events starting after the ",["inlinecode","startTime"],"."]],"doc":[["para","The start time of the week and day views. The scheduler will display events starting after the ",["inlinecode","startTime"],"."],["header",{"level":4},"Example - set the start time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  startTime: new Date(\"2013/6/6 08:00\"),\n  endTime: new Date(\"2013/6/6 18:00\")\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"timezone","type":["String"],"short_doc":[["para","The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the\nscheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service.\nThat way all users would see the same dates and times no matter their configured system timezone."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["blockquote",["para","The ",["strong","kendo.timezones.min.js"]," file must be included in order to use timezones other than \"Etc/UTC\"."]]],"doc":[["para","The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the\nscheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service.\nThat way all users would see the same dates and times no matter their configured system timezone."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["blockquote",["para","The ",["strong","kendo.timezones.min.js"]," file must be included in order to use timezones other than \"Etc/UTC\"."]],["header",{"level":4},"Example - set the timezone"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n    date: new Date(\"2013/6/13\"),\n    timezone: \"Europe/London\", // Use the London timezone\n    dataSource: {\n        batch: true,\n        transport: {\n            read: {\n                url: \"http://demos.kendoui.com/service/tasks\",\n                dataType: \"jsonp\"\n            },\n            update: {\n                url: \"http://demos.kendoui.com/service/tasks/update\",\n                dataType: \"jsonp\"\n            },\n            create: {\n                url: \"http://demos.kendoui.com/service/tasks/create\",\n                dataType: \"jsonp\"\n            },\n            destroy: {\n                url: \"http://demos.kendoui.com/service/tasks/destroy\",\n                dataType: \"jsonp\"\n            },\n            parameterMap: function(options, operation) {\n                if (operation !== \"read\" && options.models) {\n                    return {models: kendo.stringify(options.models)};\n                }\n            }\n        },\n        schema: {\n            model: {\n                id: \"ID\",\n                fields: {\n                    ID: { type: \"number\" },\n                    title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n                    start: { type: \"date\", from: \"Start\" },\n                    end: { type: \"date\", from: \"End\" },\n                    description: { from: \"Description\" },\n                    recurrenceId: { from: \"RecurrenceID\" },\n                    recurrenceRule: { from: \"RecurrenceRule\" },\n                    recurrenceException: { from: \"RecurrenceException\" },\n                    ownerId: { from: \"OwnerID\", defaultValue: 1 },\n                    isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n                }\n            }\n        }\n    }\n});\n</script>"]]},{"name":"views","type":["Array"],"short_doc":[["para","The views displayed by the scheduler and their configuration. The array items can be either objects specifying the view configuration or strings representing the view types (assuming default configuration).\nBy default the Kendo UI Scheduler widget displays \"day\" and \"week\" view."]],"doc":[["para","The views displayed by the scheduler and their configuration. The array items can be either objects specifying the view configuration or strings representing the view types (assuming default configuration).\nBy default the Kendo UI Scheduler widget displays \"day\" and \"week\" view."],["header",{"level":4},"Example - set views as array of strings"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ], // day and month views\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set views as array of objects"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" },\n    { type: \"month\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"workWeekEnd","type":["Number"],"default":"5","short_doc":[["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the end day of the work week to Saturday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"week\", workWeekEnd: 6 }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.workWeekEnd"},{"name":"workWeekStart","type":["Number"],"default":"1","short_doc":[["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the start day of the work week to Tuesday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"week\", workWeekStart: 2 }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]],"orig":"views.workWeekStart"},{"name":"type","type":["String"],"short_doc":[["para","The type of the view. The built-in views are: \"day\", \"week\", \"month\" and \"agenda\"."]],"doc":[["para","The type of the view. The built-in views are: \"day\", \"week\", \"month\" and \"agenda\"."],["header",{"level":4},"Example - set the view type"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.type"},{"name":"title","type":["String"],"short_doc":[["para","The user-friendly title of the view displayed by the scheduler."]],"doc":[["para","The user-friendly title of the view displayed by the scheduler."],["header",{"level":4},"Example - set the view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      title: \"Today\",\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.title"},{"name":"startTime","type":["Date"],"short_doc":[["para","The start time of the view. The scheduler will display events starting after the ",["inlinecode","startTime"],"."]],"doc":[["para","The start time of the view. The scheduler will display events starting after the ",["inlinecode","startTime"],"."],["header",{"level":4},"Example - set the start time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      startTime: new Date(\"2013/6/6 08:00\"),\n      endTime: new Date(\"2013/6/6 18:00\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.startTime"},{"name":"slotTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the time slot cells."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date and time."]],["blockquote",["para","The ",["inlinecode","slotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the time slot cells."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date and time."]],["blockquote",["para","The ",["inlinecode","slotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      slotTemplate: kendo.template(\"<strong>#=kendo.toString(date)#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.slotTemplate"},{"name":"showWorkHours","type":["Boolean"],"default":"false","short_doc":[["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ { type: \"day\", showWorkHours: true }, \"week\"]\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.showWorkHours"},{"name":"selectedDateFormat","type":["String"],"short_doc":[["para","The format used to display the selected date. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains two placeholders - \"{0}\" and \"{1}\" which represent the start and end date displayed by the view."]],"doc":[["para","The format used to display the selected date. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains two placeholders - \"{0}\" and \"{1}\" which represent the start and end date displayed by the view."],["header",{"level":4},"Example - set the selectedDateFormat"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      selectedDateFormat: \"{0:dd-MM-yyyy}\"\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.selectedDateFormat"},{"name":"selected","type":["Boolean"],"default":"false","short_doc":[["para","If set to ",["inlinecode","true"]," the view will be initially selected by the scheduler widget."],["blockquote",["para","If more than one view is selected then last of them will prevail."]]],"doc":[["para","If set to ",["inlinecode","true"]," the view will be initially selected by the scheduler widget."],["blockquote",["para","If more than one view is selected then last of them will prevail."]],["header",{"level":4},"Example - select a view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" },\n    { type: \"month\", selected: true }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.selected"},{"name":"minorTimeHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","minorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","minorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the minor time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      minorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 't')#</strong>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.minorTimeHeaderTemplate"},{"name":"minorTickCount","type":["Number"],"default":"2","short_doc":[["para","The number of time slots to display per major tick."],["blockquote",["para","The ",["inlinecode","minorTickCount"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The number of time slots to display per major tick."],["blockquote",["para","The ",["inlinecode","minorTickCount"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      minorTickCount: 1 // display one time slot per major tick\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.minorTickCount"},{"name":"majorTimeHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","majorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","majorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the major time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      majorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'h')#</strong><sup>00</sup>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.majorTimeHeaderTemplate"},{"name":"majorTick","type":["Number"],"default":"60","short_doc":[["para","The number of minutes represented by a major tick."],["blockquote",["para","The ",["inlinecode","majorTick"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The number of minutes represented by a major tick."],["blockquote",["para","The ",["inlinecode","majorTick"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the major tick"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      majorTick: 120 // a major tick represents 120 minutes (2 hours)\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.majorTick"},{"name":"group","type":["Object"],"short_doc":[["para","The configuration of the view resource(s) grouping."]],"doc":[["para","The configuration of the view resource(s) grouping."]],"sub":[{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."]],"doc":[["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n        type: \"month\",\n        group: {\n            orientation: \"vertical\"\n        }\n    }\n  ],\n  group: {\n    resources: [\"Rooms\"]\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"]],"orig":"views.group.orientation"}],"orig":"views.group"},{"name":"eventTimeTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the time of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","eventTimeTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the time of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","eventTimeTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]],["header",{"level":4},"Example - set the event time template"],["code_block","<script id=\"event-time-template\" type=\"text/x-kendo-template\">\n  # if (isAllDay) { #\n     All day\n  # } else { #\n     #= kendo.toString(start, \"t\") # - #= kendo.toString(end, \"t\") #\n  # }  #\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"agenda\",\n      eventTimeTemplate: $(\"#event-time-template\").html(),\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.eventTimeTemplate"},{"name":"eventTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the view to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the view to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      eventTemplate: $(\"#event-template\").html()\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"]],"orig":"views.eventTemplate"},{"name":"eventHeight","type":["Number"],"default":"25","short_doc":[["para","The height of the scheduler event rendered in month view."],["blockquote",["para","The ",["inlinecode","eventHeight"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]]],"doc":[["para","The height of the scheduler event rendered in month view."],["blockquote",["para","The ",["inlinecode","eventHeight"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]],["header",{"level":4},"Example - set the event height in month view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"month\",\n      eventHeight: 40\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  height: 1000\n});\n</script>"]],"orig":"views.eventHeight"},{"name":"eventDateTemplate","type":[],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the date of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the event date."]],["blockquote",["para","The ",["inlinecode","eventDateTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the date of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the event date."]],["blockquote",["para","The ",["inlinecode","eventDateTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]],["header",{"level":4},"Example - set the event date template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"agenda\",\n      eventDateTemplate: kendo.template(\"<strong>#= kendo.toString(date, 'dd-MM-yyyy')#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.eventDateTemplate"},{"name":"endTime","type":["Date"],"short_doc":[["para","The end time of the view. The scheduler will display events ending before the ",["inlinecode","endTime"],"."]],"doc":[["para","The end time of the view. The scheduler will display events ending before the ",["inlinecode","endTime"],"."],["header",{"level":4},"Example - set the end time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      startTime: new Date(\"2013/6/6 08:00\"),\n      endTime: new Date(\"2013/6/6 18:00\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.endTime"},{"name":"editable","type":["Boolean","Object"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."],["para","Overrides the ",["link",{"href":"#configuration-editable"},"editable"]," option of the scheduler."]],"doc":[["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."],["para","Overrides the ",["link",{"href":"#configuration-editable"},"editable"]," option of the scheduler."],["header",{"level":4},"Example - disable view editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: false\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"sub":[{"name":"update","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."],["header",{"level":4},"Example - disable event updating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        update: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.editable.update"},{"name":"destroy","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."],["header",{"level":4},"Example - disable event deleting"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        destroy: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.editable.destroy"},{"name":"create","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."]],"doc":[["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."],["header",{"level":4},"Example - disable event creating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        create: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.editable.create"}],"orig":"views.editable"},{"name":"dayTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the day slots in month view."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the current day"]],["blockquote",["para","The ",["inlinecode","dayTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the day slots in month view."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the current day"]],["blockquote",["para","The ",["inlinecode","dayTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]],["header",{"level":4},"Example - set the day template in month view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"month\",\n      dayTemplate: kendo.template(\"<strong>#= kendo.toString(date, 'ddd') #</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.dayTemplate"},{"name":"dateHeaderTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","dateHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","dateHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      dateHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'd')#</strong>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.dateHeaderTemplate"},{"name":"allDaySlotTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the all day slot cell."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date."]],["blockquote",["para","The ",["inlinecode","allDaySlotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the all day slot cell."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date."]],["blockquote",["para","The ",["inlinecode","allDaySlotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDaySlotTemplate: kendo.template(\"<strong>#=kendo.toString(date)#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.allDaySlotTemplate"},{"name":"allDaySlot","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."],["blockquote",["para","The ",["inlinecode","allDaySlot"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."],["blockquote",["para","The ",["inlinecode","allDaySlot"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - hide the all day slot"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDaySlot: false\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]],"orig":"views.allDaySlot"},{"name":"allDayEventTemplate","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","allDayEventTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","allDayEventTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the all day event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDayEventTemplate: $(\"#event-template\").html()\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      isAllDay: true,\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"]],"orig":"views.allDayEventTemplate"}]},{"name":"width","type":["Number","String"],"short_doc":[["para","The width of the widget. Numeric values are treated as pixels."]],"doc":[["para","The width of the widget. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the width of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  width: 500,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"workDayStart","type":["Date"],"short_doc":[["para","Sets the start of the work day when the  \"Show business hours\" button is clicked."]],"doc":[["para","Sets the start of the work day when the  \"Show business hours\" button is clicked."],["header",{"level":4},"Example - set the workDayStart of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workDayStart: new Date(\"2013/1/1 09:00 AM\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]},{"name":"workDayEnd","type":["Date"],"short_doc":[["para","Sets the end of the work day when the  \"Show business hours\" button is clicked."]],"doc":[["para","Sets the end of the work day when the  \"Show business hours\" button is clicked."],["header",{"level":4},"Example - set the workDayEnd of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workDayEnd: new Date(\"2013/1/1 5:00 PM\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]]},{"name":"workWeekStart","type":["Number"],"default":"1","short_doc":[["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the start day of the work week to Tuesday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workWeekStart: 2,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"]]},{"name":"workWeekEnd","type":["Number"],"default":"5","short_doc":[["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]]],"doc":[["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the end day of the work week to Saturday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workWeekEnd: 6,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"]]}],"methods":[{"name":"addEvent","args":[{"name":"data","type":["Object"],"short_doc":[["para","The object containing the scheduler event fields."]],"doc":[["para","The object containing the scheduler event fields."]]}],"short_doc":[["para","Adds a new scheduler event and opens the edit form."]],"doc":[["para","Adds a new scheduler event and opens the edit form."],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]],["para","The object containing the scheduler event fields."],["header",{"level":4},"Example - add a new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\n</script>"]],"examples":[[["header",{"level":4},"Example - add a new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\n</script>"]]]},{"name":"cancelEvent","args":[],"short_doc":[["para","Cancels the scheduler event editing. Closes the edit form."]],"doc":[["para","Cancels the scheduler event editing. Closes the edit form."],["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.cancelEvent();\n</script>"]],"examples":[[["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.cancelEvent();\n</script>"]]]},{"name":"date","args":[{"name":"value","type":["Date"],"short_doc":[["para","The new date to set."]],"doc":[["para","The new date to set."]]}],"short_doc":[["para","Gets or sets the current scheduler date."]],"doc":[["para","Gets or sets the current scheduler date."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]," ",["em","(optional)"]],["para","The new date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," the current date."],["header",{"level":4},"Example - set the current date"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.date(new Date(\"2013/6/6\"));\n</script>"]],"examples":[[["header",{"level":4},"Example - set the current date"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.date(new Date(\"2013/6/6\"));\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.destroy();\n</script>"]]]},{"name":"editEvent","args":[{"name":"event","type":["String","kendo.data.SchedulerEvent"],"short_doc":[["para","The event which should be put in edit mode. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be edited."]],"doc":[["para","The event which should be put in edit mode. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be edited."]]}],"short_doc":[["para","Opens the specified scheduler event in the edit form."]],"doc":[["para","Opens the specified scheduler event in the edit form."],["header",{"level":4},"Parameters"],["header",{"level":5},"event ",["inlinecode","String|kendo.data.SchedulerEvent"]],["para","The event which should be put in edit mode. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be edited."],["header",{"level":4},"Example - edit an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.editEvent(event);\n</script>"]],"examples":[[["header",{"level":4},"Example - edit an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.editEvent(event);\n</script>"]]]},{"name":"removeEvent","args":[{"name":"event","type":["String","kendo.data.SchedulerEvent"],"short_doc":[["para","The event which should be removed. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be removed."]],"doc":[["para","The event which should be removed. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be removed."]]}],"short_doc":[["para","Removes the specified scheduler event."]],"doc":[["para","Removes the specified scheduler event."],["header",{"level":4},"Parameters"],["header",{"level":5},"event ",["inlinecode","String|kendo.data.SchedulerEvent"]],["para","The event which should be removed. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be removed."],["header",{"level":4},"Example - remove an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.removeEvent(event);\n</script>"]],"examples":[[["header",{"level":4},"Example - remove an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.removeEvent(event);\n</script>"]]]},{"name":"saveEvent","args":[],"short_doc":[["para","Saves the scheduler event which is open in the edit form and closes it."]],"doc":[["para","Saves the scheduler event which is open in the edit form and closes it."],["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.saveEvent();\n</script>"]],"examples":[[["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.saveEvent();\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.SchedulerDataSource"],"short_doc":[["para","The data source to which the widget should be bound."]],"doc":[["para","The data source to which the widget should be bound."]]}],"short_doc":[["para","Sets the data source of the widget."]],"doc":[["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.SchedulerDataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar dataSource = new kendo.data.SchedulerDataSource({\n  data: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nscheduler.setDataSource(dataSource);\n</script>"],["para","\r"]],"examples":[[["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar dataSource = new kendo.data.SchedulerDataSource({\n  data: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nscheduler.setDataSource(dataSource);\n</script>"],["para","\r"]]]},{"name":"slotByPosition","args":[{"name":"xPosition","type":["Number"],"short_doc":[["para","The horizontal position."]],"doc":[["para","The horizontal position."]]},{"name":"yPosition","type":["Number"],"short_doc":[["para","The vertical position."]],"doc":[["para","The vertical position."]]}],"short_doc":[["para","Get the time slot from given horizontal (x) and vertical (y) position."]],"doc":[["para","Get the time slot from given horizontal (x) and vertical (y) position."],["header",{"level":4},"Parameters"],["header",{"level":5},"xPosition ",["inlinecode","Number"]],["para","The horizontal position."],["header",{"level":5},"yPosition ",["inlinecode","Number"]],["para","The vertical position."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The time slot."],["header",{"level":4},"Example - get slot and it's startDate and endDate"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar slot = scheduler.slotByPosition(100,100);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"],["para","\r"]],"examples":[[["header",{"level":4},"Example - get slot and it's startDate and endDate"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar slot = scheduler.slotByPosition(100,100);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"],["para","\r"]]]},{"name":"slotByElement","args":[{"name":"element","type":["Element","jQuery"],"short_doc":[],"doc":[]}],"short_doc":[["para","Get the time slot from given element."]],"doc":[["para","Get the time slot from given element."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Element|jQuery"]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The time slot."],["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar element = scheduler.view().content.find(\"tr:first td:first\");\nvar slot = scheduler.slotByElement(element);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"]],"examples":[[["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar element = scheduler.view().content.find(\"tr:first td:first\");\nvar slot = scheduler.slotByElement(element);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"]]]},{"name":"view","args":[{"name":"type","type":["String"],"short_doc":[["para","The view type to select."]],"doc":[["para","The view type to select."]]}],"short_doc":[["para","Gets or sets the current scheduler view."]],"doc":[["para","Gets or sets the current scheduler view."],["header",{"level":4},"Parameters"],["header",{"level":5},"type ",["inlinecode","String"]," ",["em","(optional)"]],["para","The view type to select."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.SchedulerView"]," the current scheduler view."],["header",{"level":4},"Example - set the current view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.view(\"month\");\n</script>"]],"examples":[[["header",{"level":4},"Example - set the current view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.view(\"month\");\n</script>"]]]}],"events":[{"name":"add","args":[{"name":"e.event","type":["Object"],"short_doc":[["para","The event data from which the SchedulerEvent instance will be created and added to the DataSource."]],"doc":[["para","The event data from which the SchedulerEvent instance will be created and added to the DataSource."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the add action."]],"doc":[["para","If invoked prevents the add action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the a new event is about to be added."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the a new event is about to be added."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","Object"]],["para","The event data from which the SchedulerEvent instance will be created and added to the DataSource."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the add action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"add\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  add: function(e) {\n    console.log(\"Add\", e.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"add\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_add(e) {\n  console.log(\"Add\", e.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"add\", scheduler_add);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"add\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  add: function(e) {\n    console.log(\"Add\", e.start);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"add\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_add(e) {\n  console.log(\"Add\", e.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"add\", scheduler_add);\n</script>"]]],"type":["Function"]},{"name":"cancel","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]],"doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]]},{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is no longer in edit mode."]],"doc":[["para","The event which is no longer in edit mode."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the cancel action. The scheduler event remains in edit mode."]],"doc":[["para","If invoked prevents the cancel action. The scheduler event remains in edit mode."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user cancels editing by clicking the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user cancels editing by clicking the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is no longer in edit mode."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The scheduler event remains in edit mode."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  cancel: function(e) {\n    console.log(\"Cancelling\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_cancel(e) {\n  console.log(\"Cancelling\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"cancel\", scheduler_cancel);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  cancel: function(e) {\n    console.log(\"Cancelling\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_cancel(e) {\n  console.log(\"Cancelling\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"cancel\", scheduler_cancel);\n</script>"]]],"type":["Function"]},{"name":"change","args":[{"name":"e.start","type":["Date"],"short_doc":[["para","The selection start date."]],"doc":[["para","The selection start date."]]},{"name":"e.end","type":["Date"],"short_doc":[["para","The selection end date."]],"doc":[["para","The selection end date."]]},{"name":"e.events","type":["Array"],"short_doc":[["para","A list of the selected ",["link",{"href":"/api/framework/schedulerevent"},"scheduler events"],"."]],"doc":[["para","A list of the selected ",["link",{"href":"/api/framework/schedulerevent"},"scheduler events"],"."]]},{"name":"e.slots","type":["Array"],"short_doc":[["para","A list of the selected slots. Each slot has the following properties:"],["bulletlist",["listitem",["para",["strong","slot.start"],"\n    - The slot's start date."]],["listitem",["para",["strong","slot.end"],"\n    - The slot's end date."]],["listitem",["para",["strong","slot.element"],"\n    - The slot's element."]]]],"doc":[["para","A list of the selected slots. Each slot has the following properties:"],["bulletlist",["listitem",["para",["strong","slot.start"],"\n    - The slot's start date."]],["listitem",["para",["strong","slot.end"],"\n    - The slot's end date."]],["listitem",["para",["strong","slot.element"],"\n    - The slot's element."]]]]},{"name":"e.resources","type":["Object"],"short_doc":[["para","The resources for the slot if resource grouping is enabled."]],"doc":[["para","The resources for the slot if resource grouping is enabled."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user selects a cell or event in the scheduler."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user selects a cell or event in the scheduler."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.start ",["inlinecode","Date"]],["para","The selection start date."],["header",{"level":5},"e.end ",["inlinecode","Date"]],["para","The selection end date."],["header",{"level":5},"e.events ",["inlinecode","Array"]],["para","A list of the selected ",["link",{"href":"/api/framework/schedulerevent"},"scheduler events"],"."],["header",{"level":5},"e.slots ",["inlinecode","Array"]],["para","A list of the selected slots. Each slot has the following properties:"],["bulletlist",["listitem",["para",["strong","slot.start"],"\n    - The slot's start date."]],["listitem",["para",["strong","slot.end"],"\n    - The slot's end date."]],["listitem",["para",["strong","slot.element"],"\n    - The slot's element."]]],["header",{"level":5},"e.resources ",["inlinecode","Object"]],["para","The resources for the slot if resource grouping is enabled."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  change: function(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_change(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n}\n\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"change\", scheduler_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  change: function(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_change(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n}\n\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"change\", scheduler_change);\n</script>"]]],"type":["Function"]},{"name":"dataBinding","args":[{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\"));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBinding(e) {\n    console.log(\"dataBinding\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBinding\", scheduler_dataBinding);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBinding\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\"));\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBinding(e) {\n    console.log(\"dataBinding\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBinding\", scheduler_dataBinding);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\"));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBound(e) {\n    console.log(\"dataBound\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBound\", scheduler_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\"));\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBound(e) {\n    console.log(\"dataBound\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBound\", scheduler_dataBound);\n</script>"]]],"type":["Function"]},{"name":"edit","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]],"doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]]},{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being edited."]],"doc":[["para","The event which is being edited."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the edit action."]],"doc":[["para","If invoked prevents the edit action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user opens a scheduler event in edit mode by or creates a new event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user opens a scheduler event in edit mode by or creates a new event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being edited."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the edit action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  edit: function(e) {\n    console.log(\"Editing\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_edit(e) {\n  console.log(\"Editing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"edit\", scheduler_edit);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  edit: function(e) {\n    console.log(\"Editing\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_edit(e) {\n  console.log(\"Editing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"edit\", scheduler_edit);\n</script>"]]],"type":["Function"]},{"name":"moveStart","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being moved."]],"doc":[["para","The event which is being moved."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the move action."]],"doc":[["para","If invoked prevents the move action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user starts to drag an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user starts to drag an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"moveStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveStart: function(e) {\n    console.log(\"Move Start\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"moveStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveStart(e) {\n  console.log(\"Move Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveStart\", scheduler_moveStart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"moveStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveStart: function(e) {\n    console.log(\"Move Start\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"moveStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveStart(e) {\n  console.log(\"Move Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveStart\", scheduler_moveStart);\n</script>"]]],"type":["Function"]},{"name":"move","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being moved."]],"doc":[["para","The event which is being moved."]]},{"name":"e.slot","type":["Object"],"short_doc":[["para","The slot over which the event is currently positioned."]],"doc":[["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the move action."]],"doc":[["para","If invoked prevents the move action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user is moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user is moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"move\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  move: function(e) {\n    console.log(\"Move\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"move\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_move(e) {\n  console.log(\"Move\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"move\", scheduler_move);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"move\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  move: function(e) {\n    console.log(\"Move\", e.slot.start);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"move\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_move(e) {\n  console.log(\"Move\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"move\", scheduler_move);\n</script>"]]],"type":["Function"]},{"name":"moveEnd","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being moved."]],"doc":[["para","The event which is being moved."]]},{"name":"e.slot","type":["Object"],"short_doc":[["para","The slot over which the event is currently positioned."]],"doc":[["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the move action."]],"doc":[["para","If invoked prevents the move action."]]},{"name":"e.resources","type":["Object"],"short_doc":[["para","The resources for the slot if resource grouping is enabled."]],"doc":[["para","The resources for the slot if resource grouping is enabled."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user stops moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user stops moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.resources ",["inlinecode","Object"]],["para","The resources for the slot if resource grouping is enabled."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"moveEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveEnd: function(e) {\n    console.log(\"MoveEnd\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"moveEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveEnd(e) {\n  console.log(\"MoveEnd\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveEnd\", scheduler_moveEnd);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"moveEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveEnd: function(e) {\n    console.log(\"MoveEnd\", e.slot.start);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"moveEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveEnd(e) {\n  console.log(\"MoveEnd\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveEnd\", scheduler_moveEnd);\n</script>"]]],"type":["Function"]},{"name":"navigate","args":[{"name":"e.action","type":["String"],"short_doc":[["para","Name of the action. Possible values are:"],["bulletlist",["listitem","changeView - navigate to diffrent view"],["listitem","next - navigate to next time period"],["listitem","previous - navigate to previous time period"],["listitem","today - select today's date"],["listitem","changeDate - a date is selected via the Calendar"]]],"doc":[["para","Name of the action. Possible values are:"],["bulletlist",["listitem","changeView - navigate to diffrent view"],["listitem","next - navigate to next time period"],["listitem","previous - navigate to previous time period"],["listitem","today - select today's date"],["listitem","changeDate - a date is selected via the Calendar"]]]},{"name":"e.date","type":["Date"],"short_doc":[["para","Selected date"]],"doc":[["para","Selected date"]]},{"name":"e.view","type":["String"],"short_doc":[["para","Name of the view"]],"doc":[["para","Name of the view"]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the action."]],"doc":[["para","If invoked prevents the action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user changes selected date, view or of the scheduler"],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user changes selected date, view or of the scheduler"],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.action ",["inlinecode","String"]],["para","Name of the action. Possible values are:"],["bulletlist",["listitem","changeView - navigate to diffrent view"],["listitem","next - navigate to next time period"],["listitem","previous - navigate to previous time period"],["listitem","today - select today's date"],["listitem","changeDate - a date is selected via the Calendar"]],["header",{"level":5},"e.date ",["inlinecode","Date"]],["para","Selected date"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","Name of the view"],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  navigate: function(e) {\n    console.log(\"navigate\", e.date);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_navigate(e) {\n  console.log(\"navigate\", e.date);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"navigate\", scheduler_navigate);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  navigate: function(e) {\n    console.log(\"navigate\", e.date);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_navigate(e) {\n  console.log(\"navigate\", e.date);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"navigate\", scheduler_navigate);\n</script>"]]],"type":["Function"]},{"name":"remove","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being removed."]],"doc":[["para","The event which is being removed."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the remove action."]],"doc":[["para","If invoked prevents the remove action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user clicks the \"destroy\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user clicks the \"destroy\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being removed."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the remove action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  remove: function(e) {\n    console.log(\"Removing\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_remove(e) {\n  console.log(\"Removing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"remove\", scheduler_remove);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  remove: function(e) {\n    console.log(\"Removing\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_remove(e) {\n  console.log(\"Removing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"remove\", scheduler_remove);\n</script>"]]],"type":["Function"]},{"name":"resizeStart","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being resized."]],"doc":[["para","The event which is being resized."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the resize action."]],"doc":[["para","If invoked prevents the resize action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user starts to resize an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user starts to resize an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resizeStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeStart: function(e) {\n    console.log(\"Resize Start\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resizeStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeStart(e) {\n  console.log(\"Resize Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeStart\", scheduler_resizeStart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"resizeStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeStart: function(e) {\n    console.log(\"Resize Start\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"resizeStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeStart(e) {\n  console.log(\"Resize Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeStart\", scheduler_resizeStart);\n</script>"]]],"type":["Function"]},{"name":"resize","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being resized."]],"doc":[["para","The event which is being resized."]]},{"name":"e.slot","type":["Object"],"short_doc":[["para","The slot over which the event is resized to."]],"doc":[["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the resize action."]],"doc":[["para","If invoked prevents the resize action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user is resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user is resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resize: function(e) {\n    console.log(\"Resize\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resize(e) {\n  console.log(\"Resize\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resize\", scheduler_resize);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resize: function(e) {\n    console.log(\"Resize\", e.slot.start);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resize(e) {\n  console.log(\"Resize\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resize\", scheduler_resize);\n</script>"]]],"type":["Function"]},{"name":"resizeEnd","args":[{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is being resized."]],"doc":[["para","The event which is being resized."]]},{"name":"e.slot","type":["Object"],"short_doc":[["para","The slot over which the event is resized to."]],"doc":[["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the resize action."]],"doc":[["para","If invoked prevents the resize action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user releases the mouse after resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user releases the mouse after resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeEnd: function(e) {\n    console.log(\"Resize End\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeEnd(e) {\n  console.log(\"Resize End\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeEnd\", scheduler_resizeEnd);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeEnd: function(e) {\n    console.log(\"Resize End\", e.slot.start);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeEnd(e) {\n  console.log(\"Resize End\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeEnd\", scheduler_resizeEnd);\n</script>"]]],"type":["Function"]},{"name":"save","args":[{"name":"e.container","type":["jQuery"],"short_doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]],"doc":[["para","The jQuery object representing the container element. That element contains the editing UI."]]},{"name":"e.event","type":["kendo.data.SchedulerEvent"],"short_doc":[["para","The event which is saved."]],"doc":[["para","The event which is saved."]]},{"name":"e.preventDefault","type":["Function"],"short_doc":[["para","If invoked prevents the save action."]],"doc":[["para","If invoked prevents the save action."]]},{"name":"e.sender","type":["kendo.ui.Scheduler"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fired when the user saves a scheduler event by clicking the \"save\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."]],"doc":[["para","Fired when the user saves a scheduler event by clicking the \"save\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is saved."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the save action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  save: function(e) {\n    console.log(\"Saving\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_save(e) {\n  console.log(\"Saving\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"save\", scheduler_save);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  save: function(e) {\n    console.log(\"Saving\", e.event.title);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_save(e) {\n  console.log(\"Saving\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"save\", scheduler_save);\n</script>"]]],"type":["Function"]}],"fields":[{"name":"dataSource","type":["kendo.data.SchedulerDataSource"],"short_doc":[["para","The ",["link",{"href":"/api/framework/schedulerdatasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]]],"doc":[["para","The ",["link",{"href":"/api/framework/schedulerdatasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.dataSource.add( {\n  start: new Date(\"2013/6/6 08:00 AM\"),\n  end: new Date(\"2013/6/6 09:00 AM\"),\n  title: \"Interview\"\n});\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nevent.set(\"end\", new Date(\"2013/6/6 10:00 AM\"));\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.dataSource.remove(event);\n</script>"]]}],"short_doc":[["para","Represents the Kendo UI Scheduler widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Scheduler widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"allDayEventTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the all day event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  allDayEventTemplate: $(\"#event-template\").html(),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      isAllDay: true,\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"],["header",{"level":3},"allDaySlot ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."],["header",{"level":4},"Example - hide the all day slot"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  allDaySlot: false,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source doesn't make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  autoBind: false,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.SchedulerDataSource"]],["para","The data source of the widget which contains the scheduler events. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/schedulerdatasource"},"kendo.data.SchedulerDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["blockquote",["para","The Kendo UI Scheduler widget can be bound ",["em","only"]," to a ",["inlinecode","kendo.data.SchedulerDataSource"],". An exception will be thrown if the ",["inlinecode","dataSource"]," option is set to a ",["inlinecode","kendo.data.DataSource"]," instance."]],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: {\n    batch: true,\n    transport: {\n      read: {\n        url: \"http://demos.kendoui.com/service/tasks\",\n        dataType: \"jsonp\"\n      },\n      update: {\n        url: \"http://demos.kendoui.com/service/tasks/update\",\n        dataType: \"jsonp\"\n      },\n      create: {\n        url: \"http://demos.kendoui.com/service/tasks/create\",\n        dataType: \"jsonp\"\n      },\n      destroy: {\n        url: \"http://demos.kendoui.com/service/tasks/destroy\",\n        dataType: \"jsonp\"\n      },\n      parameterMap: function(options, operation) {\n        if (operation !== \"read\" && options.models) {\n          return {models: kendo.stringify(options.models)};\n        }\n      }\n    },\n    schema: {\n       model: {\n         id: \"ID\",\n         fields: {\n           ID: { type: \"number\" },\n           title: { field: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n           start: { type: \"date\", field: \"Start\" },\n           end: { type: \"date\", field: \"End\" },\n           description: { field: \"Description\" },\n           recurrenceId: { from: \"RecurrenceID\" },\n           recurrenceRule: { from: \"RecurrenceRule\" },\n           recurrenceException: { from: \"RecurrenceException\" },\n           ownerId: { field: \"OwnerID\", defaultValue: 1 },\n           isAllDay: { type: \"boolean\", field: \"IsAllDay\" }\n         }\n       }\n     }\n  }\n});"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.SchedulerDataSource instance"],["code_block","<input id=\"autocomplete\" />\n<script>\nvar dataSource = new kendo.data.SchedulerDataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/tasks\",\n      dataType: \"jsonp\"\n    }\n  }\n});\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: dataSource\n});\n</script>"],["header",{"level":3},"date ",["inlinecode","Date"]],["para","The current date of the scheduler. Used to determine the period which is displayed by the widget."],["header",{"level":4},"Example - set the date of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"dateHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dateHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'd')#</strong>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"editable ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."],["header",{"level":4},"Example - disable editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  editable: false\n});\n</script>"],["header",{"level":3},"editable.confirmation ",["inlinecode","Boolean|String"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the scheduler will display a confirmation dialog when the user clicks the \"destroy\" button."],["para","Can be set to a string which will be used as the confirmation text."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    confirmation: false\n  },\n  views: [\n    {\n      type: \"day\"\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set delete confirmation text"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    confirmation: \"Are you sure you want to delete this meeting?\"\n  },\n  views: [\n    {\n      type: \"day\"\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"editable.create ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."],["header",{"level":4},"Example - disable event creating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    create: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"editable.destroy ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."],["header",{"level":4},"Example - disable event deleting"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    destroy: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"editable.resize ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the scheduler allows event resizing. Dragging the resize handles changes the start or end time of the event."],["header",{"level":4},"Example - disable event resizing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  editable: {\n    resize: false\n  }\n});\n</script>"],["header",{"level":3},"editable.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the editor."],["para","The template should contain elements whose ",["inlinecode","name"]," HTML attributes are set as the editable fields. This is how the grid will know\nwhich field to update. The other option is to use ",["link",{"href":"/getting-started/framework/mvvm/overview"},"MVVM"]," bindings in order to bind HTML elements to data item fields."],["blockquote",["para","Use the ",["inlinecode","role"]," data attribute to initialize Kendo UI widgets in the template. Check ",["link",{"href":"/getting-started/data-attribute-initialization"},"data attribute initialization"]," for more info."]],["header",{"level":4},"Example - customize the popup editor"],["code_block","<script id=\"editor\" type=\"text/x-kendo-template\">\n   <h3>Edit meeting</h3>\n   <p>\n       <label>Title: <input name=\"title\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" name=\"start\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" name=\"end\" /></label>\n   </p>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    template: $(\"#editor\").html()\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - using MVVM in the popup editor template"],["code_block","<script id=\"editor\" type=\"text/x-kendo-template\">\n   <h3>Edit meeting</h3>\n   <p>\n       <label>Title: <input data-bind=\"value: title\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" data-bind=\"value: start\" /></label>\n   </p>\n   <p>\n       <label>Start: <input data-role=\"datetimepicker\" data-bind=\"value: end\" /></label>\n   </p>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    template: $(\"#editor\").html()\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"editable.update ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."],["header",{"level":4},"Example - disable event updating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  editable: {\n    update: false\n  },\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"endTime ",["inlinecode","Date"]],["para","The end time of the week and day views. The scheduler will display events ending before the ",["inlinecode","endTime"],"."],["header",{"level":4},"Example - set the end time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  startTime: new Date(\"2013/6/6 08:00\"),\n  endTime: new Date(\"2013/6/6 18:00\")\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"eventTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  eventTemplate: $(\"#event-template\").html(),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"footer ",["inlinecode","Boolean|Object"]],["para","If set to ",["inlinecode","false"]," the footer of the scheduler would not be displayed."],["header",{"level":4},"Example - disable footer"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  footer: false\n});\n</script>"],["para","\r"],["header",{"level":3},"footer.command ",["inlinecode","String|Boolean"]," ",["em","(default: \"workDay\")"]],["para","Sets the command which will be displayed in the scheduler footer. Currently only \"workDay\" option is supported. If the option is set  to false, the \"workDay\" button will be removed from the footer."],["header",{"level":4},"Example - disable workDay command in the footer"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Breakfast\"\n    }\n  ],\n  footer: {\n    command: false\n  }\n});\n</script>"],["header",{"level":3},"group ",["inlinecode","Object"]],["para","The configuration of the scheduler resource(s) grouping."],["header",{"level":3},"group.resources ",["inlinecode","Array"]],["para","An array of resource names by which the scheduler events will be grouped."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  group: {\n    resources: [\"Rooms\"]\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"group.orientation ",["inlinecode","String"]," ",["em","(default: \"horizontal\")"]],["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  group: {\n    resources: [\"Rooms\"],\n    orientation: \"vertical\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number|String"]],["para","The height of the widget. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the height of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  height: 500,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"majorTick ",["inlinecode","Number"]," ",["em","(default: 60)"]],["para","The number of minutes represented by a major tick."],["header",{"level":4},"Example - set the major tick"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  majorTick: 120, // a major tick represents 120 minutes (2 hours)\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"majorTimeHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the major time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  majorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'h')#</strong><sup>00</sup>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"max ",["inlinecode","Date"]," ",["em","(default: 31/12/2099)"]],["para","Constraints the maximum date which can be selected via the scheduler navigation."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  max: new Date(\"2013/7/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","The configuration of the scheduler messages. Use this option to customize or localize the scheduler messages."],["header",{"level":3},"messages.allDay ",["inlinecode","String"]],["para","The text similar to \"all day\" displayed in day/week views."],["header",{"level":4},"Example - set the \"allDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    allDay: \"daily\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.cancel ",["inlinecode","String"]],["para","The text similar to \"Cancel\" displayed in scheduler."],["header",{"level":4},"Example - set the \"cancel\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    cancel: \"Undo\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.date ",["inlinecode","String"]],["para","The text similar to \"Date\" displayed in scheduler."],["header",{"level":4},"Example - set the \"date\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    date: \"Date\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.deleteWindowTitle ",["inlinecode","String"]],["para","The text similar to \"Delete event\" displayed as title of the scheduler delete event window.\r"],["header",{"level":4},"Example - set the \"deleteWindowTitle\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        deleteWindowTitle: \"Remove event\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.destroy ",["inlinecode","String"]],["para","The text similar to \"Delete\" displayed in scheduler."],["header",{"level":4},"Example - set the \"destroy\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    destroy: \"Destroy\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.event ",["inlinecode","String"]],["para","The text similar to \"Event\" displayed in scheduler."],["header",{"level":4},"Example - set the \"event\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    event: \"Meeting\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.save ",["inlinecode","String"]],["para","The text similar to \"Save\" displayed in scheduler."],["header",{"level":4},"Example - set the \"save\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    save: \"Update\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.showFullDay ",["inlinecode","String"]],["para","The text similar to \"Show full day\" used in scheduler \"showFullDay\" button.\r"],["header",{"level":4},"Example - set the \"showFullDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        showFullDay: \"Show 24h\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.showWorkDay ",["inlinecode","String"]],["para","The text similar to \"Show business hours\" used in scheduler \"showWorkDay\" button.\r"],["header",{"level":4},"Example - set the \"showWorkDay\" scheduler message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        showWorkDay: \"Show work hours\"\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.time ",["inlinecode","String"]],["para","The text similar to \"Time\" displayed in scheduler."],["header",{"level":4},"Example - set the \"time\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    time: \"Time of the day\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.today ",["inlinecode","String"]],["para","The text similar to \"Today\" displayed in scheduler."],["header",{"level":4},"Example - set the \"today\" scheduler message"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    today: \"Current Date\"\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.editor ",["inlinecode","Object"]],["para","The configuration of the scheduler editor messages. Use this option to customize or localize the scheduler editor messages.\r"],["header",{"level":3},"messages.editor.allDayEvent ",["inlinecode","String"]],["para","The text similar to \"All day event\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"allDayEvent\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            allDayEvent: \"Full day\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.description ",["inlinecode","String"]],["para","The text similar to \"Description\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"description\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            description: \"Message\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.editorTitle ",["inlinecode","String"]],["para","The text similar to \"Event\" displayed as title of the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editorTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            editorTitle: \"Edit event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.end ",["inlinecode","String"]],["para","The text similar to \"End\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"end\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            end: \"End of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.endTimezone ",["inlinecode","String"]],["para","The text similar to \"End timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"endTimezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            endTimezone: \"End date timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.repeat ",["inlinecode","String"]],["para","The text similar to \"Repeat\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"repeat\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            repeat: \"Repeat the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.separateTimezones ",["inlinecode","String"]],["para","The text similar to \"Use separate start and end time zones\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"separateTimezones\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            separateTimezones: \"Set different start and end time zones\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.start ",["inlinecode","String"]],["para","The text similar to \"Start\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"start\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            start: \"Start of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.startTimezone ",["inlinecode","String"]],["para","The text similar to \"Start timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"startTimezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            startTimezone: \"Start date timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.timezone ",["inlinecode","String"]],["para","The text similar to \"Timezone\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezone\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezone: \"Event timezone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.timezoneEditorButton ",["inlinecode","String"]],["para","The text similar to \"Time zone\" displayed as text of timezone editor button in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezoneEditorButton\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezoneEditorButton: \"Time zone\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.timezoneEditorTitle ",["inlinecode","String"]],["para","The text similar to \"Timezones\" displayed as title of timezone editor in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"timezoneEditorTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            timezoneEditorTitle: \"Timezones\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.editor.title ",["inlinecode","String"]],["para","The text similar to \"Title of the event\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"title\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        editor: {\r\n            title: \"Title of the event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor messages. Use this option to customize or localize the scheduler recurrence editor messages.\r"],["header",{"level":3},"messages.recurrenceEditor.daily ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor daily messages. Use this option to customize or localize the scheduler recurrence editor daily messages.\r"],["header",{"level":3},"messages.recurrenceEditor.daily.interval ",["inlinecode","String"]],["para","The text similar to \" day(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            daily: {\r\n                interval: \" days(s)\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.daily.repeatEvery ",["inlinecode","String"]],["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            daily: {\r\n                repeatEvery: \"Repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.end ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor end messages. Use this option to customize or localize the scheduler recurrence editor end messages.\r"],["header",{"level":3},"messages.recurrenceEditor.end.after ",["inlinecode","String"]],["para","The text similar to \"After \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"after\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                after: \"after \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.end.occurrence ",["inlinecode","String"]],["para","The text similar to \" occurrence(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"occurrence\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                occurrence: \" occurrence(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.end.label ",["inlinecode","String"]],["para","The text similar to \"End:\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"label\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                label: \"end: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.end.never ",["inlinecode","String"]],["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"never\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                never: \"never\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.end.on ",["inlinecode","String"]],["para","The text similar to \"On \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"on\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            end: {\r\n                on: \"on \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor frequencies messages. Use this option to customize or localize the scheduler recurrence editor frequencies messages.\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies.daily ",["inlinecode","String"]],["para","The text similar to \"Daily\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"daily\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                daily: \"daily\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies.monthly ",["inlinecode","String"]],["para","The text similar to \"Monthly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"monthly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                monthly: \"monthly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies.never ",["inlinecode","String"]],["para","The text similar to \"Never\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"never\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                never: \"never\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies.weekly ",["inlinecode","String"]],["para","The text similar to \"Weekly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"weekly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                weekly: \"weekly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.frequencies.yearly ",["inlinecode","String"]],["para","The text similar to \"Yearly\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"yearly\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            frequencies: {\r\n                yearly: \"yearly\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.monthly ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor monthly messages. Use this option to customize or localize the scheduler recurrence editor monthly messages.\r"],["header",{"level":3},"messages.recurrenceEditor.monthly.day ",["inlinecode","String"]],["para","The text similar to \"Day \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"day\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                day: \"day \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.monthly.interval ",["inlinecode","String"]],["para","The text similar to \" month(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                interval: \" month(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.monthly.repeatEvery ",["inlinecode","String"]],["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.monthly.repeatOn ",["inlinecode","String"]],["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            monthly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor offsetPositions messages. Use this option to customize or localize the scheduler recurrence editor offsetPositions messages.\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions.first ",["inlinecode","String"]],["para","The text similar to \"first\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"first\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                first: \"first\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions.second ",["inlinecode","String"]],["para","The text similar to \"second\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"second\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                second: \"second\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions.third ",["inlinecode","String"]],["para","The text similar to \"third\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"third\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                third: \"third\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions.fourth ",["inlinecode","String"]],["para","The text similar to \"fourth\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"fourth\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                fourth: \"fourth\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.offsetPositions.last ",["inlinecode","String"]],["para","The text similar to \"last\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"last\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            offsetPositions: {\r\n                last: \"last\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.weekly ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor weekly messages. Use this option to customize or localize the scheduler recurrence editor weekly messages.\r"],["header",{"level":3},"messages.recurrenceEditor.weekly.interval ",["inlinecode","String"]],["para","The text similar to \" week(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                interval: \" week(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.weekly.repeatEvery ",["inlinecode","String"]],["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.weekly.repeatOn ",["inlinecode","String"]],["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.weekdays ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor week days messages. Use these options to customize or localize the scheduler recurrence editor weekdays messages."],["header",{"level":3},"messages.recurrenceEditor.weekdays.day ",["inlinecode","String"]],["para","The text similar to \"day\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"day\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                day: \"Day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"],["header",{"level":3},"messages.recurrenceEditor.weekdays.weekday ",["inlinecode","String"]],["para","The text similar to \"weekday\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"weekday\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                weekday: \"Week day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"],["header",{"level":3},"messages.recurrenceEditor.weekdays.weekend ",["inlinecode","String"]],["para","The text similar to \"weekend\" displayed in the repeat by section of the monthly recurrence pattern."],["header",{"level":4},"Example - set the \"weekend\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            weekdays: {\r\n                weekend: \"Week day\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>"],["header",{"level":3},"messages.recurrenceEditor.yearly ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence editor yearly messages. Use this option to customize or localize the scheduler recurrence editor yearly messages.\r"],["header",{"level":3},"messages.recurrenceEditor.yearly.of ",["inlinecode","String"]],["para","The text similar to \" of \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"of\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                of: \" of \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.yearly.repeatEvery ",["inlinecode","String"]],["para","The text similar to \"Repeat every: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatEvery\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                repeatEvery: \"Repeat each: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.yearly.repeatOn ",["inlinecode","String"]],["para","The text similar to \"Repeat on: \" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"repeatOn\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                repeatOn: \"repeat on: \"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceEditor.yearly.interval ",["inlinecode","String"]],["para","The text similar to \" year(s)\" displayed in the scheduler recurrence editor.\r"],["header",{"level":4},"Example - set the \"interval\" scheduler recurrence editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceEditor: {\r\n            yearly: {\r\n                interval: \" year(s).\"\r\n            }\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages ",["inlinecode","Object"]],["para","The configuration of the scheduler recurrence messages. Use this option to customize or localize the scheduler recurrence messages.\r"],["header",{"level":3},"messages.recurrenceMessages.deleteRecurring ",["inlinecode","String"]],["para","The text similar to \"Do you want to delete only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteRecurring\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteRecurring: \"Delete only this event occurrence or the whole series?\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.deleteWindowOccurrence ",["inlinecode","String"]],["para","The text similar to \"Delete current occurrence\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowOccurrence\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowOccurrence: \"Delete current event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.deleteWindowSeries ",["inlinecode","String"]],["para","The text similar to \"Delete the series\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowSeries\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowSeries: \"Delete all occurrences\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.deleteWindowTitle ",["inlinecode","String"]],["para","The text similar to \"Delete Recurring Item\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"deleteWindowTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            deleteWindowTitle: \"Delete Recurring event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.editRecurring ",["inlinecode","String"]],["para","The text similar to \"Do you want to edit only this event occurrence or the whole series?\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editRecurring\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editRecurring: \"Do you want to edit only this event or the whole series?\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.editWindowOccurrence ",["inlinecode","String"]],["para","The text similar to \"Edit current occurrence\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowOccurrence\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowOccurrence: \"Edit current event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.editWindowSeries ",["inlinecode","String"]],["para","The text similar to \"Edit the series\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowSeries\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowSeries: \"Edit all occurrences\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.recurrenceMessages.editWindowTitle ",["inlinecode","String"]],["para","The text similar to \"Edit Recurring Item\" displayed in the scheduler event editor.\r"],["header",{"level":4},"Example - set the \"editWindowTitle\" scheduler editor message"],["code_block","<div id=\"scheduler\"></div>"],["para","\r\n    <script>\r\n    $(\"#scheduler\").kendoScheduler({\r\n      date: new Date(\"2013/6/6\"),\r\n      messages: {\r\n        recurrenceMessages: {\r\n            editWindowTitle: \"Edit Recurring Event\"\r\n        }\r\n      },\r\n      dataSource: [\r\n        {\r\n          id: 1,\r\n          start: new Date(\"2013/6/6 08:00 AM\"),\r\n          end: new Date(\"2013/6/6 09:00 AM\"),\r\n          title: \"Interview\"\r\n        }\r\n      ]\r\n    });\r\n    </script>\r"],["header",{"level":3},"messages.views ",["inlinecode","Object"]],["para","The configuration of the scheduler views messages. Use this option to customize or localize the scheduler views messages."],["header",{"level":3},"messages.views.day ",["inlinecode","String"]],["para","The text similar to \"Day\" displayed as scheduler \"day\" view title."],["header",{"level":4},"Example - set the \"day\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        day: \"Today\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.views.week ",["inlinecode","String"]],["para","The text similar to \"Week\" displayed as scheduler \"week\" view title."],["header",{"level":4},"Example - set the \"week\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        week: \"Weekly\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.views.month ",["inlinecode","String"]],["para","The text similar to \"Month\" displayed as scheduler \"month\" view title."],["header",{"level":4},"Example - set the \"month\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        month: \"Monthly\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"messages.views.agenda ",["inlinecode","String"]],["para","The text similar to \"Agenda\" displayed as scheduler \"agenda\" view title."],["header",{"level":4},"Example - set the \"agenda\" view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  messages: {\n    views: {\n        agenda: \"Events list\"\n    }\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"min ",["inlinecode","Date"]," ",["em","(default: 1/1/1900)"]],["para","Constraints the minimum date which can be selected via the scheduler navigation."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  min: new Date(\"1980/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"minorTickCount ",["inlinecode","Number"]," ",["em","(default:2)"]],["para","The number of time slots to display per major tick."],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  minorTickCount: 1, // display one time slot per major tick\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"minorTimeHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["header",{"level":4},"Example - set the minor time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  minorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 't')#</strong>\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"mobile ",["inlinecode","Boolean|String"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," and the scheduler is viewed on mobile browser it will use adaptive rendering."],["para","Can be set to a string ",["inlinecode","phone"]," or ",["inlinecode","tablet"]," which will force the widget to use adaptive rendering regardless of browser type."],["header",{"level":4},"Example - enable adaptive rendering auto detect"],["code_block","<div id=\"scheduler\"></div>\n<script>\n    $(\"#scheduler\").kendoScheduler({\n      date: new Date(\"2013/6/6\"),\n      mobile: true,\n      dataSource: [\n        {\n          id: 1,\n          start: new Date(\"2013/6/6 08:00 AM\"),\n          end: new Date(\"2013/6/6 09:00 AM\"),\n          title: \"Interview\"\n        }\n      ]\n    });\n</script>"],["header",{"level":4},"Example - force adaptive rendering"],["code_block","<div id=\"scheduler\"></div>\n<script>\n    $(\"#scheduler\").kendoScheduler({\n      date: new Date(\"2013/6/6\"),\n      mobile: \"phone\",\n      dataSource: [\n        {\n          id: 1,\n          start: new Date(\"2013/6/6 08:00 AM\"),\n          end: new Date(\"2013/6/6 09:00 AM\"),\n          title: \"Interview\"\n        }\n      ]\n    });\n</script>"],["header",{"level":3},"resources ",["inlinecode","Array"]],["para","The configuration of the scheduler resource(s). A scheduler resource is optional metadata that can be associated\nwith a scheduler event."],["header",{"level":3},"resources.dataColorField ",["inlinecode","String"]," ",["em","(default: \"color\")"]],["para","The field of the resource data item which contains the resource color."],["header",{"level":4},"Example - set the resource data color field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.dataSource ",["inlinecode","Object|Array|kendo.data.DataSource"]],["para","The data source which contains resource data items.  Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"],"\ninstance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/datasource"},"kendo.data.DataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set the resource data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.dataTextField ",["inlinecode","String"]," ",["em","(default: \"text\")"]],["para","The field of the resource data item which represents the resource text."],["header",{"level":4},"Example - set the resource data text field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataTextField: \"room\",\n      dataSource: [\n        { room: \"Small meeting room\", value: 1 },\n        { room: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.dataValueField ",["inlinecode","String"]," ",["em","(default: \"value\")"]],["para","The field of the resource data item which represents the resource value. The resource value is used to link a scheduler event with a resource."],["header",{"level":4},"Example - set the resource data value field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose roomId is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose roomId is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataValueField: \"roomId\"\n      dataSource: [\n        { text: \"Small meeting room\", roomId: 1 },\n        { text: \"Big meeting room\", roomId: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.field ",["inlinecode","String"]],["para","The field of the scheduler event which contains the resource id."],["header",{"level":4},"Example - specify the resource field"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.multiple ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the scheduler event can be assigned multiple instances of the resource. The scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option will contain an array of resources.\nBy default only one resource instance can be assigned to an event."],["header",{"level":4},"Example - multiple resources"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1,\n      atendees: [2, 3] // the resource instances with value 2 and 3 (Bob and Charlie)\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2,\n      atendees: [1, 2] // the resource instances with value 1 and 2 (Alex and Bob)\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    },\n    {\n      field: \"atendees\",\n      multiple: true,\n      dataSource: [\n        { text: \"Alex\", value: 1 },\n        { text: \"Bob\", value: 2 },\n        { text: \"Charlie\", value: 3 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.name ",["inlinecode","String"]],["para","Tha name of the resource used to distinguish resource. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."],["header",{"level":4},"Example - set the resource title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      title: \"Room\",\n      name: \"Room\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.title ",["inlinecode","String"]],["para","The user friendly title of the resource displayed in the scheduler edit form. If not set the value of the ",["link",{"href":"#configuration-resources.field"},"field"]," option is used."],["header",{"level":4},"Example - set the resource title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      title: \"Room\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"resources.valuePrimitive ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Set to ",["inlinecode","false"]," if the scheduler event field specified via the ",["link",{"href":"#configuration-resources.field"},"field"]," option contains a resource data item.\nBy default the scheduler expects that field to contain a primitive value (string, number) which corresponds to the \"value\" of the resource (specified via ",["inlinecode","dataValueField"],")."],["header",{"level":4},"Example - set valuePrimitive to false"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      room: { value: 1 } // the resource field is an object instead of a primitive value\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      room: { value: 2 } // the resource field is an object instead of a primitive value\n    }\n  ],\n  resources: [\n    {\n      field: \"room\",\n      valuePrimitive: false,\n      dataSource: [\n        { text: \"Small meeting room\", value: 1 },\n        { text: \"Big meeting room\", value: 2 }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"selectable ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to true the user would be able to select scheduler cells and events. By default selection is disabled."],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  selectable: true,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"showWorkHours ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  showWorkHours: true,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"snap ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the scheduler will snap events to the nearest slot during dragging (resizing or moving). Set it to ",["inlinecode","false"]," to allow free moving and resizing of events."],["header",{"level":4},"Example - allow free event resizing and moving"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  snap: false,\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"startTime ",["inlinecode","Date"]],["para","The start time of the week and day views. The scheduler will display events starting after the ",["inlinecode","startTime"],"."],["header",{"level":4},"Example - set the start time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  startTime: new Date(\"2013/6/6 08:00\"),\n  endTime: new Date(\"2013/6/6 18:00\")\n  views: [\"day\", \"week\"],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"timezone ",["inlinecode","String"]],["para","The timezone which the scheduler will use to display the scheduler appointment dates. By default the current system timezone is used. This is an acceptable default when the\nscheduler widget is bound to local array of events. It is advisable to specify a timezone if the scheduler is bound to a remote service.\nThat way all users would see the same dates and times no matter their configured system timezone."],["para","The complete list of the supported timezones is available in the ",["link",{"href":"http://en.wikipedia.org/wiki/List_of_IANA_time_zones"},"List of IANA time zones"]," Wikipedia page."],["blockquote",["para","The ",["strong","kendo.timezones.min.js"]," file must be included in order to use timezones other than \"Etc/UTC\"."]],["header",{"level":4},"Example - set the timezone"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n    date: new Date(\"2013/6/13\"),\n    timezone: \"Europe/London\", // Use the London timezone\n    dataSource: {\n        batch: true,\n        transport: {\n            read: {\n                url: \"http://demos.kendoui.com/service/tasks\",\n                dataType: \"jsonp\"\n            },\n            update: {\n                url: \"http://demos.kendoui.com/service/tasks/update\",\n                dataType: \"jsonp\"\n            },\n            create: {\n                url: \"http://demos.kendoui.com/service/tasks/create\",\n                dataType: \"jsonp\"\n            },\n            destroy: {\n                url: \"http://demos.kendoui.com/service/tasks/destroy\",\n                dataType: \"jsonp\"\n            },\n            parameterMap: function(options, operation) {\n                if (operation !== \"read\" && options.models) {\n                    return {models: kendo.stringify(options.models)};\n                }\n            }\n        },\n        schema: {\n            model: {\n                id: \"ID\",\n                fields: {\n                    ID: { type: \"number\" },\n                    title: { from: \"Title\", defaultValue: \"No title\", validation: { required: true } },\n                    start: { type: \"date\", from: \"Start\" },\n                    end: { type: \"date\", from: \"End\" },\n                    description: { from: \"Description\" },\n                    recurrenceId: { from: \"RecurrenceID\" },\n                    recurrenceRule: { from: \"RecurrenceRule\" },\n                    recurrenceException: { from: \"RecurrenceException\" },\n                    ownerId: { from: \"OwnerID\", defaultValue: 1 },\n                    isAllDay: { type: \"boolean\", from: \"IsAllDay\" }\n                }\n            }\n        }\n    }\n});\n</script>"],["header",{"level":3},"views ",["inlinecode","Array"]],["para","The views displayed by the scheduler and their configuration. The array items can be either objects specifying the view configuration or strings representing the view types (assuming default configuration).\nBy default the Kendo UI Scheduler widget displays \"day\" and \"week\" view."],["header",{"level":4},"Example - set views as array of strings"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ], // day and month views\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set views as array of objects"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" },\n    { type: \"month\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.allDayEventTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the \"all day\" scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","allDayEventTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the all day event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDayEventTemplate: $(\"#event-template\").html()\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      isAllDay: true,\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.allDaySlot ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the scheduler will display a slot for \"all day\" events."],["blockquote",["para","The ",["inlinecode","allDaySlot"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - hide the all day slot"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDaySlot: false\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.allDaySlotTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the all day slot cell."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date."]],["blockquote",["para","The ",["inlinecode","allDaySlotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      allDaySlotTemplate: kendo.template(\"<strong>#=kendo.toString(date)#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.dateHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the date header cells."],["para","By default the scheduler renders the date using the current culture date format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","dateHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      dateHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'd')#</strong>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.dayTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the day slots in month view."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the current day"]],["blockquote",["para","The ",["inlinecode","dayTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]],["header",{"level":4},"Example - set the day template in month view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"month\",\n      dayTemplate: kendo.template(\"<strong>#= kendo.toString(date, 'ddd') #</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.editable ",["inlinecode","Boolean|Object"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user would be able to create new scheduler events and modify or delete existing ones."],["para","Overrides the ",["link",{"href":"#configuration-editable"},"editable"]," option of the scheduler."],["header",{"level":4},"Example - disable view editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: false\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.editable.create ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can create new events. Creating is enabled by default."],["header",{"level":4},"Example - disable event creating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        create: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.editable.destroy ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can delete events from the view by clicking the \"destroy\" button. Deleting is enabled by default."],["header",{"level":4},"Example - disable event deleting"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        destroy: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.editable.update ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","true"]," the user can update events. Updating is enabled by default."],["header",{"level":4},"Example - disable event updating"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      editable: {\n        update: false\n      }\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.endTime ",["inlinecode","Date"]],["para","The end time of the view. The scheduler will display events ending before the ",["inlinecode","endTime"],"."],["header",{"level":4},"Example - set the end time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      startTime: new Date(\"2013/6/6 08:00\"),\n      endTime: new Date(\"2013/6/6 18:00\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.eventDateTemplate"],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the date of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date ",["inlinecode","Date"]," - represents the event date."]],["blockquote",["para","The ",["inlinecode","eventDateTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]],["header",{"level":4},"Example - set the event date template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"agenda\",\n      eventDateTemplate: kendo.template(\"<strong>#= kendo.toString(date, 'dd-MM-yyyy')#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.eventHeight ",["inlinecode","Number"]," ",["em","(default: 25)"]],["para","The height of the scheduler event rendered in month view."],["blockquote",["para","The ",["inlinecode","eventHeight"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"month\"."]],["header",{"level":4},"Example - set the event height in month view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"month\",\n      eventHeight: 40\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  height: 1000\n});\n</script>"],["header",{"level":3},"views.eventTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the view to render the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["header",{"level":4},"Example - set the event template"],["code_block","<script id=\"event-template\" type=\"text/x-kendo-template\">\n  <div>Title: #: title #</div>\n  <div>Atendees:\n      # for (var i = 0; i < resources.length; i++) { #\n        #: resources[i].text #\n      # } #\n  </div>\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      eventTemplate: $(\"#event-template\").html()\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      atendees: [1,2]\n    }\n  ],\n  resources: [\n    {\n      field: \"atendees\",\n      dataSource: [\n       { value: 1, text: \"Alex\" },\n       { value: 2, text: \"Bob\" }\n      ],\n      multiple: true\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.eventTimeTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used by the agenda view to render the time of the scheduler events."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","description ",["inlinecode","String"]," - the event description"],["listitem","end ",["inlinecode","Date"]," - the event end date"],["listitem","isAllDay ",["inlinecode","Boolean"]," - if true the event is \"all day\""],["listitem","resources ",["inlinecode","Array"]," - the event resources"],["listitem","start ",["inlinecode","Date"]," - the event start date"],["listitem","title ",["inlinecode","String"]," - the event title"]],["blockquote",["para","The ",["inlinecode","eventTimeTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"agenda\"."]],["header",{"level":4},"Example - set the event time template"],["code_block","<script id=\"event-time-template\" type=\"text/x-kendo-template\">\n  # if (isAllDay) { #\n     All day\n  # } else { #\n     #= kendo.toString(start, \"t\") # - #= kendo.toString(end, \"t\") #\n  # }  #\n</script>\n<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"agenda\",\n      eventTimeTemplate: $(\"#event-time-template\").html(),\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.group ",["inlinecode","Object"]],["para","The configuration of the view resource(s) grouping."],["header",{"level":3},"views.group.orientation ",["inlinecode","String"]," ",["em","(default: \"horizontal\")"]],["para","The orientation of the group headers. Supported values are ",["em","horizontal"]," or ",["em","vertical"],". Note that the agenda view is always in vertical orientation."],["header",{"level":4},"Example - disable delete confirmation"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n        type: \"month\",\n        group: {\n            orientation: \"vertical\"\n        }\n    }\n  ],\n  group: {\n    resources: [\"Rooms\"]\n  },\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\",\n      roomId: 1 // the event is held in \"Small meeting room\" whose value is 1\n    },\n    {\n      id: 2,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Meeting\",\n      roomId: 2 // the event is held in \"Big meeting room\" whose value is 2\n    }\n  ],\n  resources: [\n    {\n      field: \"roomId\",\n      name: \"Rooms\",\n      dataColorField: \"key\",\n      dataSource: [\n        { text: \"Small meeting room\", value: 1, key: \"#aabbcc\" },\n        { text: \"Big meeting room\", value: 2, key: \"green\" }\n      ]\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.majorTick ",["inlinecode","Number"]," ",["em","(default: 60)"]],["para","The number of minutes represented by a major tick."],["blockquote",["para","The ",["inlinecode","majorTick"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the major tick"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      majorTick: 120 // a major tick represents 120 minutes (2 hours)\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.majorTimeHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the major ticks."],["para","By default the scheduler renders the time using the current culture time format."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","majorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the major time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      majorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 'h')#</strong><sup>00</sup>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.minorTickCount ",["inlinecode","Number"]," ",["em","(default:2)"]],["para","The number of time slots to display per major tick."],["blockquote",["para","The ",["inlinecode","minorTickCount"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the number of time slots"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      minorTickCount: 1 // display one time slot per major tick\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.minorTimeHeaderTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the minor ticks."],["para","By default the scheduler renders a ",["inlinecode","\"&nbsp;\""],"."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the major tick date."]],["blockquote",["para","The ",["inlinecode","minorTimeHeaderTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the minor time header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      minorTimeHeaderTemplate: kendo.template(\"<strong>#=kendo.toString(date, 't')#</strong>\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.selected ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to ",["inlinecode","true"]," the view will be initially selected by the scheduler widget."],["blockquote",["para","If more than one view is selected then last of them will prevail."]],["header",{"level":4},"Example - select a view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" },\n    { type: \"month\", selected: true }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.selectedDateFormat ",["inlinecode","String"]],["para","The format used to display the selected date. Uses ",["link",{"href":"/api/framework/kendo#methods-format"},"kendo.format"],"."],["para","Contains two placeholders - \"{0}\" and \"{1}\" which represent the start and end date displayed by the view."],["header",{"level":4},"Example - set the selectedDateFormat"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      selectedDateFormat: \"{0:dd-MM-yyyy}\"\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.showWorkHours ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","If set to true the view will be initially shown in business hours mode. By default view is displyed in full day mode."],["blockquote",["para","The ",["inlinecode","showWorkHours"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - enable selection"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ { type: \"day\", showWorkHours: true }, \"week\"]\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.slotTemplate ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," used to render the time slot cells."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","date - represents the slot date and time."]],["blockquote",["para","The ",["inlinecode","slotTemplate"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the date header template"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      slotTemplate: kendo.template(\"<strong>#=kendo.toString(date)#</strong>\")\n    }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.startTime ",["inlinecode","Date"]],["para","The start time of the view. The scheduler will display events starting after the ",["inlinecode","startTime"],"."],["header",{"level":4},"Example - set the start time"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      startTime: new Date(\"2013/6/6 08:00\"),\n      endTime: new Date(\"2013/6/6 18:00\")\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.title ",["inlinecode","String"]],["para","The user-friendly title of the view displayed by the scheduler."],["header",{"level":4},"Example - set the view title"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    {\n      type: \"day\",\n      title: \"Today\",\n    },\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.type ",["inlinecode","String"]],["para","The type of the view. The built-in views are: \"day\", \"week\", \"month\" and \"agenda\"."],["header",{"level":4},"Example - set the view type"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"day\" }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"views.workWeekStart ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the start day of the work week to Tuesday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"week\", workWeekStart: 2 }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"views.workWeekEnd ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the end day of the work week to Saturday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [\n    { type: \"week\", workWeekEnd: 6 }\n  ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"width ",["inlinecode","Number|String"]],["para","The width of the widget. Numeric values are treated as pixels."],["header",{"level":4},"Example - set the width of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  width: 500,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"workDayStart ",["inlinecode","Date"]],["para","Sets the start of the work day when the  \"Show business hours\" button is clicked."],["header",{"level":4},"Example - set the workDayStart of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workDayStart: new Date(\"2013/1/1 09:00 AM\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":3},"workDayEnd ",["inlinecode","Date"]],["para","Sets the end of the work day when the  \"Show business hours\" button is clicked."],["header",{"level":4},"Example - set the workDayEnd of the scheduler"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workDayEnd: new Date(\"2013/1/1 5:00 PM\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"workWeekStart ",["inlinecode","Number"]," ",["em","(default: 1)"]],["para","The start of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekStart"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the start day of the work week to Tuesday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workWeekStart: 2,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["para","\r"],["header",{"level":3},"workWeekEnd ",["inlinecode","Number"]," ",["em","(default: 5)"]],["para","The end of working week (index based)."],["blockquote",["para","The ",["inlinecode","workWeekEnd"]," option is supported when ",["link",{"href":"#configuration-views.type"},"views.type"]," is set to \"day\" or \"week\"."]],["header",{"level":4},"Example - set the end day of the work week to Saturday"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  workWeekEnd: 6,\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"dataSource ",["inlinecode","kendo.data.SchedulerDataSource"]],["para","The ",["link",{"href":"/api/framework/schedulerdatasource"},"data source"]," of the widget. Configured via the ",["link",{"href":"#configuration-dataSource"},"dataSource"]," option."],["blockquote",["para","Changes of the data source will be reflected in the widget."],["para","Assigning a new data source would have no effect. Use the ",["link",{"href":"#methods-setDataSource"},"setDataSource"]," method instead."]],["header",{"level":4},"Example - add a data item to the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.dataSource.add( {\n  start: new Date(\"2013/6/6 08:00 AM\"),\n  end: new Date(\"2013/6/6 09:00 AM\"),\n  title: \"Interview\"\n});\n</script>"],["header",{"level":4},"Example - update a data item in the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nevent.set(\"end\", new Date(\"2013/6/6 10:00 AM\"));\n</script>"],["header",{"level":4},"Example - remove a data item from the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.dataSource.remove(event);\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"addEvent"],["para","Adds a new scheduler event and opens the edit form."],["header",{"level":4},"Parameters"],["header",{"level":5},"data ",["inlinecode","Object"]],["para","The object containing the scheduler event fields."],["header",{"level":4},"Example - add a new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\n</script>"],["header",{"level":3},"cancelEvent"],["para","Cancels the scheduler event editing. Closes the edit form."],["header",{"level":4},"Example - cancel editing"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.cancelEvent();\n</script>"],["header",{"level":3},"date"],["para","Gets or sets the current scheduler date."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date"]," ",["em","(optional)"]],["para","The new date to set."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," the current date."],["header",{"level":4},"Example - set the current date"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.date(new Date(\"2013/6/6\"));\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.destroy();\n</script>"],["header",{"level":3},"editEvent"],["para","Opens the specified scheduler event in the edit form."],["header",{"level":4},"Parameters"],["header",{"level":5},"event ",["inlinecode","String|kendo.data.SchedulerEvent"]],["para","The event which should be put in edit mode. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be edited."],["header",{"level":4},"Example - edit an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.editEvent(event);\n</script>"],["header",{"level":3},"removeEvent"],["para","Removes the specified scheduler event."],["header",{"level":4},"Parameters"],["header",{"level":5},"event ",["inlinecode","String|kendo.data.SchedulerEvent"]],["para","The event which should be removed. Also accepts a string which is the ",["inlinecode","uid"]," of the event which should be removed."],["header",{"level":4},"Example - remove an event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar event = scheduler.dataSource.at(0);\nscheduler.removeEvent(event);\n</script>"],["header",{"level":3},"saveEvent"],["para","Saves the scheduler event which is open in the edit form and closes it."],["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.addEvent({ title: \"(No title)\" });\nscheduler.saveEvent();\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets the data source of the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.SchedulerDataSource"]],["para","The data source to which the widget should be bound."],["header",{"level":4},"Example - set the data source"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar dataSource = new kendo.data.SchedulerDataSource({\n  data: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nscheduler.setDataSource(dataSource);\n</script>"],["para","\r"],["header",{"level":3},"slotByPosition"],["para","Get the time slot from given horizontal (x) and vertical (y) position."],["header",{"level":4},"Parameters"],["header",{"level":5},"xPosition ",["inlinecode","Number"]],["para","The horizontal position."],["header",{"level":5},"yPosition ",["inlinecode","Number"]],["para","The vertical position."],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The time slot."],["header",{"level":4},"Example - get slot and it's startDate and endDate"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar slot = scheduler.slotByPosition(100,100);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"],["para","\r"],["header",{"level":3},"slotByElement"],["para","Get the time slot from given element."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","Element|jQuery"]],["header",{"level":4},"Returns"],["para",["inlinecode","Object"]," The time slot."],["header",{"level":4},"Example - save an new event"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\")\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nvar element = scheduler.view().content.find(\"tr:first td:first\");\nvar slot = scheduler.slotByElement(element);\n\nconsole.log(\"slot startDate: \" + slot.startDate);\nconsole.log(\"slot endDate: \" + slot.endDate);\n</script>"],["header",{"level":3},"view"],["para","Gets or sets the current scheduler view."],["header",{"level":4},"Parameters"],["header",{"level":5},"type ",["inlinecode","String"]," ",["em","(optional)"]],["para","The view type to select."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.SchedulerView"]," the current scheduler view."],["header",{"level":4},"Example - set the current view"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.view(\"month\");\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"add"],["para","Fired when the a new event is about to be added."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","Object"]],["para","The event data from which the SchedulerEvent instance will be created and added to the DataSource."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the add action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"add\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  add: function(e) {\n    console.log(\"Add\", e.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"add\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_add(e) {\n  console.log(\"Add\", e.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"add\", scheduler_add);\n</script>"],["header",{"level":3},"cancel"],["para","Fired when the user cancels editing by clicking the \"cancel\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is no longer in edit mode."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the cancel action. The scheduler event remains in edit mode."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"cancel\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  cancel: function(e) {\n    console.log(\"Cancelling\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"cancel\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_cancel(e) {\n  console.log(\"Cancelling\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"cancel\", scheduler_cancel);\n</script>"],["header",{"level":3},"change"],["para","Fired when the user selects a cell or event in the scheduler."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.start ",["inlinecode","Date"]],["para","The selection start date."],["header",{"level":5},"e.end ",["inlinecode","Date"]],["para","The selection end date."],["header",{"level":5},"e.events ",["inlinecode","Array"]],["para","A list of the selected ",["link",{"href":"/api/framework/schedulerevent"},"scheduler events"],"."],["header",{"level":5},"e.slots ",["inlinecode","Array"]],["para","A list of the selected slots. Each slot has the following properties:"],["bulletlist",["listitem",["para",["strong","slot.start"],"\n    - The slot's start date."]],["listitem",["para",["strong","slot.end"],"\n    - The slot's end date."]],["listitem",["para",["strong","slot.element"],"\n    - The slot's element."]]],["header",{"level":5},"e.resources ",["inlinecode","Object"]],["para","The resources for the slot if resource grouping is enabled."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  change: function(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_change(e) {\n    var start = e.start;\n    var end = e.end;\n\n    console.log(kendo.format(\"Selection between {0:g} and {1:g}\", start, end));\n}\n\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"change\", scheduler_change);\n</script>"],["header",{"level":3},"dataBinding"],["para","Fired before the widget binds to its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBinding: function(e) {\n    console.log(\"dataBinding\"));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBinding\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBinding(e) {\n    console.log(\"dataBinding\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBinding\", scheduler_dataBinding);\n</script>"],["header",{"level":3},"dataBound"],["para","Fired when the widget is bound to data from its data source."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  dataBound: function(e) {\n    console.log(\"dataBound\"));\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_dataBound(e) {\n    console.log(\"dataBound\"));\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"dataBound\", scheduler_dataBound);\n</script>"],["header",{"level":3},"edit"],["para","Fired when the user opens a scheduler event in edit mode by or creates a new event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being edited."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the edit action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"edit\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  edit: function(e) {\n    console.log(\"Editing\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"edit\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_edit(e) {\n  console.log(\"Editing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"edit\", scheduler_edit);\n</script>"],["header",{"level":3},"moveStart"],["para","Fired when the user starts to drag an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"moveStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveStart: function(e) {\n    console.log(\"Move Start\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"moveStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveStart(e) {\n  console.log(\"Move Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveStart\", scheduler_moveStart);\n</script>"],["header",{"level":3},"move"],["para","Fired when the user is moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"move\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  move: function(e) {\n    console.log(\"Move\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"move\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_move(e) {\n  console.log(\"Move\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"move\", scheduler_move);\n</script>"],["header",{"level":3},"moveEnd"],["para","Fired when the user stops moving an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being moved."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is currently positioned."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the move action."],["header",{"level":5},"e.resources ",["inlinecode","Object"]],["para","The resources for the slot if resource grouping is enabled."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"moveEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  moveEnd: function(e) {\n    console.log(\"MoveEnd\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"moveEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_moveEnd(e) {\n  console.log(\"MoveEnd\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"moveEnd\", scheduler_moveEnd);\n</script>"],["header",{"level":3},"navigate"],["para","Fired when the user changes selected date, view or of the scheduler"],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.action ",["inlinecode","String"]],["para","Name of the action. Possible values are:"],["bulletlist",["listitem","changeView - navigate to diffrent view"],["listitem","next - navigate to next time period"],["listitem","previous - navigate to previous time period"],["listitem","today - select today's date"],["listitem","changeDate - a date is selected via the Calendar"]],["header",{"level":5},"e.date ",["inlinecode","Date"]],["para","Selected date"],["header",{"level":5},"e.view ",["inlinecode","String"]],["para","Name of the view"],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  navigate: function(e) {\n    console.log(\"navigate\", e.date);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_navigate(e) {\n  console.log(\"navigate\", e.date);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"navigate\", scheduler_navigate);\n</script>"],["header",{"level":3},"remove"],["para","Fired when the user clicks the \"destroy\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being removed."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the remove action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"remove\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  remove: function(e) {\n    console.log(\"Removing\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"remove\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_remove(e) {\n  console.log(\"Removing\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"remove\", scheduler_remove);\n</script>"],["header",{"level":3},"resizeStart"],["para","Fired when the user starts to resize an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resizeStart\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeStart: function(e) {\n    console.log(\"Resize Start\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resizeStart\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeStart(e) {\n  console.log(\"Resize Start\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeStart\", scheduler_resizeStart);\n</script>"],["header",{"level":3},"resize"],["para","Fired when the user is resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resize: function(e) {\n    console.log(\"Resize\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resize(e) {\n  console.log(\"Resize\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resize\", scheduler_resize);\n</script>"],["header",{"level":3},"resizeEnd"],["para","Fired when the user releases the mouse after resizing an event."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is being resized."],["header",{"level":5},"e.slot ",["inlinecode","Object"]],["para","The slot over which the event is resized to."],["header",{"level":6},"e.slot.element ",["inlinecode","jQuery"]],["para","The slot's element."],["header",{"level":6},"e.slot.start ",["inlinecode","Date"]],["para","The slot's start date."],["header",{"level":6},"e.slot.end ",["inlinecode","Date"]],["para","The slot's end date."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the resize action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  resizeEnd: function(e) {\n    console.log(\"Resize End\", e.slot.start);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resizeEnd\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_resizeEnd(e) {\n  console.log(\"Resize End\", e.slot.start);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"resizeEnd\", scheduler_resizeEnd);\n</script>"],["header",{"level":3},"save"],["para","Fired when the user saves a scheduler event by clicking the \"save\" button."],["para","The event handler function context (available via the ",["inlinecode","this"]," keyword) will be set to the widget instance."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.container ",["inlinecode","jQuery"]],["para","The jQuery object representing the container element. That element contains the editing UI."],["header",{"level":5},"e.event ",["inlinecode","kendo.data.SchedulerEvent"]],["para","The event which is saved."],["header",{"level":5},"e.preventDefault ",["inlinecode","Function"]],["para","If invoked prevents the save action."],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.Scheduler"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"save\" event during initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ],\n  save: function(e) {\n    console.log(\"Saving\", e.event.title);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"save\" event after initialization"],["code_block","<div id=\"scheduler\"></div>\n<script>\nfunction scheduler_save(e) {\n  console.log(\"Saving\", e.event.title);\n}\n$(\"#scheduler\").kendoScheduler({\n  date: new Date(\"2013/6/6\"),\n  views: [ \"day\", \"month\" ],\n  dataSource: [\n    {\n      id: 1,\n      start: new Date(\"2013/6/6 08:00 AM\"),\n      end: new Date(\"2013/6/6 09:00 AM\"),\n      title: \"Interview\"\n    }\n  ]\n});\nvar scheduler = $(\"#scheduler\").data(\"kendoScheduler\");\nscheduler.bind(\"save\", scheduler_save);\n</script>"]]},"kendo.ui.Slider":{"file":"api/web/slider.md","name":"kendo.ui.Slider","config":[{"name":"decreaseButtonTitle","type":["String"],"default":"\"Decrease\"","short_doc":[["para","The title of the decrease button of the ",["strong","Slider"],"."]],"doc":[["para","The title of the decrease button of the ",["strong","Slider"],"."]]},{"name":"increaseButtonTitle","type":["String"],"default":"\"Increase\"","short_doc":[["para","The title of the increase button of the ",["strong","Slider"],"."]],"doc":[["para","The title of the increase button of the ",["strong","Slider"],"."]]},{"name":"largeStep","type":["Number"],"default":"5","short_doc":[["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."]],"doc":[["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."]]},{"name":"max","type":["Number"],"default":"10","short_doc":[["para","The maximum value of the ",["strong","Slider"],"."]],"doc":[["para","The maximum value of the ",["strong","Slider"],"."]]},{"name":"min","type":["Number"],"default":"0","short_doc":[["para","The minimum value of the ",["strong","Slider"],"."]],"doc":[["para","The minimum value of the ",["strong","Slider"],"."]]},{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","The orientation of a ",["strong","Slider"],": ",["strong","\"horizontal\""]," or ",["strong","\"vertical\""],"."]],"doc":[["para","The orientation of a ",["strong","Slider"],": ",["strong","\"horizontal\""]," or ",["strong","\"vertical\""],"."]]},{"name":"showButtons","type":["Boolean"],"default":"true","short_doc":[["para","Can be used to show (",["strong","true"],") or hide (",["strong","false"],") the\nincrease and decrease buttons of a ",["strong","Slider"],"."]],"doc":[["para","Can be used to show (",["strong","true"],") or hide (",["strong","false"],") the\nincrease and decrease buttons of a ",["strong","Slider"],"."]]},{"name":"smallStep","type":["Number"],"default":"1","short_doc":[["para","The small step value of the ",["strong","Slider"],". The underlying value will be changed when the end user\n(1) clicks on the increase or decrease buttons of the ",["strong","Slider"],", (2) presses the arrow keys\n(the drag handle must be focused), or (3) drags the drag handle."]],"doc":[["para","The small step value of the ",["strong","Slider"],". The underlying value will be changed when the end user\n(1) clicks on the increase or decrease buttons of the ",["strong","Slider"],", (2) presses the arrow keys\n(the drag handle must be focused), or (3) drags the drag handle."]]},{"name":"tickPlacement","type":["String"],"default":"\"both\"","short_doc":[["para","Denotes the location of the tick marks in the ",["strong","Slider"],". The available options are:"]],"doc":[["para","Denotes the location of the tick marks in the ",["strong","Slider"],". The available options are:"],["header",{"level":4},["em","\"topLeft\""]],["para","Tick marks are located on the top of the horizontal widget or on the left of\n  the vertical widget."],["header",{"level":4},["em","\"bottomRight\""]],["para","Tick marks are located on the bottom of the horizontal widget or on the\n  right side of the vertical widget."],["header",{"level":4},["em","\"both\""]],["para","Tick marks are located on both sides of the widget."],["header",{"level":4},["em","\"none\""]],["para","Tick marks are not visible."]]},{"name":"tooltip","type":["Object"],"short_doc":[["para","Configuration of the ",["strong","Slider"]," tooltip."]],"doc":[["para","Configuration of the ",["strong","Slider"]," tooltip."]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template:"],["bulletlist",["listitem",["strong","value"]," - the current value when using a regular slider"],["listitem",["strong","selectionStart"]," and ",["strong","selectionEnd"]," - the current values when using a range slider"]]],"doc":[["para","Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template:"],["bulletlist",["listitem",["strong","value"]," - the current value when using a regular slider"],["listitem",["strong","selectionStart"]," and ",["strong","selectionEnd"]," - the current values when using a range slider"]],["header",{"level":4},"Example - using RangeSlider template"],["code_block","// the following template definitions are identical and represent the default RangeSlider template\n\nvar templateString = \"#= selectionStart # - #= selectionEnd #\";\n// or\n// var templateString = \"# return selectionStart  + ' - ' + selectionEnd #\";\n\n$(\"#rangeslider\").kendoRangeSlider({\n\tmin: 0,\n\tmax: 100,\n\ttooltip: {\n\t\ttemplate: kendo.template(templateString)\n\t}\n});"]],"orig":"tooltip.template"},{"name":"format","type":["String"],"default":"\"{0}\"","short_doc":[["para","Format string for the text of the tooltip. Note: The applied\nformat will also influence the appearance of the ",["strong","Slider"],"\ntick labels."]],"doc":[["para","Format string for the text of the tooltip. Note: The applied\nformat will also influence the appearance of the ",["strong","Slider"],"\ntick labels."]],"orig":"tooltip.format"},{"name":"enabled","type":["Boolean"],"default":"true","short_doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of\nthe ",["strong","Slider"],"."]],"doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of\nthe ",["strong","Slider"],"."]],"orig":"tooltip.enabled"}]},{"name":"value","type":["Number"],"short_doc":[["para","The underlying value of the ",["strong","Slider"],"."]],"doc":[["para","The underlying value of the ",["strong","Slider"],"."]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Slider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."]],"doc":[["para","Prepares the ",["strong","Slider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#slider\").data(\"kendoSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#slider\").closest(\".k-slider\").remove();"]],"examples":[[["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#slider\").data(\"kendoSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#slider\").closest(\".k-slider\").remove();"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","The argument, which defines whether to enable/disable the ",["strong","Slider"],"."]],"doc":[["para","The argument, which defines whether to enable/disable the ",["strong","Slider"],"."]]}],"short_doc":[["para","Enable/Disable the ",["strong","Slider"]," widget."]],"doc":[["para","Enable/Disable the ",["strong","Slider"]," widget."],["header",{"level":4},"Example"],["code_block","// get a reference to the slider widget\nvar slider = $(\"#slider\").data(\"kendoSlider\");\n\n// disables the slider\nslider.enable(false);\n\n// enables the slider\nslider.enable(true);"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","Slider"],"."]],"examples":[[["header",{"level":4},"Example"],["code_block","// get a reference to the slider widget\nvar slider = $(\"#slider\").data(\"kendoSlider\");\n\n// disables the slider\nslider.enable(false);\n\n// enables the slider\nslider.enable(true);"]]]},{"name":"value","args":[{"name":"value","type":["String"],"short_doc":[["para",["em","optional, default: "]],["para","The value to be set for a Slider."]],"doc":[["para",["em","optional, default: "]],["para","The value to be set for a Slider."]]}],"short_doc":[["para","Gets or sets the value of a ",["strong","Slider"],". It accepts a string or number as parameters and returns\na number representing the underlying value."]],"doc":[["para","Gets or sets the value of a ",["strong","Slider"],". It accepts a string or number as parameters and returns\na number representing the underlying value."],["header",{"level":4},"Example"],["code_block","var slider = $(\"#slider\").data(\"kendoSlider\");\nvar sliderValue = slider.value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para",["em","optional, default: "]],["para","The value to be set for a Slider."]],"examples":[[["header",{"level":4},"Example"],["code_block","var slider = $(\"#slider\").data(\"kendoSlider\");\nvar sliderValue = slider.value();"]]]}],"events":[{"name":"change","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","Represents the updated value of the slider."]],"doc":[["para","Represents the updated value of the slider."]]}],"short_doc":[["para","Fires when the slider value changes as a result of selecting a new value with the drag handle, buttons or keyboard."]],"doc":[["para","Fires when the slider value changes as a result of selecting a new value with the drag handle, buttons or keyboard."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the updated value of the slider."]],"examples":[],"type":["Function"]},{"name":"slide","args":[{"name":"e.value","type":["Number"],"short_doc":[["para","Represents the value from the current position of the drag handle."]],"doc":[["para","Represents the value from the current position of the drag handle."]]}],"short_doc":[["para","Fires when the user drags the drag handle to a new position."]],"doc":[["para","Fires when the user drags the drag handle to a new position."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the value from the current position of the drag handle."]],"examples":[],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Slider widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Slider widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"decreaseButtonTitle ",["inlinecode","String"],["em","(default: \"Decrease\")"]],["para","The title of the decrease button of the ",["strong","Slider"],"."],["header",{"level":3},"increaseButtonTitle ",["inlinecode","String"],["em","(default: \"Increase\")"]],["para","The title of the increase button of the ",["strong","Slider"],"."],["header",{"level":3},"largeStep ",["inlinecode","Number"],["em","(default: 5)"]],["para","The delta with which the value will change when the user presses the Page Up or Page Down key (the drag\nhandle must be focused). Note: The allied largeStep will also set large tick for every large step."],["header",{"level":3},"max ",["inlinecode","Number"],["em","(default: 10)"]],["para","The maximum value of the ",["strong","Slider"],"."],["header",{"level":3},"min ",["inlinecode","Number"],["em","(default: 0)"]],["para","The minimum value of the ",["strong","Slider"],"."],["header",{"level":3},"orientation ",["inlinecode","String"],["em","(default: \"horizontal\")"]],["para","The orientation of a ",["strong","Slider"],": ",["strong","\"horizontal\""]," or ",["strong","\"vertical\""],"."],["header",{"level":3},"showButtons ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Can be used to show (",["strong","true"],") or hide (",["strong","false"],") the\nincrease and decrease buttons of a ",["strong","Slider"],"."],["header",{"level":3},"smallStep ",["inlinecode","Number"],["em","(default: 1)"]],["para","The small step value of the ",["strong","Slider"],". The underlying value will be changed when the end user\n(1) clicks on the increase or decrease buttons of the ",["strong","Slider"],", (2) presses the arrow keys\n(the drag handle must be focused), or (3) drags the drag handle."],["header",{"level":3},"tickPlacement ",["inlinecode","String"],["em","(default: \"both\")"]],["para","Denotes the location of the tick marks in the ",["strong","Slider"],". The available options are:"],["header",{"level":4},["em","\"topLeft\""]],["para","Tick marks are located on the top of the horizontal widget or on the left of\n  the vertical widget."],["header",{"level":4},["em","\"bottomRight\""]],["para","Tick marks are located on the bottom of the horizontal widget or on the\n  right side of the vertical widget."],["header",{"level":4},["em","\"both\""]],["para","Tick marks are located on both sides of the widget."],["header",{"level":4},["em","\"none\""]],["para","Tick marks are not visible."],["header",{"level":3},"tooltip ",["inlinecode","Object"]],["para","Configuration of the ",["strong","Slider"]," tooltip."],["header",{"level":3},"tooltip.enabled ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Disables (",["strong","false"],") or enables (",["strong","true"],") the tooltip of\nthe ",["strong","Slider"],"."],["header",{"level":3},"tooltip.format ",["inlinecode","String"],["em","(default: \"{0}\")"]],["para","Format string for the text of the tooltip. Note: The applied\nformat will also influence the appearance of the ",["strong","Slider"],"\ntick labels."],["header",{"level":3},"tooltip.template ",["inlinecode","String"]],["para","Template of the tooltip. The following variables are passed by the Slider and are ready to be used inside the template:"],["bulletlist",["listitem",["strong","value"]," - the current value when using a regular slider"],["listitem",["strong","selectionStart"]," and ",["strong","selectionEnd"]," - the current values when using a range slider"]],["header",{"level":4},"Example - using RangeSlider template"],["code_block","// the following template definitions are identical and represent the default RangeSlider template\n\nvar templateString = \"#= selectionStart # - #= selectionEnd #\";\n// or\n// var templateString = \"# return selectionStart  + ' - ' + selectionEnd #\";\n\n$(\"#rangeslider\").kendoRangeSlider({\n\tmin: 0,\n\tmax: 100,\n\ttooltip: {\n\t\ttemplate: kendo.template(templateString)\n\t}\n});"],["header",{"level":3},"value ",["inlinecode","Number"]],["para","The underlying value of the ",["strong","Slider"],"."],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Slider"]," for safe removal from the DOM."],["para","Detaches event handlers and removes data entries in order to avoid memory leaks."],["header",{"level":4},"Example"],["code_block","// deatach events\n$(\"#slider\").data(\"kendoSlider\").destroy();\n\n// remove slider html from DOM\n$(\"#slider\").closest(\".k-slider\").remove();"],["header",{"level":3},"enable"],["para","Enable/Disable the ",["strong","Slider"]," widget."],["header",{"level":4},"Example"],["code_block","// get a reference to the slider widget\nvar slider = $(\"#slider\").data(\"kendoSlider\");\n\n// disables the slider\nslider.enable(false);\n\n// enables the slider\nslider.enable(true);"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","The argument, which defines whether to enable/disable the ",["strong","Slider"],"."],["header",{"level":3},"value"],["para","Gets or sets the value of a ",["strong","Slider"],". It accepts a string or number as parameters and returns\na number representing the underlying value."],["header",{"level":4},"Example"],["code_block","var slider = $(\"#slider\").data(\"kendoSlider\");\nvar sliderValue = slider.value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","String"]],["para",["em","optional, default: "]],["para","The value to be set for a Slider."],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the slider value changes as a result of selecting a new value with the drag handle, buttons or keyboard."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the updated value of the slider."],["header",{"level":3},"slide"],["para","Fires when the user drags the drag handle to a new position."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.value ",["inlinecode","Number"]],["para","Represents the value from the current position of the drag handle."]]},"kendo.ui.Splitter":{"file":"api/web/splitter.md","name":"kendo.ui.Splitter","config":[{"name":"orientation","type":["String"],"default":"\"horizontal\"","short_doc":[["para","Specifies the orientation of the widget. Supported values are ",["em","\"horizontal\""]," and ",["em","\"vertical\""],"."]],"doc":[["para","Specifies the orientation of the widget. Supported values are ",["em","\"horizontal\""]," and ",["em","\"vertical\""],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  orientation: \"vertical\"\n});\n</script>"]]},{"name":"panes","type":["Array"],"short_doc":[["para","An array of pane definitions."]],"doc":[["para","An array of pane definitions."]],"sub":[{"name":"size","type":["String"],"short_doc":[["para","Specifies the size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nIt is recommended that one pane is left without size in order to compensate for changes in the viewport size.\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."]],"doc":[["para","Specifies the size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nIt is recommended that one pane is left without size in order to compensate for changes in the viewport size.\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { size: \"10%\" }, {} ]\n});\n</script>"]],"orig":"panes.size"},{"name":"scrollable","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether a pane is scrollable (",["strong","true"],") or not scrollable (",["strong","false"],")."]],"doc":[["para","Specifies whether a pane is scrollable (",["strong","true"],") or not scrollable (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { scrollable: false }, {} ]\n});\n</script>"]],"orig":"panes.scrollable"},{"name":"resizable","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether a pane is resizable (",["strong","true"],") or not resizable (",["strong","false"],")."]],"doc":[["para","Specifies whether a pane is resizable (",["strong","true"],") or not resizable (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { resizable: false }, { resizable: false } ]\n});\n</script>"]],"orig":"panes.resizable"},{"name":"min","type":["String"],"short_doc":[["para","Specifies the minimum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot be less than the defined minimum size."]],"doc":[["para","Specifies the minimum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot be less than the defined minimum size."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { min: \"100px\" }, {} ]\n});\n</script>"]],"orig":"panes.min"},{"name":"max","type":["String"],"short_doc":[["para","Specifies the maximum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot exceed the defined maximum size."]],"doc":[["para","Specifies the maximum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot exceed the defined maximum size."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { max: \"200px\" }, {} ]\n});\n</script>"]],"orig":"panes.max"},{"name":"contentUrl","type":["String"],"short_doc":[["para","Specifies the URL from which to load the content of a pane."]],"doc":[["para","Specifies the URL from which to load the content of a pane."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div></div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ {}, { contentUrl: \"http://www.kendoui.com/\" } ]\n});\n</script>"]],"orig":"panes.contentUrl"},{"name":"collapsible","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether a pane is collapsible (",["strong","true"],") or not collapsible (",["strong","false"],")."]],"doc":[["para","Specifies whether a pane is collapsible (",["strong","true"],") or not collapsible (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\n</script>"]],"orig":"panes.collapsible"},{"name":"collapsed","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether a pane is initially collapsed (",["strong","true"],") or expanded (",["strong","true"],")."]],"doc":[["para","Specifies whether a pane is initially collapsed (",["strong","true"],") or expanded (",["strong","true"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ {}, { collapsed: true } ]\n});\n</script>"]],"orig":"panes.collapsed"}]}],"methods":[{"name":"ajaxRequest","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The targeted pane whose content is to be loaded via a URL."]],"doc":[["para","The targeted pane whose content is to be loaded via a URL."]]},{"name":"url","type":["String"],"short_doc":[["para","A local or remote URL from which the content of the pane is to be loaded."]],"doc":[["para","A local or remote URL from which the content of the pane is to be loaded."]]},{"name":"data","type":["Object","String"],"short_doc":[["para","Any data that is necessary to be sent to the server."]],"doc":[["para","Any data that is necessary to be sent to the server."]]}],"short_doc":[["para","Loads the content of a pane from a local or remote URL."]],"doc":[["para","Loads the content of a pane from a local or remote URL."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The targeted pane whose content is to be loaded via a URL."],["header",{"level":5},"url ",["inlinecode","String"]],["para","A local or remote URL from which the content of the pane is to be loaded."],["header",{"level":5},"data ",["inlinecode","Object | String"]],["para","Any data that is necessary to be sent to the server."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// load a complete page in the last pane\nsplitter.ajaxRequest(\".k-pane:last\", \"http://www.kendoui.com\");\n\n// load content into the pane with ID=\"pane1\"\nsplitter.ajaxRequest(\"#pane1\", \"/customer/profile\", { id: 42 });\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// load a complete page in the last pane\nsplitter.ajaxRequest(\".k-pane:last\", \"http://www.kendoui.com\");\n\n// load content into the pane with ID=\"pane1\"\nsplitter.ajaxRequest(\"#pane1\", \"/customer/profile\", { id: 42 });\n</script>"]]]},{"name":"append","args":[{"name":"config","type":["Object"],"short_doc":[["para","The new pane configuration"]],"doc":[["para","The new pane configuration"]]}],"short_doc":[["para","Appends a new pane. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."]],"doc":[["para","Appends a new pane. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The new pane configuration"],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane\nvar newPane = splitter.append({\n  size: \"100px\",\n  collapsible: true\n});\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane\nvar newPane = splitter.append({\n  size: \"100px\",\n  collapsible: true\n});\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]]]},{"name":"collapse","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane to be collapsed."]],"doc":[["para","The pane to be collapsed."]]}],"short_doc":[["para","Collapses a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger a collapse event."]],"doc":[["para","Collapses a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger a collapse event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be collapsed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.collapse(\".k-pane:first\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.collapse(\".k-pane:first\");\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.destroy();\n</script>"]]]},{"name":"expand","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane to be expanded."]],"doc":[["para","The pane to be expanded."]]}],"short_doc":[["para","Expands a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger an expand event."]],"doc":[["para","Expands a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger an expand event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be expanded."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.expand(\".k-pane:first\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.expand(\".k-pane:first\");\n</script>"]]]},{"name":"insertAfter","args":[{"name":"config","type":["Object"],"short_doc":[["para","The new pane configuration."]],"doc":[["para","The new pane configuration."]]},{"name":"referencePane","type":["String","Element","jQuery"],"short_doc":[["para","The existing pane after which the new one will be inserted."]],"doc":[["para","The existing pane after which the new one will be inserted."]]}],"short_doc":[["para","Inserts a new pane after the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."]],"doc":[["para","Inserts a new pane after the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]],["para","The new pane configuration."],["header",{"level":5},"referencePane ",["inlinecode","String|Element|jQuery"]],["para","The existing pane after which the new one will be inserted."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane after the first pane\nvar newPane = splitter.insertAfter({ size: \"100px\" }, \".k-pane:first\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane after the first pane\nvar newPane = splitter.insertAfter({ size: \"100px\" }, \".k-pane:first\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]]]},{"name":"insertBefore","args":[{"name":"config","type":["Object"],"short_doc":[["para","The new pane configuration."]],"doc":[["para","The new pane configuration."]]},{"name":"referencePane","type":["String","Element","jQuery"],"short_doc":[["para","The existing pane before which the new one will be inserted."]],"doc":[["para","The existing pane before which the new one will be inserted."]]}],"short_doc":[["para","Inserts a new pane before the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."]],"doc":[["para","Inserts a new pane before the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]],["para","The new pane configuration."],["header",{"level":5},"referencePane ",["inlinecode","String|Element|jQuery"]],["para","The existing pane before which the new one will be inserted."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane before the last pane\nvar newPane = splitter.insertBefore({ size: \"100px\" }, \".k-pane:last\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane before the last pane\nvar newPane = splitter.insertBefore({ size: \"100px\" }, \".k-pane:last\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"]]]},{"name":"max","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane being targeted for a new minimum size configuration value."]],"doc":[["para","The pane being targeted for a new minimum size configuration value."]]},{"name":"value","type":["String"],"short_doc":[["para","The maximum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."]],"doc":[["para","The maximum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."]]}],"short_doc":[["para","Sets the maximum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."]],"doc":[["para","Sets the maximum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane being targeted for a new minimum size configuration value."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The maximum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.max(\"#pane1\", \"300px\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.max(\"#pane1\", \"300px\");\n</script>"]]]},{"name":"min","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane being targeted for a new minimum size configuration value."]],"doc":[["para","The pane being targeted for a new minimum size configuration value."]]},{"name":"value","type":["String"],"short_doc":[["para","The minimum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."]],"doc":[["para","The minimum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."]]}],"short_doc":[["para","Sets the minimum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."]],"doc":[["para","Sets the minimum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane being targeted for a new minimum size configuration value."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The minimum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.min(\"#pane1\", \"300px\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.min(\"#pane1\", \"300px\");\n</script>"]]]},{"name":"remove","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane(s) to be removed."]],"doc":[["para","The pane(s) to be removed."]]}],"short_doc":[["para","Removes one or more panes. The method returns the Splitter instance.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."]],"doc":[["para","Removes one or more panes. The method returns the Splitter instance.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane(s) to be removed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.remove(\".k-pane:first\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.remove(\".k-pane:first\");\n</script>"]]]},{"name":"size","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane to be resized."]],"doc":[["para","The pane to be resized."]]},{"name":"value","type":["String"],"short_doc":[["para","The new size of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."]],"doc":[["para","The new size of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."]]}],"short_doc":[["para","Set the size of the pane. Setting this value will cause the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."]],"doc":[["para","Set the size of the pane. Setting this value will cause the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be resized."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The new size of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.size(\".k-pane:first\", \"40%\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.size(\".k-pane:first\", \"40%\");\n</script>"]]]},{"name":"toggle","args":[{"name":"pane","type":["String","Element","jQuery"],"short_doc":[["para","The pane to be collapsed."]],"doc":[["para","The pane to be collapsed."]]},{"name":"expand","type":["Boolean"],"short_doc":[["para","Represents the desired state of the specified pane; to be expanded (",["strong","true"],") or collapsed\n(",["strong","false"],"). If undefined, toggle() will collapse the pane if it is expanded or will expand the\npane if it is collapsed."]],"doc":[["para","Represents the desired state of the specified pane; to be expanded (",["strong","true"],") or collapsed\n(",["strong","false"],"). If undefined, toggle() will collapse the pane if it is expanded or will expand the\npane if it is collapsed."]]}],"short_doc":[["para","Toggles the state of a specified pane (i.e. collapsed or expanded).\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger collapse or expand events."]],"doc":[["para","Toggles the state of a specified pane (i.e. collapsed or expanded).\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger collapse or expand events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be collapsed."],["header",{"level":5},"expand ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Represents the desired state of the specified pane; to be expanded (",["strong","true"],") or collapsed\n(",["strong","false"],"). If undefined, toggle() will collapse the pane if it is expanded or will expand the\npane if it is collapsed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, { collapsible: true } ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// toggle the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\");\n\n// expand the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\", true);\n\n// collapse the last pane\nsplitter.toggle(\".k-pane:last\", false);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, { collapsible: true } ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// toggle the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\");\n\n// expand the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\", true);\n\n// collapse the last pane\nsplitter.toggle(\".k-pane:last\", false);\n</script>"]]]}],"events":[{"name":"collapse","args":[{"name":"e.pane","type":["Element"],"short_doc":[["para","The collapsing pane of the Splitter."]],"doc":[["para","The collapsing pane of the Splitter."]]}],"short_doc":[["para","Triggered when a pane of a Splitter is collapsed."]],"doc":[["para","Triggered when a pane of a Splitter is collapsed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The collapsing pane of the Splitter."],["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  collapse: function(e) {\n    console.log($(e.pane).html() + \" has been collapsed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_collapse(e) {\n  console.log($(e.pane).html() + \" has been collapsed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"collapse\", splitter_collapse);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  collapse: function(e) {\n    console.log($(e.pane).html() + \" has been collapsed\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_collapse(e) {\n  console.log($(e.pane).html() + \" has been collapsed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"collapse\", splitter_collapse);\n</script>"]]],"type":["Function"]},{"name":"contentLoad","args":[{"name":"e.pane","type":["Element"],"short_doc":[["para","The pane whose content has been loaded."]],"doc":[["para","The pane whose content has been loaded."]]}],"short_doc":[["para","Triggered when the content for a pane has finished loading."]],"doc":[["para","Triggered when the content for a pane has finished loading."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The pane whose content has been loaded."],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ],\n  contentLoad: function(e) {\n    console.log($(e.pane).html() + \" has been loaded\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_contentLoad(e) {\n  console.log($(e.pane).html() + \" has been loaded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"contentLoad\", splitter_contentLoad);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ],\n  contentLoad: function(e) {\n    console.log($(e.pane).html() + \" has been loaded\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_contentLoad(e) {\n  console.log($(e.pane).html() + \" has been loaded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"contentLoad\", splitter_contentLoad);\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.xhr","type":["jqXHR"],"short_doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]},{"name":"e.status","type":["String"],"short_doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]}],"short_doc":[["para","Triggered when the AJAX request that fetches a pane content has failed."]],"doc":[["para","Triggered when the AJAX request that fetches a pane content has failed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  error: function(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_error(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n}\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"error\", splitter_error);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  error: function(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_error(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n}\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"error\", splitter_error);\n</script>"]]],"type":["Function"]},{"name":"expand","args":[{"name":"e.pane","type":["Element"],"short_doc":[["para","The expanding pane of the Splitter."]],"doc":[["para","The expanding pane of the Splitter."]]}],"short_doc":[["para","Triggered when a pane of a Splitter is expanded."]],"doc":[["para","Triggered when a pane of a Splitter is expanded."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The expanding pane of the Splitter."],["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true}, {} ],\n  expand: function(e) {\n    console.log($(e.pane).html() + \" has been expanded\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_expand(e) {\n  console.log($(e.pane).html() + \" has been expanded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"expand\", splitter_expand);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true}, {} ],\n  expand: function(e) {\n    console.log($(e.pane).html() + \" has been expanded\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_expand(e) {\n  console.log($(e.pane).html() + \" has been expanded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"expand\", splitter_expand);\n</script>"]]],"type":["Function"]},{"name":"layoutChange","args":[],"short_doc":[["para",["strong","This event is now obsolete and will be removed in the future. Please use the ",["link",{"href":"#events-resize"},["inlinecode","resize"]]," event instead."]],["para","Fires when the splitter layout has changed"]],"doc":[["para",["strong","This event is now obsolete and will be removed in the future. Please use the ",["link",{"href":"#events-resize"},["inlinecode","resize"]]," event instead."]],["para","Fires when the splitter layout has changed"],["header",{"level":4},"Example - subscribe to the \"layoutChange\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  layoutChange: function(e) {\n    console.log(\"Splitter layout has changed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"layoutChange\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_layoutChange(e) {\n  console.log(\"Splitter layout has changed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"layoutChange\", splitter_layoutChange);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"layoutChange\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  layoutChange: function(e) {\n    console.log(\"Splitter layout has changed\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"layoutChange\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_layoutChange(e) {\n  console.log(\"Splitter layout has changed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"layoutChange\", splitter_layoutChange);\n</script>"]]],"type":["Function"]},{"name":"resize","args":[],"short_doc":[["para","Triggered when a pane is resized."]],"doc":[["para","Triggered when a pane is resized."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  resize: function(e) {\n    console.log(\"Splitter pane has been resized\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_resize(e) {\n  console.log(\"Splitter pane has been resized\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"resize\", splitter_resize);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  resize: function(e) {\n    console.log(\"Splitter pane has been resized\");\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_resize(e) {\n  console.log(\"Splitter pane has been resized\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"resize\", splitter_resize);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Splitter widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Splitter widget. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"orientation ",["inlinecode","String"]," ",["em","(default: \"horizontal\")"]],["para","Specifies the orientation of the widget. Supported values are ",["em","\"horizontal\""]," and ",["em","\"vertical\""],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  orientation: \"vertical\"\n});\n</script>"],["header",{"level":3},"panes ",["inlinecode","Array"]],["para","An array of pane definitions."],["header",{"level":3},"panes.collapsed ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether a pane is initially collapsed (",["strong","true"],") or expanded (",["strong","true"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ {}, { collapsed: true } ]\n});\n</script>"],["header",{"level":3},"panes.collapsible ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether a pane is collapsible (",["strong","true"],") or not collapsible (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\n</script>"],["header",{"level":3},"panes.contentUrl ",["inlinecode","String"]],["para","Specifies the URL from which to load the content of a pane."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div></div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ {}, { contentUrl: \"http://www.kendoui.com/\" } ]\n});\n</script>"],["header",{"level":3},"panes.max ",["inlinecode","String"]],["para","Specifies the maximum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot exceed the defined maximum size."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { max: \"200px\" }, {} ]\n});\n</script>"],["header",{"level":3},"panes.min ",["inlinecode","String"]],["para","Specifies the minimum size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\"). The\nsize of a resized pane cannot be less than the defined minimum size."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { min: \"100px\" }, {} ]\n});\n</script>"],["header",{"level":3},"panes.resizable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether a pane is resizable (",["strong","true"],") or not resizable (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { resizable: false }, { resizable: false } ]\n});\n</script>"],["header",{"level":3},"panes.scrollable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether a pane is scrollable (",["strong","true"],") or not scrollable (",["strong","false"],")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { scrollable: false }, {} ]\n});\n</script>"],["header",{"level":3},"panes.size ",["inlinecode","String"]],["para","Specifies the size of a pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nIt is recommended that one pane is left without size in order to compensate for changes in the viewport size.\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { size: \"10%\" }, {} ]\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"ajaxRequest"],["para","Loads the content of a pane from a local or remote URL."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The targeted pane whose content is to be loaded via a URL."],["header",{"level":5},"url ",["inlinecode","String"]],["para","A local or remote URL from which the content of the pane is to be loaded."],["header",{"level":5},"data ",["inlinecode","Object | String"]],["para","Any data that is necessary to be sent to the server."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// load a complete page in the last pane\nsplitter.ajaxRequest(\".k-pane:last\", \"http://www.kendoui.com\");\n\n// load content into the pane with ID=\"pane1\"\nsplitter.ajaxRequest(\"#pane1\", \"/customer/profile\", { id: 42 });\n</script>"],["header",{"level":3},"append"],["para","Appends a new pane. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]," ",["em","(optional)"]],["para","The new pane configuration"],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane\nvar newPane = splitter.append({\n  size: \"100px\",\n  collapsible: true\n});\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"],["header",{"level":3},"collapse"],["para","Collapses a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger a collapse event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be collapsed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.collapse(\".k-pane:first\");\n</script>"],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para",["strong","Important:"]," This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.destroy();\n</script>"],["header",{"level":3},"expand"],["para","Expands a specified pane. Invoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger an expand event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be expanded."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.expand(\".k-pane:first\");\n</script>"],["header",{"level":3},"insertAfter"],["para","Inserts a new pane after the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]],["para","The new pane configuration."],["header",{"level":5},"referencePane ",["inlinecode","String|Element|jQuery"]],["para","The existing pane after which the new one will be inserted."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane after the first pane\nvar newPane = splitter.insertAfter({ size: \"100px\" }, \".k-pane:first\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"],["header",{"level":3},"insertBefore"],["para","Inserts a new pane before the specified one. The method returns the pane element, so it can be populated with arbitrary content, if ",["inlinecode","contentUrl"]," is not set.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"config ",["inlinecode","Object"]],["para","The new pane configuration."],["header",{"level":5},"referencePane ",["inlinecode","String|Element|jQuery"]],["para","The existing pane before which the new one will be inserted."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// append a 100px collapsible pane before the last pane\nvar newPane = splitter.insertBefore({ size: \"100px\" }, \".k-pane:last\");\n\n// set the content of the new pane to \"foo\"\nnewPane.html(\"foo\");\n</script>"],["header",{"level":3},"max"],["para","Sets the maximum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane being targeted for a new minimum size configuration value."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The maximum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.max(\"#pane1\", \"300px\");\n</script>"],["header",{"level":3},"min"],["para","Sets the minimum size of a pane. Setting this value will not cause the widget to redraw, nor will it trigger any events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane being targeted for a new minimum size configuration value."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The minimum size value of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\")."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.min(\"#pane1\", \"300px\");\n</script>"],["header",{"level":3},"remove"],["para","Removes one or more panes. The method returns the Splitter instance.\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane(s) to be removed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.remove(\".k-pane:first\");\n</script>"],["header",{"level":3},"size"],["para","Set the size of the pane. Setting this value will cause the widget to redraw and it will trigger the ",["inlinecode","resize"]," event."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be resized."],["header",{"level":5},"value ",["inlinecode","String"]],["para","The new size of the pane defined as pixels (i.e. \"200px\") or as a percentage (i.e. \"50%\").\nNote: This value must not exceed ",["strong","panes.max"]," or be less then ",["strong","panes.min"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.size(\".k-pane:first\", \"40%\");\n</script>"],["header",{"level":3},"toggle"],["para","Toggles the state of a specified pane (i.e. collapsed or expanded).\nInvoking this method will force the widget to redraw and it will trigger the ",["inlinecode","resize"]," event.\nNote: Invoking the method will not trigger collapse or expand events."],["header",{"level":4},"Parameters"],["header",{"level":5},"pane ",["inlinecode","String|Element|jQuery"]],["para","The pane to be collapsed."],["header",{"level":5},"expand ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Represents the desired state of the specified pane; to be expanded (",["strong","true"],") or collapsed\n(",["strong","false"],"). If undefined, toggle() will collapse the pane if it is expanded or will expand the\npane if it is collapsed."],["header",{"level":4},"Example"],["code_block","<div id=\"splitter\">\n  <div id=\"pane1\">Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, { collapsible: true } ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\n\n// toggle the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\");\n\n// expand the pane with id=\"pane1\"\nsplitter.toggle(\"#pane1\", true);\n\n// collapse the last pane\nsplitter.toggle(\".k-pane:last\", false);\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"collapse"],["para","Triggered when a pane of a Splitter is collapsed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The collapsing pane of the Splitter."],["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  collapse: function(e) {\n    console.log($(e.pane).html() + \" has been collapsed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_collapse(e) {\n  console.log($(e.pane).html() + \" has been collapsed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"collapse\", splitter_collapse);\n</script>"],["header",{"level":3},"contentLoad"],["para","Triggered when the content for a pane has finished loading."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The pane whose content has been loaded."],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ],\n  contentLoad: function(e) {\n    console.log($(e.pane).html() + \" has been loaded\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_contentLoad(e) {\n  console.log($(e.pane).html() + \" has been loaded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { content: \"/foo\" }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"contentLoad\", splitter_contentLoad);\n</script>"],["header",{"level":3},"error"],["para","Triggered when the AJAX request that fetches a pane content has failed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  error: function(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_error(e) {\n    console.log(\n        \"Pane #\" + $(e.pane).index() + \" could not be loaded from server\" +\n        \" (status \" + e.xhr.status + \")\"\n    );\n}\n$(\"#splitter\").kendoSplitter();\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"error\", splitter_error);\n</script>"],["header",{"level":3},"expand"],["para","Triggered when a pane of a Splitter is expanded."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.pane ",["inlinecode","Element"]],["para","The expanding pane of the Splitter."],["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true}, {} ],\n  expand: function(e) {\n    console.log($(e.pane).html() + \" has been expanded\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_expand(e) {\n  console.log($(e.pane).html() + \" has been expanded\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true, collapsed: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"expand\", splitter_expand);\n</script>"],["header",{"level":3},"layoutChange"],["para",["strong","This event is now obsolete and will be removed in the future. Please use the ",["link",{"href":"#events-resize"},["inlinecode","resize"]]," event instead."]],["para","Fires when the splitter layout has changed"],["header",{"level":4},"Example - subscribe to the \"layoutChange\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  layoutChange: function(e) {\n    console.log(\"Splitter layout has changed\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"layoutChange\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_layoutChange(e) {\n  console.log(\"Splitter layout has changed\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"layoutChange\", splitter_layoutChange);\n</script>"],["header",{"level":3},"resize"],["para","Triggered when a pane is resized."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ],\n  resize: function(e) {\n    console.log(\"Splitter pane has been resized\");\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"splitter\">\n  <div>Pane A</div>\n  <div>Pane B</div>\n</div>\n<script>\nfunction splitter_resize(e) {\n  console.log(\"Splitter pane has been resized\");\n}\n$(\"#splitter\").kendoSplitter({\n  panes: [ { collapsible: true }, {} ]\n});\nvar splitter = $(\"#splitter\").data(\"kendoSplitter\");\nsplitter.bind(\"resize\", splitter_resize);\n</script>"]]},"kendo.ui.TabStrip":{"file":"api/web/tabstrip.md","name":"kendo.ui.TabStrip","config":[{"name":"animation","type":["Object"],"short_doc":[["para","A collection of visual animations used when ",["strong","TabStrip"]," tab are selected through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."]],"doc":[["para","A collection of visual animations used when ",["strong","TabStrip"]," tab are selected through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            // fade-out current tab over 1000 milliseconds\n            close: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            },\n           // fade-in new tab over 500 milliseconds\n           open: {\n               duration: 500,\n               effects: \"fadeIn\"\n           }\n       }\n    });\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The visual animation(s) that will be used when the new tab is shown."]],"doc":[["para","The visual animation(s) that will be used when the new tab is shown."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            open: {\n                duration: 200,\n                effects: \"expand:vertical\"\n            }\n        }\n    });\n</script>"]],"sub":[{"name":"effects","type":["String"],"default":"\"expand:vertical fadeIn\"","short_doc":[["para","A whitespace-separated string of animation effects that are used when a new tab is shown. Options include\n",["strong","\"expand:vertical\""]," and ",["strong","\"fadeIn\""],"."]],"doc":[["para","A whitespace-separated string of animation effects that are used when a new tab is shown. Options include\n",["strong","\"expand:vertical\""]," and ",["strong","\"fadeIn\""],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            open: {\n                effects: \"fadeIn\"\n            }\n        }\n    });\n</script>"]],"orig":"animation.open.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The number of milliseconds used for the visual animation when a new tab is shown."]],"doc":[["para","The number of milliseconds used for the visual animation when a new tab is shown."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n       animation: {\n          open: {\n              duration: 1000\n          }\n       }\n    });\n</script>"]],"orig":"animation.open.duration"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The visual animation(s) that will be used when the current tab is closed."]],"doc":[["para","The visual animation(s) that will be used when the current tab is closed."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 200,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"]],"sub":[{"name":"effects","type":["String"],"short_doc":[["para","A whitespace-delimited string of animation effects that are utilized when the current tab\nis closed. By default not specified - uses the opening animation with reverse."]],"doc":[["para","A whitespace-delimited string of animation effects that are utilized when the current tab\nis closed. By default not specified - uses the opening animation with reverse."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"]],"orig":"animation.close.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The number of milliseconds used for the visual animation when the current tab is closed."]],"doc":[["para","The number of milliseconds used for the visual animation when the current tab is closed."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 1000\n            }\n        }\n    });\n</script>"]],"orig":"animation.close.duration"}],"orig":"animation.close"}]},{"name":"collapsible","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether the TabStrip should be able to collapse completely when clicking an expanded tab."]],"doc":[["para","Specifies whether the TabStrip should be able to collapse completely when clicking an expanded tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        collapsible: true\n    });\n</script>"]]},{"name":"contentUrls","type":["Array"],"short_doc":[["para","Sets an array with the URLs from which the tabs content to be loaded from. If only specific tabs should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "]],"doc":[["para","Sets an array with the URLs from which the tabs content to be loaded from. If only specific tabs should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "],["header",{"level":4},"Example - specify that the second tab should be loaded remotely"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Ajax Tab</li>\n    </ul>\n    <div>Content 1</div>\n    <div></div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        contentUrls: [null, \"ajaxContent.html\"]\n    });\n</script>"]]},{"name":"dataContentField","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the text content of\nthe tab content element."]],"doc":[["para"," Sets the field of the data item that provides the text content of\nthe tab content element."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataContentField: \"Content\",\n        dataSource: data\n    });\n</script>"]]},{"name":"dataContentUrlField","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the URL for\nthe ajax loaded tab content."]],"doc":[["para"," Sets the field of the data item that provides the URL for\nthe ajax loaded tab content."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataContentUrlField: \"ContentUrl\",\n        dataSource: data\n    });\n</script>"]]},{"name":"dataImageUrlField","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the image URL of\nthe tab."]],"doc":[["para"," Sets the field of the data item that provides the image URL of\nthe tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataImageUrlField: \"ImageUrl\",\n        dataSource: data\n    });\n</script>"]]},{"name":"dataSpriteCssClass","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the CSS class of\nthe tab."]],"doc":[["para"," Sets the field of the data item that provides the CSS class of\nthe tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataSpriteCssClass: \"CssClass\",\n        dataSource: data\n    });\n</script>"]]},{"name":"dataTextField","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the text name of the tab."]],"doc":[["para"," Sets the field of the data item that provides the text name of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataSource: data\n    });\n</script>"]]},{"name":"dataUrlField","type":["String"],"default":"\"\"","short_doc":[["para"," Sets the field of the data item that provides the link URL for the\ntab."]],"doc":[["para"," Sets the field of the data item that provides the link URL for the\ntab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataUrlField: \"Url\",\n        dataSource: data\n    });\n</script>"]]}],"methods":[{"name":"activateTab","args":[{"name":"item","type":["jQuery"],"short_doc":[["para","The target tab, specified as a selector, to be activated."]],"doc":[["para","The target tab, specified as a selector, to be activated."]]}],"short_doc":[["para","Activates a tab specified as a selector. Note: Invoking this method will not trigger any events."]],"doc":[["para","Activates a tab specified as a selector. Note: Invoking this method will not trigger any events."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToActivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").activateTab(tabToActivate);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The target tab, specified as a selector, to be activated."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToActivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").activateTab(tabToActivate);\n</script>"]]]},{"name":"append","args":[{"name":"tab","type":["Array","Object"],"short_doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]],"doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]]}],"short_doc":[["para","Appends a tab to the collection of tabs in a ",["strong","TabStrip"],"."]],"doc":[["para","Appends a tab to the collection of tabs in a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.append(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }]\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"tab ",["inlinecode","Array|Object"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.append(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }]\n    );\n</script>"]]]},{"name":"contentElement","args":[{"name":"itemIndex","type":["Number"],"short_doc":[["para","The index of the tab in the TabStrip."]],"doc":[["para","The index of the tab in the TabStrip."]]}],"short_doc":[["para","Obtains the DOM element that encloses tab content by its tab index in the ",["strong","TabStrip"],"."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use ",["strong","contentHolder"]," to get the element to empty."]]],"doc":[["para","Obtains the DOM element that encloses tab content by its tab index in the ",["strong","TabStrip"],"."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use ",["strong","contentHolder"]," to get the element to empty."]],["header",{"level":4},"Obtain the content element representing the first tab in a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.contentElement(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"itemIndex ",["inlinecode","Number"]],["para","The index of the tab in the TabStrip."],["header",{"level":4},"Returns"],["para",["inlinecode","Element"]," The DOM element enclosing tab content by its tab index in the ",["strong","TabStrip"],"."]],"examples":[]},{"name":"contentHolder","args":[{"name":"itemIndex","type":["Number"],"short_doc":[["para","The index of the tab in the TabStrip."]],"doc":[["para","The index of the tab in the TabStrip."]]}],"short_doc":[["para","Obtains the DOM element that holds tab content by its tab index in the ",["strong","TabStrip"],".\nThe difference between contentElement and contentHolder is that contentHolder returns the DOM element that really holds the content, which on mobile is the scroll container."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use this method to get the element to empty."]]],"doc":[["para","Obtains the DOM element that holds tab content by its tab index in the ",["strong","TabStrip"],".\nThe difference between contentElement and contentHolder is that contentHolder returns the DOM element that really holds the content, which on mobile is the scroll container."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use this method to get the element to empty."]],["header",{"level":4},"Obtain the content holder representing the first tab in a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.contentHolder(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"itemIndex ",["inlinecode","Number"]],["para","The index of the tab in the TabStrip."],["header",{"level":4},"Returns"],["para",["inlinecode","Element"]," The DOM element holding tab content by its tab index in the ",["strong","TabStrip"],"."]],"examples":[]},{"name":"deactivateTab","args":[{"name":"item","type":["jQuery"],"short_doc":[["para","The target tab, specified as a selector, to be deactivated."]],"doc":[["para","The target tab, specified as a selector, to be deactivated."]]}],"short_doc":[["para","Deactivates a tab specified as a selector. Note: Invoking this method will not trigger any events."]],"doc":[["para","Deactivates a tab specified as a selector. Note: Invoking this method will not trigger any events."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToDeactivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").deactivateTab(tabToDeactivate);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The target tab, specified as a selector, to be deactivated."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToDeactivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").deactivateTab(tabToDeactivate);\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]]],"doc":[["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    // destroy the widget\n    tabStrip.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    // destroy the widget\n    tabStrip.destroy();\n</script>"]]]},{"name":"disable","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The target tab(s), specified as a selector, to be disabled."]],"doc":[["para","The target tab(s), specified as a selector, to be disabled."]]}],"short_doc":[["para","Disables a tab(s) of a ",["strong","TabStrip"],"."]],"doc":[["para","Disables a tab(s) of a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.disable(tabStrip.tabGroup.eq(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector, to be disabled."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.disable(tabStrip.tabGroup.eq(0));\n</script>"]]]},{"name":"enable","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The target tab(s), specified as a selector, to be enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."]],"doc":[["para","The target tab(s), specified as a selector, to be enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."]]},{"name":"enable","type":["Boolean"],"short_doc":[["para","Desired state of the tab(s) specified by the selector; enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."]],"doc":[["para","Desired state of the tab(s) specified by the selector; enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."]]}],"short_doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") a tab(s) of a ",["strong","TabStrip"],"."]],"doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") a tab(s) of a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.enable(tabStrip.tabGroup.eq(0), false);\n    tabStrip.enable(tabStrip.tabGroup.eq(0), true);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector, to be enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Desired state of the tab(s) specified by the selector; enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.enable(tabStrip.tabGroup.eq(0), false);\n    tabStrip.enable(tabStrip.tabGroup.eq(0), true);\n</script>"]]]},{"name":"insertAfter","args":[{"name":"item","type":["String","Element","jQuery"],"short_doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]],"doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]]},{"name":"referenceTab","type":["String","Element","jQuery"],"short_doc":[["para","A reference tab to insert the new item after."]],"doc":[["para","A reference tab to insert the new item after."]]}],"short_doc":[["para","Inserts a newly-created tab after a specified tab."]],"doc":[["para","Inserts a newly-created tab after a specified tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":5},"referenceTab ",["inlinecode","String|Element|jQuery"]],["para","A reference tab to insert the new item after."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"]]]},{"name":"insertBefore","args":[{"name":"item","type":["String","Element","jQuery"],"short_doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]],"doc":[["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."]]},{"name":"referenceTab","type":["String","Element","jQuery"],"short_doc":[["para","A reference tab to insert the new item before"]],"doc":[["para","A reference tab to insert the new item before"]]}],"short_doc":[["para","Inserts a newly-created tab before a specified tab."]],"doc":[["para","Inserts a newly-created tab before a specified tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":5},"referenceTab ",["inlinecode","String|Element|jQuery"]],["para","A reference tab to insert the new item before"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"]]]},{"name":"items","args":[],"short_doc":[["para","Gets the list of DOM elements that represent the tabs."],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.items());\n</script>"]],"doc":[["para","Gets the list of DOM elements that represent the tabs."],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.items());\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","HTMLCollection"]," the tabs as an HTML collection of elements."]],"examples":[]},{"name":"reload","args":[{"name":"element","type":["String","Element","jQuery"],"short_doc":[["para","The target tab(s), specified as a selector or jQuery object, to be reloaded via AJAX."]],"doc":[["para","The target tab(s), specified as a selector or jQuery object, to be reloaded via AJAX."]]}],"short_doc":[["para","Reloads TabStrip tab(s) via AJAX."],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        dataSource: [{\n            text: \"Tab 1\",\n            contentUrl: \"partialContent1.html\"\n        },\n        {\n            text: \"Tab 2\",\n            contentUrl: \"partialContent2.html\"\n        }]\n    }).data(\"kendoTabStrip\");\n\n    tabStrip.reload(\"li:first\");\n</script>"]],"doc":[["para","Reloads TabStrip tab(s) via AJAX."],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        dataSource: [{\n            text: \"Tab 1\",\n            contentUrl: \"partialContent1.html\"\n        },\n        {\n            text: \"Tab 2\",\n            contentUrl: \"partialContent2.html\"\n        }]\n    }).data(\"kendoTabStrip\");\n\n    tabStrip.reload(\"li:first\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector or jQuery object, to be reloaded via AJAX."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[]},{"name":"remove","args":[{"name":"element","type":["String","Number"],"short_doc":[["para","The target tab(s), specified as a selector or jQuery object, to be removed."]],"doc":[["para","The target tab(s), specified as a selector or jQuery object, to be removed."]]}],"short_doc":[["para","Removes a specified tab from a TabStrip."]],"doc":[["para","Removes a specified tab from a TabStrip."],["header",{"level":4},"Remove a tab with ID, tab1 from a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.remove(\"li:last\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Number"]],["para","The target tab(s), specified as a selector or jQuery object, to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."]],"examples":[]},{"name":"select","args":[{"name":"element","type":["String","Element","jQuery","Number"],"short_doc":[["para","The target tab(s), specified as a selector, jQuery object or index in the tab group."]],"doc":[["para","The target tab(s), specified as a selector, jQuery object or index in the tab group."]]}],"short_doc":[["para","Get/set the selected tab. If called without arguments, it returns the\ncurrently selected tab."]],"doc":[["para","Get/set the selected tab. If called without arguments, it returns the\ncurrently selected tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    tabStrip.select(\"li:first\");        // Select by jQuery selector\n    tabStrip.select(1);                 // Select by index\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery|Number"]],["para","The target tab(s), specified as a selector, jQuery object or index in the tab group."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected tab if called without arguments. ",["inlinecode","kendo.ui.TabStrip"]," if called with arguments."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    tabStrip.select(\"li:first\");        // Select by jQuery selector\n    tabStrip.select(1);                 // Select by index\n</script>"]]]}],"events":[{"name":"activate","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The activated tab."]],"doc":[["para","The activated tab."]]},{"name":"e.contentElement","type":["Element"],"short_doc":[["para","The content element of the activated tab."]],"doc":[["para","The content element of the activated tab."]]}],"short_doc":[["para","Triggered just after a tab is being made visible, but before the end of the animation"]],"doc":[["para","Triggered just after a tab is being made visible, but before the end of the animation"],["header",{"level":4},"Attach activate event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (Element)\n\n        // detach activate event handler via unbind()\n        tabStrip.unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler during initialization\n    var tabStrip = $(\"#tabStrip\").kendoTabStrip({\n        activate: onActivate\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Attach activate event handler via bind(); detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (Element)\n\n        // detach activate event handler via unbind()\n        tabStrip.unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler via bind()\n    var tabStrip = $(\"#tabStrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.bind(\"activate\", onActivate);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated tab."],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The content element of the activated tab."]],"examples":[],"type":["Function"]},{"name":"contentLoad","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The selected item"]],"doc":[["para","The selected item"]]},{"name":"e.contentElement","type":["Element"],"short_doc":[["para","The loaded content element that is retrieved via AJAX."]],"doc":[["para","The loaded content element that is retrieved via AJAX."]]}],"short_doc":[["para","Triggered when content is fetched from an AJAX request."]],"doc":[["para","Triggered when content is fetched from an AJAX request."],["header",{"level":4},"Attach contentLoad event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n</div>\n\n<script>\n    // event handler for select\n    var onError = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"error\", onError);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        dataSource: [{\n            text: \"Tab 1\",\n            contentUrl: \"partialContent1.html\"\n        },\n        {\n            text: \"Tab 2\",\n            contentUrl: \"partialContent2.html\"\n        }],\n        error: onError\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The loaded content element that is retrieved via AJAX."]],"examples":[],"type":["Function"]},{"name":"error","args":[{"name":"e.xhr","type":["jqXHR"],"short_doc":[["para","The jqXHR object used to load the content"]],"doc":[["para","The jqXHR object used to load the content"]]},{"name":"e.status","type":["String"],"short_doc":[["para","The returned status."]],"doc":[["para","The returned status."]]}],"short_doc":[["para","Triggered when an AJAX request results in an error."]],"doc":[["para","Triggered when an AJAX request results in an error."],["header",{"level":4},"Attach error event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onError = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"error\", onError);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        error: onError\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The jqXHR object used to load the content"],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The returned status."]],"examples":[],"type":["Function"]},{"name":"select","args":[{"name":"e.item","type":["Element"],"short_doc":[["para","The selected item chosen by a user."]],"doc":[["para","The selected item chosen by a user."]]},{"name":"e.contentElement","type":["Element"],"short_doc":[["para","The content element of the tab going to be selected."]],"doc":[["para","The content element of the tab going to be selected."]]}],"short_doc":[["para","Triggered before a tab is selected."]],"doc":[["para","Triggered before a tab is selected."],["header",{"level":4},"Attach select event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        select: onSelect\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Attach select event handler via bind(); detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler via bind()\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.bind(\"select\", onSelect);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item chosen by a user."],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The content element of the tab going to be selected."]],"examples":[],"type":["Function"]}],"fields":[{"name":"tabGroup","type":["jQuery"],"short_doc":[["para","The jQuery object which contains the tabstrip items."]],"doc":[["para","The jQuery object which contains the tabstrip items."]]}],"short_doc":[["para","Represents the Kendo UI TabStrip. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI TabStrip. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","A collection of visual animations used when ",["strong","TabStrip"]," tab are selected through\nuser interactions. Setting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            // fade-out current tab over 1000 milliseconds\n            close: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            },\n           // fade-in new tab over 500 milliseconds\n           open: {\n               duration: 500,\n               effects: \"fadeIn\"\n           }\n       }\n    });\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The visual animation(s) that will be used when the current tab is closed."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 200,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"],["em","(default: 200)"]],["para","The number of milliseconds used for the visual animation when the current tab is closed."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 1000\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","A whitespace-delimited string of animation effects that are utilized when the current tab\nis closed. By default not specified - uses the opening animation with reverse."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            close: {\n                duration: 1000,\n                effects: \"fadeOut\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The visual animation(s) that will be used when the new tab is shown."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            open: {\n                duration: 200,\n                effects: \"expand:vertical\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"],["em","(default: 200)"]],["para","The number of milliseconds used for the visual animation when a new tab is shown."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n       animation: {\n          open: {\n              duration: 1000\n          }\n       }\n    });\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"],["em","(default: \"expand:vertical fadeIn\")"]],["para","A whitespace-separated string of animation effects that are used when a new tab is shown. Options include\n",["strong","\"expand:vertical\""]," and ",["strong","\"fadeIn\""],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        animation: {\n            open: {\n                effects: \"fadeIn\"\n            }\n        }\n    });\n</script>"],["header",{"level":3},"collapsible ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Specifies whether the TabStrip should be able to collapse completely when clicking an expanded tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        collapsible: true\n    });\n</script>"],["header",{"level":3},"contentUrls ",["inlinecode","Array"]],["para","Sets an array with the URLs from which the tabs content to be loaded from. If only specific tabs should be loaded via Ajax, then you should set the URLs to the corresponding positions in the array and set the other elements to null.   "],["header",{"level":4},"Example - specify that the second tab should be loaded remotely"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Ajax Tab</li>\n    </ul>\n    <div>Content 1</div>\n    <div></div>\n</div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        contentUrls: [null, \"ajaxContent.html\"]\n    });\n</script>"],["header",{"level":3},"dataContentField ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the text content of\nthe tab content element."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataContentField: \"Content\",\n        dataSource: data\n    });\n</script>"],["header",{"level":3},"dataContentUrlField ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the URL for\nthe ajax loaded tab content."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataContentUrlField: \"ContentUrl\",\n        dataSource: data\n    });\n</script>"],["header",{"level":3},"dataImageUrlField ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the image URL of\nthe tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataImageUrlField: \"ImageUrl\",\n        dataSource: data\n    });\n</script>"],["header",{"level":3},"dataSpriteCssClass ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the CSS class of\nthe tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataSpriteCssClass: \"CssClass\",\n        dataSource: data\n    });\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the text name of the tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataSource: data\n    });\n</script>"],["header",{"level":3},"dataUrlField ",["inlinecode","String"],["em","(default: \"\")"]],["para"," Sets the field of the data item that provides the link URL for the\ntab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    $(\"#tabstrip\").kendoTabStrip({\n        dataTextField: \"Name\",\n        dataUrlField: \"Url\",\n        dataSource: data\n    });\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"tabGroup ",["inlinecode","jQuery"]],["para","The jQuery object which contains the tabstrip items."],["header",{"level":2},"Methods"],["header",{"level":3},"activateTab"],["para","Activates a tab specified as a selector. Note: Invoking this method will not trigger any events."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToActivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").activateTab(tabToActivate);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The target tab, specified as a selector, to be activated."],["header",{"level":3},"append"],["para","Appends a tab to the collection of tabs in a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.append(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }]\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"tab ",["inlinecode","Array|Object"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"contentElement"],["para","Obtains the DOM element that encloses tab content by its tab index in the ",["strong","TabStrip"],"."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use ",["strong","contentHolder"]," to get the element to empty."]],["header",{"level":4},"Obtain the content element representing the first tab in a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.contentElement(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"itemIndex ",["inlinecode","Number"]],["para","The index of the tab in the TabStrip."],["header",{"level":4},"Returns"],["para",["inlinecode","Element"]," The DOM element enclosing tab content by its tab index in the ",["strong","TabStrip"],"."],["header",{"level":3},"contentHolder"],["para","Obtains the DOM element that holds tab content by its tab index in the ",["strong","TabStrip"],".\nThe difference between contentElement and contentHolder is that contentHolder returns the DOM element that really holds the content, which on mobile is the scroll container."],["blockquote",["para",["strong","Important:"]," To remove the tab contents safely, use this method to get the element to empty."]],["header",{"level":4},"Obtain the content holder representing the first tab in a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.contentHolder(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"itemIndex ",["inlinecode","Number"]],["para","The index of the tab in the TabStrip."],["header",{"level":4},"Returns"],["para",["inlinecode","Element"]," The DOM element holding tab content by its tab index in the ",["strong","TabStrip"],"."],["header",{"level":3},"deactivateTab"],["para","Deactivates a tab specified as a selector. Note: Invoking this method will not trigger any events."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li id=\"tab1\">Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabToDeactivate = $(\"#tab1\");\n    $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\").deactivateTab(tabToDeactivate);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","jQuery"]],["para","The target tab, specified as a selector, to be deactivated."],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","TabStrip"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TabStrip element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    // destroy the widget\n    tabStrip.destroy();\n</script>"],["header",{"level":3},"disable"],["para","Disables a tab(s) of a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.disable(tabStrip.tabGroup.eq(0));\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector, to be disabled."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"enable"],["para","Disables (",["strong","false"],") or enables (",["strong","true"],") a tab(s) of a ",["strong","TabStrip"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.enable(tabStrip.tabGroup.eq(0), false);\n    tabStrip.enable(tabStrip.tabGroup.eq(0), true);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector, to be enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","Desired state of the tab(s) specified by the selector; enabled (",["strong","true"],") or disabled\n(",["strong","false"],")."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"insertAfter"],["para","Inserts a newly-created tab after a specified tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertAfter(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":5},"referenceTab ",["inlinecode","String|Element|jQuery"]],["para","A reference tab to insert the new item after."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"insertBefore"],["para","Inserts a newly-created tab before a specified tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab</li>\n    </ul>\n    <div>Content</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.insertBefore(\n        [{\n            text: \"Item 1\",\n            url: \"http://www.kendoui.com\"               // Link URL if navigation is needed, optional.\n        },\n        {\n            text: \"<b>Item 2</b>\",\n            encoded: false,                             // Allows use of HTML for item text\n            content: \"text\"                             // Content for the content element\n        },\n        {\n            text: \"Item 3\",\n            contentUrl: \"partialContent.html\"           // From where to load the item content\n        },\n        {\n            text: \"Item 4\",\n            imageUrl: \"http://www.kendoui.com/test.jpg\" // Item image URL, optional.\n        },\n        {\n            text: \"Item 5\",\n            spriteCssClass: \"imageClass3\"               // Item image sprite CSS class, optional.\n        }],\n        tabStrip.tabGroup.eq(0)\n    );\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"item ",["inlinecode","String|Element|jQuery"]],["para","Target tab, specified as a JSON object. You can pass tab text, content or contentUrl here. Can handle an\nHTML string or array of such strings or JSON."],["header",{"level":5},"referenceTab ",["inlinecode","String|Element|jQuery"]],["para","A reference tab to insert the new item before"],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"items"],["para","Gets the list of DOM elements that represent the tabs."],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    console.log(tabStrip.items());\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","HTMLCollection"]," the tabs as an HTML collection of elements."],["header",{"level":3},"reload"],["para","Reloads TabStrip tab(s) via AJAX."],["code_block","<div id=\"tabstrip\"></div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        dataSource: [{\n            text: \"Tab 1\",\n            contentUrl: \"partialContent1.html\"\n        },\n        {\n            text: \"Tab 2\",\n            contentUrl: \"partialContent2.html\"\n        }]\n    }).data(\"kendoTabStrip\");\n\n    tabStrip.reload(\"li:first\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery"]],["para","The target tab(s), specified as a selector or jQuery object, to be reloaded via AJAX."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"remove"],["para","Removes a specified tab from a TabStrip."],["header",{"level":4},"Remove a tab with ID, tab1 from a TabStrip"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.remove(\"li:last\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Number"]],["para","The target tab(s), specified as a selector or jQuery object, to be removed."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.TabStrip"]," Returns the TabStrip object to support chaining."],["header",{"level":3},"select"],["para","Get/set the selected tab. If called without arguments, it returns the\ncurrently selected tab."],["header",{"level":4},"Example"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n\n    tabStrip.select(\"li:first\");        // Select by jQuery selector\n    tabStrip.select(1);                 // Select by index\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","String|Element|jQuery|Number"]],["para","The target tab(s), specified as a selector, jQuery object or index in the tab group."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," the selected tab if called without arguments. ",["inlinecode","kendo.ui.TabStrip"]," if called with arguments."],["header",{"level":2},"Events"],["header",{"level":3},"activate"],["para","Triggered just after a tab is being made visible, but before the end of the animation"],["header",{"level":4},"Attach activate event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (Element)\n\n        // detach activate event handler via unbind()\n        tabStrip.unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler during initialization\n    var tabStrip = $(\"#tabStrip\").kendoTabStrip({\n        activate: onActivate\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Attach activate event handler via bind(); detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for activate\n    var onActivate = function(e) {\n        // access the activated item via e.item (Element)\n\n        // detach activate event handler via unbind()\n        tabStrip.unbind(\"activate\", onActivate);\n    };\n\n    // attach activate event handler via bind()\n    var tabStrip = $(\"#tabStrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.bind(\"activate\", onActivate);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The activated tab."],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The content element of the activated tab."],["header",{"level":3},"contentLoad"],["para","Triggered when content is fetched from an AJAX request."],["header",{"level":4},"Attach contentLoad event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n</div>\n\n<script>\n    // event handler for select\n    var onError = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"error\", onError);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        dataSource: [{\n            text: \"Tab 1\",\n            contentUrl: \"partialContent1.html\"\n        },\n        {\n            text: \"Tab 2\",\n            contentUrl: \"partialContent2.html\"\n        }],\n        error: onError\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item"],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The loaded content element that is retrieved via AJAX."],["header",{"level":3},"error"],["para","Triggered when an AJAX request results in an error."],["header",{"level":4},"Attach error event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onError = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"error\", onError);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        error: onError\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The jqXHR object used to load the content"],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The returned status."],["header",{"level":3},"select"],["para","Triggered before a tab is selected."],["header",{"level":4},"Attach select event handler during initialization; detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler during initialization\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip({\n        select: onSelect\n    }).data(\"kendoTabStrip\");\n</script>"],["header",{"level":4},"Attach select event handler via bind(); detach via unbind()"],["code_block","<div id=\"tabstrip\">\n    <ul>\n        <li>Tab 1</li>\n        <li>Tab 2</li>\n    </ul>\n    <div>Content 1</div>\n    <div>Content 2</div>\n</div>\n\n<script>\n    // event handler for select\n    var onSelect = function(e) {\n        // access the selected item via e.item (Element)\n\n        // detach select event handler via unbind()\n        tabStrip.unbind(\"select\", onSelect);\n    };\n\n    // attach select event handler via bind()\n    var tabStrip = $(\"#tabstrip\").kendoTabStrip().data(\"kendoTabStrip\");\n    tabStrip.bind(\"select\", onSelect);\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.item ",["inlinecode","Element"]],["para","The selected item chosen by a user."],["header",{"level":5},"e.contentElement ",["inlinecode","Element"]],["para","The content element of the tab going to be selected."]]},"kendo.ui.TimePicker":{"file":"api/web/timepicker.md","name":"kendo.ui.TimePicker","config":[{"name":"animation","type":["Object"],"short_doc":[["para","Configures the opening and closing animations of the popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."]],"doc":[["para","Configures the opening and closing animations of the popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation played when the calendar popup is opened."]],"doc":[["para","The animation played when the calendar popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the open animation in milliseconds."]],"doc":[["para","The duration of the open animation in milliseconds."]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation played when the popup is closed."]],"doc":[["para","The animation played when the popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","The duration of the close animation in milliseconds."]],"doc":[["para","The duration of the close animation in milliseconds."]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"doc":[["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"culture","type":["String"],"default":"\"en-US\"","short_doc":[["para"," Specifies the culture info used by the widget."]],"doc":[["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    culture: \"de-DE\"\n});\n</script>"]]},{"name":"dates","type":["Array"],"short_doc":[["para"," Specifies a list of dates, which are shown in the time drop-down list. If not set, the TimePicker will auto-generate the available times."]],"doc":[["para"," Specifies a list of dates, which are shown in the time drop-down list. If not set, the TimePicker will auto-generate the available times."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    dates: [\n        new Date(2000, 10, 10, 10, 0, 0),\n        new Date(2000, 10, 10, 30, 0)\n    ] //the drop-down list will consist only two entries - \"10:00 AM\" and \"10:30 AM\"\n});\n</script>"]]},{"name":"format","type":["String"],"default":"\"h:mm tt\"","short_doc":[["para"," Specifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input."]],"doc":[["para"," Specifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom time format"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    format: \"HH:mm\"\n});\n</script>"]]},{"name":"interval","type":["Number"],"default":"\"30\"","short_doc":[["para","Specifies the interval, between values in the popup list, in minutes."]],"doc":[["para","Specifies the interval, between values in the popup list, in minutes."],["header",{"level":4},"Example - specify a time interval"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    interval: 15\n});\n</script>"]]},{"name":"max","type":["Date"],"default":"\"00:00\"","short_doc":[["para","Specifies the end value in the popup list."]],"doc":[["para","Specifies the end value in the popup list."],["header",{"level":4},"Example - specify a maximum selectable time"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    max: new Date(2000, 0, 1, 22, 0, 0) //date part is ignored\n});\n</script>"]]},{"name":"min","type":["Date"],"default":"\"00:00\"","short_doc":[["para","Specifies the start value in the popup list."]],"doc":[["para","Specifies the start value in the popup list."],["header",{"level":4},"Example - specify a minimum selectable time"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    min: new Date(2000, 0, 1, 8, 0, 0) //date part is ignored\n});\n</script>"]]},{"name":"parseFormats","type":["Array"],"short_doc":[["para"," Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used."]],"doc":[["para"," Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    format: \"h:mm tt\",\n    parseFormats: [\"HH:mm\"] //format also will be added to parseFormats\n});\n</script>"]]},{"name":"value","type":["Date"],"default":"null","short_doc":[["para","Specifies the selected time."]],"doc":[["para","Specifies the selected time."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    value: new Date(2011, 0, 1, 10, 30)\n});\n</script>"]]}],"methods":[{"name":"close","args":[],"short_doc":[["para","Closes the drop-down list of a TimePicker."]],"doc":[["para","Closes the drop-down list of a TimePicker."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#close\").click(function() {\n    timepicker.close();\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#close\").click(function() {\n    timepicker.close();\n});\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","TimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TimePicker element from DOM."]]],"doc":[["para","Prepares the ",["strong","TimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TimePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n// detach events\ntimepicker.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n// detach events\ntimepicker.destroy();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a TimePicker."]],"doc":[["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a TimePicker."]]}],"short_doc":[["para","Enables or disables a TimePicker."]],"doc":[["para","Enables or disables a TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a TimePicker."],["header",{"level":4},"Example - disable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable();\n</script>"]],"examples":[[["header",{"level":4},"Example - disable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable(false);\n</script>"]],[["header",{"level":4},"Example - enable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable();\n</script>"]]]},{"name":"readonly","args":[{"name":"readonly","type":["Boolean"],"short_doc":[["para","The argument, which defines whether the timepicker should be readonly or editable."]],"doc":[["para","The argument, which defines whether the timepicker should be readonly or editable."]]}],"short_doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]]],"doc":[["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the timepicker should be readonly or editable."],["header",{"level":4},"Example - make TimePicker widget readonly"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly();\n</script>"],["header",{"level":4},"Example - make TimePicker widget editable"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly(false);\n</script>"]],"examples":[[["header",{"level":4},"Example - make TimePicker widget readonly"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly();\n</script>"]],[["header",{"level":4},"Example - make TimePicker widget editable"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly(false);\n</script>"]]]},{"name":"max","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The maximum time value to set for a TimePicker, expressed as a Date object or as a string."]],"doc":[["para","The maximum time value to set for a TimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the maximum value of the TimePicker."]],"doc":[["para","Gets or sets the maximum value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The maximum time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The maximum time value of a TimePicker."],["header",{"level":4},"Example - get the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar max = timepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.max(new Date(2000, 0, 1, 22, 0, 0));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar max = timepicker.max();\n\nconsole.log(max);\n</script>"]],[["header",{"level":4},"Example - set the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.max(new Date(2000, 0, 1, 22, 0, 0));\n</script>"]]]},{"name":"min","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The minimum time value to set for a TimePicker, expressed as a Date object or as a string."]],"doc":[["para","The minimum time value to set for a TimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the minimum value of the TimePicker."]],"doc":[["para","Gets or sets the minimum value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The minimum time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The minimum time value of a TimePicker."],["header",{"level":4},"Example - get the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar min = timepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.min(new Date(2000, 0, 1, 8, 0, 0));\n</script>"]],"examples":[[["header",{"level":4},"Example - get the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar min = timepicker.min();\n\nconsole.log(min);\n</script>"]],[["header",{"level":4},"Example - set the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.min(new Date(2000, 0, 1, 8, 0, 0));\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens the drop-down list of a TimePicker."]],"doc":[["para","Opens the drop-down list of a TimePicker."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#open\").click(function() {\n    timepicker.open();\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#open\").click(function() {\n    timepicker.open();\n});\n</script>"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The new configuration options."]],"doc":[["para","The new configuration options."]]}],"short_doc":[["para","Changes the initial TimePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]]],"doc":[["para","Changes the initial TimePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    min: new Date(2001, 0, 1, 8, 0, 0),\n    max: new Date(2013, 0, 1, 18, 0 0)\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.setOptions({\n    min: new Date(2013, 0, 1, 11, 30, 0),\n    max: new Date(2013, 0, 1, 16, 30, 0)\n});\n</script>    "]],"examples":[[["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    min: new Date(2001, 0, 1, 8, 0, 0),\n    max: new Date(2013, 0, 1, 18, 0 0)\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.setOptions({\n    min: new Date(2013, 0, 1, 11, 30, 0),\n    max: new Date(2013, 0, 1, 16, 30, 0)\n});\n</script>    "]]]},{"name":"value","args":[{"name":"value","type":["Date","String"],"short_doc":[["para","The time value to set for a TimePicker, expressed as a Date object or as a string."]],"doc":[["para","The time value to set for a TimePicker, expressed as a Date object or as a string."]]}],"short_doc":[["para","Gets or sets the value of the TimePicker."]],"doc":[["para","Gets or sets the value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The time value of a TimePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    value: \"10:00 AM\"\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar value = timepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.value(\"10:00 AM\");\n</script>"]],"examples":[[["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    value: \"10:00 AM\"\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar value = timepicker.value();\nconsole.log(value);\n</script>"]],[["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.value(\"10:00 AM\");\n</script>"]]]}],"events":[{"name":"change","args":[{"name":"e.sender","type":["kendo.ui.TimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the selected date is changed"]],"doc":[["para","Fires when the selected date is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the timepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the timepicker\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the timepicker\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the timepicker\n});\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.sender","type":["kendo.ui.TimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the time drop-down list is closed"]],"doc":[["para","Fires when the time drop-down list is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").timepicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").timepicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"]]],"type":["Function"]},{"name":"open","args":[{"name":"e.sender","type":["kendo.ui.TimePicker"],"short_doc":[["para","The widget instance which fired the event."]],"doc":[["para","The widget instance which fired the event."]]}],"short_doc":[["para","Fires when the time drop-down list is opened"]],"doc":[["para","Fires when the time drop-down list is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]]],"type":["Function"]}],"fields":[{"name":"options","type":["Object"],"short_doc":[["para","An object, which holds the options of the widget."]],"doc":[["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar options = timepicker.options;\n<script>"]]}],"short_doc":[["para","Represents the Kendo UI TimePicker. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI TimePicker. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","Configures the opening and closing animations of the popup. Setting the ",["inlinecode","animation"]," option to ",["inlinecode","false"]," will disable the opening and closing animations. As a result the popup will open and close instantly."],["header",{"level":4},"Example - disable open and close animations"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: false\n});\n</script>"],["header",{"level":4},"Example - configure the animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   close: {\n     effects: \"fadeOut zoom:out\",\n     duration: 300\n   },\n   open: {\n     effects: \"fadeIn zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation played when the popup is closed."],["header",{"level":4},"Example - configure the close animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   close: {\n     effects: \"zoom:out\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","The duration of the close animation in milliseconds."],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation played when the calendar popup is opened."],["header",{"level":4},"Example - configure the open animation"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n  animation: {\n   open: {\n     effects: \"zoom:in\",\n     duration: 300\n   }\n  }\n});\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","The effect(s) to use when playing the open animation. Multiple effects should be separated with a space."],["para",["link",{"href":"/api/framework/fx#effects"},"Complete list of available animations"]],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","The duration of the open animation in milliseconds."],["header",{"level":3},"culture ",["inlinecode","String"],["em","(default: \"en-US\")"]],["para"," Specifies the culture info used by the widget."],["header",{"level":4},"Example - specify German culture internationalization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    culture: \"de-DE\"\n});\n</script>"],["header",{"level":3},"dates ",["inlinecode","Array"]],["para"," Specifies a list of dates, which are shown in the time drop-down list. If not set, the TimePicker will auto-generate the available times."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    dates: [\n        new Date(2000, 10, 10, 10, 0, 0),\n        new Date(2000, 10, 10, 30, 0)\n    ] //the drop-down list will consist only two entries - \"10:00 AM\" and \"10:30 AM\"\n});\n</script>"],["header",{"level":3},"format ",["inlinecode","String"],["em","(default: \"h:mm tt\")"]],["para"," Specifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input."],["header",{"level":4},"Example - specify a custom time format"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    format: \"HH:mm\"\n});\n</script>"],["header",{"level":3},"interval ",["inlinecode","Number"],["em","(default: \"30\")"]],["para","Specifies the interval, between values in the popup list, in minutes."],["header",{"level":4},"Example - specify a time interval"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    interval: 15\n});\n</script>"],["header",{"level":3},"max ",["inlinecode","Date"],["em","(default: \"00:00\")"]],["para","Specifies the end value in the popup list."],["header",{"level":4},"Example - specify a maximum selectable time"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    max: new Date(2000, 0, 1, 22, 0, 0) //date part is ignored\n});\n</script>"],["header",{"level":3},"min ",["inlinecode","Date"],["em","(default: \"00:00\")"]],["para","Specifies the start value in the popup list."],["header",{"level":4},"Example - specify a minimum selectable time"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    min: new Date(2000, 0, 1, 8, 0, 0) //date part is ignored\n});\n</script>"],["header",{"level":3},"parseFormats ",["inlinecode","Array"]],["para"," Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    format: \"h:mm tt\",\n    parseFormats: [\"HH:mm\"] //format also will be added to parseFormats\n});\n</script>"],["header",{"level":3},"value ",["inlinecode","Date"],["em","(default: null)"]],["para","Specifies the selected time."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    value: new Date(2011, 0, 1, 10, 30)\n});\n</script>"],["header",{"level":2},"Fields"],["header",{"level":3},"options ",["inlinecode","Object"]],["para","An object, which holds the options of the widget."],["header",{"level":4},"Example - get options of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar options = timepicker.options;\n<script>"],["header",{"level":2},"Methods"],["header",{"level":3},"close"],["para","Closes the drop-down list of a TimePicker."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"close\">Close</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#close\").click(function() {\n    timepicker.close();\n});\n</script>"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","TimePicker"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the TimePicker element from DOM."]],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n// detach events\ntimepicker.destroy();\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables a TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","Enables (",["strong","true"]," or undefined) or disables (",["strong","false"],") a TimePicker."],["header",{"level":4},"Example - disable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable(false);\n</script>"],["header",{"level":4},"Example - enable TimePicker widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.enable();\n</script>"],["header",{"level":3},"readonly"],["para","Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input."],["blockquote",["para","There is a difference between disabled and readonly mode. The value of a disabled widget is ",["strong","not"]," posted as part of a ",["inlinecode","form"]," whereas the value of a readonly widget is posted."]],["header",{"level":4},"Parameters"],["header",{"level":5},"readonly ",["inlinecode","Boolean"]],["para","The argument, which defines whether the timepicker should be readonly or editable."],["header",{"level":4},"Example - make TimePicker widget readonly"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly();\n</script>"],["header",{"level":4},"Example - make TimePicker widget editable"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.readonly(false);\n</script>"],["header",{"level":3},"max"],["para","Gets or sets the maximum value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The maximum time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The maximum time value of a TimePicker."],["header",{"level":4},"Example - get the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar max = timepicker.max();\n\nconsole.log(max);\n</script>"],["header",{"level":4},"Example - set the max value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.max(new Date(2000, 0, 1, 22, 0, 0));\n</script>"],["header",{"level":3},"min"],["para","Gets or sets the minimum value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The minimum time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The minimum time value of a TimePicker."],["header",{"level":4},"Example - get the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar min = timepicker.min();\n\nconsole.log(min);\n</script>"],["header",{"level":4},"Example - set the min value of the timepicker"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.min(new Date(2000, 0, 1, 8, 0, 0));\n</script>"],["header",{"level":3},"open"],["para","Opens the drop-down list of a TimePicker."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<button id=\"open\">Open</button>\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\n$(\"#open\").click(function() {\n    timepicker.open();\n});\n</script>"],["header",{"level":3},"setOptions"],["para","Changes the initial TimePicker configuration. ",["strong","Will be included in Q3 2013 SP1. Currently available in Q3 2013 internal builds only."]],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The new configuration options."],["header",{"level":4},"Example"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    min: new Date(2001, 0, 1, 8, 0, 0),\n    max: new Date(2013, 0, 1, 18, 0 0)\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.setOptions({\n    min: new Date(2013, 0, 1, 11, 30, 0),\n    max: new Date(2013, 0, 1, 16, 30, 0)\n});\n</script>    "],["header",{"level":3},"value"],["para","Gets or sets the value of the TimePicker."],["header",{"level":4},"Parameters"],["header",{"level":5},"value ",["inlinecode","Date|String"]],["para","The time value to set for a TimePicker, expressed as a Date object or as a string."],["header",{"level":4},"Returns"],["para",["inlinecode","Date"]," The time value of a TimePicker."],["header",{"level":4},"Example - gets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    value: \"10:00 AM\"\n});\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\nvar value = timepicker.value();\nconsole.log(value);\n</script>"],["header",{"level":4},"Example - sets the value of the widget"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.value(\"10:00 AM\");\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"change"],["para","Fires when the selected date is changed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    change: function() {\n        var value = this.value();\n        console.log(value); //value is the selected date in the timepicker\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"change\", function() {\n    var value = this.value();\n    console.log(value); //value is the selected date in the timepicker\n});\n</script>"],["header",{"level":3},"close"],["para","Fires when the time drop-down list is closed"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    close: function(e) {\n        e.preventDefault(); //prevent popup closing\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").timepicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"close\", function(e) {\n    e.preventDefault(); //prevent popup closing\n});\n</script>"],["header",{"level":3},"open"],["para","Fires when the time drop-down list is opened"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sender ",["inlinecode","kendo.ui.TimePicker"]],["para","The widget instance which fired the event."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker({\n    open: function(e) {\n        e.preventDefault(); //prevent popup opening\n    }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<input id=\"timepicker\" />\n<script>\n$(\"#timepicker\").kendoTimePicker();\n\nvar timepicker = $(\"#timepicker\").data(\"kendoTimePicker\");\n\ntimepicker.bind(\"open\", function(e) {\n    e.preventDefault(); //prevent popup opening\n});\n</script>"]]},"kendo.ui.Tooltip":{"file":"api/web/tooltip.md","name":"kendo.ui.Tooltip","config":[{"name":"autoHide","type":["Boolean"],"default":"true","short_doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."]],"doc":[["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - prevent the tooltip from closing automatically"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        autoHide: false\n      });\n    });\n</script>"]]},{"name":"animation","type":["Object"],"short_doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."]],"doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: false\n      });\n    });\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip opens."]],"doc":[["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            effects: \"fade:in\",\n            duration: 1000\n          }\n        }\n      });\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            duration: \"1000\"\n          }\n        }\n      });\n    });\n</script>"]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for opening of the Tooltip."]],"doc":[["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            effects: \"fade:in\"\n          }\n        }\n      });\n    });\n</script>"]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation that will be used when a Tooltip closes."]],"doc":[["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            effects: \"fade:out\"\n          }\n        }\n      });\n    });\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the animation duration."]],"doc":[["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            duration: 1000\n          }\n        }\n      });\n    });\n</script>"]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for closing of the tooltip."]],"doc":[["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            effects: \"fade:out\"\n          }\n        }\n      });\n    });\n</script>"]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"content","type":["Object","String","Function"],"short_doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."]],"doc":[["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target element content"],["code_block","<div id=\"container\">\n    <span>Some content</span>\n    <span>Some more content</span>\n</div>\n\n<script>\n    $(document).ready(function() {\n      $(\"#container\").kendoTooltip({\n        filter: \"span\",\n        content: function(e) {\n          var target = e.target; // the element for which the tooltip is shown\n          return target.text(); // set the element text as content of the tooltip\n        }\n      });\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<span id=\"target\">\n    Some content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        content: \"Tooltip content!\"\n      });\n    });\n</script>"]],"sub":[{"name":"url","type":["String"],"short_doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]]],"doc":[["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    });\n  });\n</script>"]],"orig":"content.url"}]},{"name":"callout","type":["Boolean"],"default":"true","short_doc":[["para","Specifies if the tooltip callout will be displayed."]],"doc":[["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        callout: false\n      });\n    });\n</script>"]]},{"name":"filter","type":["String"],"short_doc":[["para","Specifies a selector for elements, within the container, for which the tooltip will be displayed."]],"doc":[["para","Specifies a selector for elements, within the container, for which the tooltip will be displayed."],["header",{"level":4},"Example - show tooltip only for strong elements in a text"],["code_block","<div id=\"container\">\n    I'm a <strong title=\"First target\">tooltip target</strong>. I'm also a\n    <strong title=\"Second target\">tooltip target</strong>.\n</div>\n\n<script>\n    $(document).ready(function() {\n      $(\"#container\").kendoTooltip({\n        filter: \"strong\"\n      });\n    });\n</script>"]]},{"name":"iframe","type":["Boolean"],"short_doc":[["para","Explicitly states whether content iframe should be created."]],"doc":[["para","Explicitly states whether content iframe should be created."]]},{"name":"height","type":["Number"],"default":"Infinity","short_doc":[["para","The height (in pixels) of the tooltip."]],"doc":[["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<span id=\"target\" title=\"Tooltip long content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      height: 80\n    });\n  });\n</script>"]]},{"name":"width","type":["Number"],"default":"Infinity","short_doc":[["para","The width (in pixels) of the tooltip."]],"doc":[["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<span id=\"target\" title=\"Tooltip long content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      width: 180\n    });\n  });\n</script>"]]},{"name":"position","type":["String"],"default":"\"bottom\"","short_doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."]],"doc":[["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      position: \"right\"\n    });\n  });\n</script>"]]},{"name":"showAfter","type":["Number"],"default":"100","short_doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."]],"doc":[["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      showAfter: 1000\n    });\n  });\n</script>"]]},{"name":"showOn","type":["String"],"default":"\"mouseenter\"","short_doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."]],"doc":[["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - set event on which the tooltip will be shown"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Click Me\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      showOn: \"click\"\n    });\n  });\n</script>"]]}],"methods":[{"name":"show","args":[{"name":"element","type":["jQuery"],"short_doc":[["para","The target element for which the tooltip should be shown."]],"doc":[["para","The target element for which the tooltip should be shown."]]}],"short_doc":[["para","Shows the tooltip for given target."]],"doc":[["para","Shows the tooltip for given target."],["header",{"level":4},"Example - show tooltip for target element"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip().data(\"kendoTooltip\");\n    tooltip.show($(\"#target\"));\n  });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The target element for which the tooltip should be shown."]],"examples":[[["header",{"level":4},"Example - show tooltip for target element"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip().data(\"kendoTooltip\");\n    tooltip.show($(\"#target\"));\n  });\n</script>"]]]},{"name":"hide","args":[],"short_doc":[["para","Hides the tooltip."]],"doc":[["para","Hides the tooltip."],["header",{"level":4},"Example - manually close the tooltip"],["code_block","<div id=\"container\">\n  <span title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"hideTooltip\" class=\"k-button\">Hide tooltip</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n    $(\"#hideTooltip\").click(function() {\n      tooltip.hide();\n    });\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example - manually close the tooltip"],["code_block","<div id=\"container\">\n  <span title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"hideTooltip\" class=\"k-button\">Hide tooltip</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n    $(\"#hideTooltip\").click(function() {\n      tooltip.hide();\n    });\n  });\n</script>"]]]},{"name":"refresh","args":[],"short_doc":[["para","Refresh the tooltip content."]],"doc":[["para","Refresh the tooltip content."],["header",{"level":4},"Example force refresh of the tooltip content"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"refreshButton\" class=\"k-button\">Refresh Content</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      }\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#refreshButton\").click(function() {\n      tooltip.refresh();\n    });\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example force refresh of the tooltip content"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"refreshButton\" class=\"k-button\">Refresh Content</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      }\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#refreshButton\").click(function() {\n      tooltip.refresh();\n    });\n  });\n</script>"]]]},{"name":"target","args":[],"short_doc":[["para","Gets the tooltip current target."]],"doc":[["para","Gets the tooltip current target."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <span id=\"target1\" title=\"Tooltip1 content\">Tooltip target1</span> <br />\n  <span id=\"target2\" title=\"Tooltip2 content\">Tooltip target2</span>\n</div>\n\n<button id=\"targetButton\" class=\"k-button\">Log target</button>\n\n<script>\n  $(document).ready(function() {\n\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#targetButton\").click(function() {\n      var target = tooltip.target();\n      if (target) {\n        console.log(target.attr(\"id\"));\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The target element or null."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <span id=\"target1\" title=\"Tooltip1 content\">Tooltip target1</span> <br />\n  <span id=\"target2\" title=\"Tooltip2 content\">Tooltip target2</span>\n</div>\n\n<button id=\"targetButton\" class=\"k-button\">Log target</button>\n\n<script>\n  $(document).ready(function() {\n\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#targetButton\").click(function() {\n      var target = tooltip.target();\n      if (target) {\n        console.log(target.attr(\"id\"));\n      }\n    });\n  });\n</script>"]]]}],"events":[{"name":"contentLoad","args":[],"short_doc":[["para","Triggered when an AJAX request for content completes."]],"doc":[["para","Triggered when an AJAX request for content completes."],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      contentLoad: function() {\n        console.log(\"content is loaded\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"contentLoad\", function() {\n      console.log(\"content is loaded\");\n    });\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      contentLoad: function() {\n        console.log(\"content is loaded\");\n      }\n    });\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"contentLoad\", function() {\n      console.log(\"content is loaded\");\n    });\n  });\n</script>"]]],"type":["Function"]},{"name":"show","args":[],"short_doc":[["para","Triggered when a Tooltip is shown."]],"doc":[["para","Triggered when a Tooltip is shown."],["header",{"level":4},"Example - subscribe to \"show\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      show: function() {\n        console.log(\"tooltip is shown\");\n      }\n    });\n\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"show\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"show\", function() {\n      console.log(\"tooltip is shown\");\n    });\n  });\n</script>"],["header",{"level":4},"Example - force refresh every time the tooltip is shown"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      },\n      show: function() {\n        this.refresh();\n      }\n    });\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to \"show\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      show: function() {\n        console.log(\"tooltip is shown\");\n      }\n    });\n\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to \"show\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"show\", function() {\n      console.log(\"tooltip is shown\");\n    });\n  });\n</script>"]],[["header",{"level":4},"Example - force refresh every time the tooltip is shown"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      },\n      show: function() {\n        this.refresh();\n      }\n    });\n  });\n</script>"]]],"type":["Function"]},{"name":"hide","args":[],"short_doc":[["para","Triggered when a Tooltip is hidden"]],"doc":[["para","Triggered when a Tooltip is hidden"],["header",{"level":4},"Example - subscribe to \"hide\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      hide: function() {\n        console.log(\"tooltip is hidden!\");\n      }\n    });\n\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"hide\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip().data(\"kendoTooltip\");\n\n    tooltip.bind(\"hide\", function() {\n        console.log(\"tooltip is hidden!\");\n    });\n  });\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to \"hide\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      hide: function() {\n        console.log(\"tooltip is hidden!\");\n      }\n    });\n\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to \"hide\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip().data(\"kendoTooltip\");\n\n    tooltip.bind(\"hide\", function() {\n        console.log(\"tooltip is hidden!\");\n    });\n  });\n</script>"]]],"type":["Function"]},{"name":"requestStart","args":[{"name":"e.target","type":["jQuery"],"short_doc":[["para","The target element, for which the tooltip is shown."]],"doc":[["para","The target element, for which the tooltip is shown."]]},{"name":"e.options","type":["Object"],"short_doc":[["para","The request options which will be set to ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]," or to the iframe"]],"doc":[["para","The request options which will be set to ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]," or to the iframe"]]}],"short_doc":[["para","Triggered before an AJAX request started. Note that this event is triggered only when an AJAX request, instead of an iframe, is used."]],"doc":[["para","Triggered before an AJAX request started. Note that this event is triggered only when an AJAX request, instead of an iframe, is used."],["header",{"level":4},"Example - subscribe to \"requestStart\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      requestStart: function(e) {\n        console.log(\"request is started\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"requestStart\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"requestStart\", function(e) {\n      console.log(\"request is started\");\n    });\n  });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The target element, for which the tooltip is shown."],["header",{"level":5},"e.options ",["inlinecode","Object"]],["para","The request options which will be set to ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]," or to the iframe"]],"examples":[[["header",{"level":4},"Example - subscribe to \"requestStart\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      requestStart: function(e) {\n        console.log(\"request is started\");\n      }\n    });\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to \"requestStart\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"requestStart\", function(e) {\n      console.log(\"request is started\");\n    });\n  });\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.xhr","type":["jqXHR"],"short_doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]},{"name":"e.status","type":["String"],"short_doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]}],"short_doc":[["para","Triggered when an AJAX request for content fails."]],"doc":[["para","Triggered when an AJAX request for content fails."],["header",{"level":4},"Example - subscribe to \"error\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      error: function(e) {\n        console.log(\"error\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"error\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"error\", function(e) {\n      console.log(\"error\");\n    });\n  });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"examples":[[["header",{"level":4},"Example - subscribe to \"error\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      error: function(e) {\n        console.log(\"error\");\n      }\n    });\n  });\n</script>"]],[["header",{"level":4},"Example - subscribe to \"error\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"error\", function(e) {\n      console.log(\"error\");\n    });\n  });\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Tooltip. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Tooltip. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"autoHide ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Specifies if the tooltip will be hidden when mouse leaves the target element. If set to false a close button will be shown within tooltip. If set to false, showAfter is specified and the showOn is set to \"mouseenter\" the Tooltip will be displayed after the given timeout even if the element is no longer hovered."],["header",{"level":4},"Example - prevent the tooltip from closing automatically"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        autoHide: false\n      });\n    });\n</script>"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animations"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: false\n      });\n    });\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip closes."],["header",{"level":4},"Example - set close animation"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            effects: \"fade:out\"\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","Effect to be used for closing of the tooltip."],["header",{"level":4},"Example - set close animation effect"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            effects: \"fade:out\"\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set close animation duration"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          close: {\n            duration: 1000\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation that will be used when a Tooltip opens."],["header",{"level":4},"Example - set open animation"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            effects: \"fade:in\",\n            duration: 1000\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","Effect to be used for opening of the Tooltip."],["header",{"level":4},"Example - set open animation effect"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            effects: \"fade:in\"\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","Defines the animation duration."],["header",{"level":4},"Example - set open animation duration"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some Content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        animation: {\n          open: {\n            duration: \"1000\"\n          }\n        }\n      });\n    });\n</script>"],["header",{"level":3},"content ",["inlinecode","Object|String|Function"]],["para","The text or a function which result will be shown within the tooltip.\nBy default the tooltip will display the target element title attribute content."],["header",{"level":4},"Example - extract the content from target element content"],["code_block","<div id=\"container\">\n    <span>Some content</span>\n    <span>Some more content</span>\n</div>\n\n<script>\n    $(document).ready(function() {\n      $(\"#container\").kendoTooltip({\n        filter: \"span\",\n        content: function(e) {\n          var target = e.target; // the element for which the tooltip is shown\n          return target.text(); // set the element text as content of the tooltip\n        }\n      });\n    });\n</script>"],["header",{"level":4},"Example - content as static text"],["code_block","<span id=\"target\">\n    Some content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        content: \"Tooltip content!\"\n      });\n    });\n</script>"],["header",{"level":3},"content.url ",["inlinecode","String"]],["para","Specifies a URL or request options that the tooltip should load its content from."],["blockquote",["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],["header",{"level":4},"Example - load content from remote URL"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    });\n  });\n</script>"],["header",{"level":3},"callout ",["inlinecode","Boolean"],["em","(default:true)"]],["para","Specifies if the tooltip callout will be displayed."],["header",{"level":4},"Example - hide the tooltip callout"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n    Some content\n</span>\n\n<script>\n    $(document).ready(function() {\n      $(\"#target\").kendoTooltip({\n        callout: false\n      });\n    });\n</script>"],["header",{"level":3},"filter ",["inlinecode","String"]],["para","Specifies a selector for elements, within the container, for which the tooltip will be displayed."],["header",{"level":4},"Example - show tooltip only for strong elements in a text"],["code_block","<div id=\"container\">\n    I'm a <strong title=\"First target\">tooltip target</strong>. I'm also a\n    <strong title=\"Second target\">tooltip target</strong>.\n</div>\n\n<script>\n    $(document).ready(function() {\n      $(\"#container\").kendoTooltip({\n        filter: \"strong\"\n      });\n    });\n</script>"],["header",{"level":3},"iframe ",["inlinecode","Boolean"]],["para","Explicitly states whether content iframe should be created."],["header",{"level":3},"height ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The height (in pixels) of the tooltip."],["header",{"level":4},"Example - set the height of the tooltip"],["code_block","<span id=\"target\" title=\"Tooltip long content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      height: 80\n    });\n  });\n</script>"],["header",{"level":3},"width ",["inlinecode","Number"],["em","(default: Infinity)"]],["para","The width (in pixels) of the tooltip."],["header",{"level":4},"Example - set the width of the tooltip"],["code_block","<span id=\"target\" title=\"Tooltip long content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      width: 180\n    });\n  });\n</script>"],["header",{"level":3},"position ",["inlinecode","String"],["em","(default: \"bottom\")"]],["para","The position relative to the target element, at which the tooltip will be shown. Predefined values are \"bottom\", \"top\", \"left\", \"right\", \"center\"."],["header",{"level":4},"Example - set tooltip position"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      position: \"right\"\n    });\n  });\n</script>"],["header",{"level":3},"showAfter ",["inlinecode","Number"],["em","(default: 100)"]],["para","Specify the delay in milliseconds before the tooltip is shown. This option is ignored if showOn is set to \"click\" or \"focus\"."],["header",{"level":4},"Example - set show delay"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      showAfter: 1000\n    });\n  });\n</script>"],["header",{"level":3},"showOn ",["inlinecode","String"],["em","(default: \"mouseenter\")"]],["para","The event on which the tooltip will be shown. Predefined values are \"mouseenter\", \"click\" and \"focus\"."],["header",{"level":4},"Example - set event on which the tooltip will be shown"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Click Me\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      showOn: \"click\"\n    });\n  });\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"show"],["para","Shows the tooltip for given target."],["header",{"level":4},"Example - show tooltip for target element"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip().data(\"kendoTooltip\");\n    tooltip.show($(\"#target\"));\n  });\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The target element for which the tooltip should be shown."],["header",{"level":3},"hide"],["para","Hides the tooltip."],["header",{"level":4},"Example - manually close the tooltip"],["code_block","<div id=\"container\">\n  <span title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"hideTooltip\" class=\"k-button\">Hide tooltip</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n    $(\"#hideTooltip\").click(function() {\n      tooltip.hide();\n    });\n  });\n</script>"],["header",{"level":3},"refresh"],["para","Refresh the tooltip content."],["header",{"level":4},"Example force refresh of the tooltip content"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<button id=\"refreshButton\" class=\"k-button\">Refresh Content</button>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      }\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#refreshButton\").click(function() {\n      tooltip.refresh();\n    });\n  });\n</script>"],["header",{"level":3},"target"],["para","Gets the tooltip current target."],["header",{"level":4},"Example"],["code_block","<div id=\"container\">\n  <span id=\"target1\" title=\"Tooltip1 content\">Tooltip target1</span> <br />\n  <span id=\"target2\" title=\"Tooltip2 content\">Tooltip target2</span>\n</div>\n\n<button id=\"targetButton\" class=\"k-button\">Log target</button>\n\n<script>\n  $(document).ready(function() {\n\n    var tooltip = $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      autoHide: false,\n      position: \"right\"\n    }).data(\"kendoTooltip\");\n\n\n    $(\"#targetButton\").click(function() {\n      var target = tooltip.target();\n      if (target) {\n        console.log(target.attr(\"id\"));\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The target element or null."],["header",{"level":2},"Events"],["header",{"level":3},"contentLoad"],["para","Triggered when an AJAX request for content completes."],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      contentLoad: function() {\n        console.log(\"content is loaded\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to the \"contentLoad\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"contentLoad\", function() {\n      console.log(\"content is loaded\");\n    });\n  });\n</script>"],["header",{"level":3},"show"],["para","Triggered when a Tooltip is shown."],["header",{"level":4},"Example - subscribe to \"show\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      show: function() {\n        console.log(\"tooltip is shown\");\n      }\n    });\n\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"show\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"show\", function() {\n      console.log(\"tooltip is shown\");\n    });\n  });\n</script>"],["header",{"level":4},"Example - force refresh every time the tooltip is shown"],["code_block","<div id=\"container\">\n  <span id=\"target\" title=\"Tooltip content\">Tooltip target</span>\n</div>\n\n<script>\n  $(document).ready(function() {\n    $(\"#container\").kendoTooltip({\n      filter: \"span\",\n      position: \"right\",\n      content: function() {\n        return \"last time refreshed: \" + kendo.format(\"{0:T}\", new Date());\n      },\n      show: function() {\n        this.refresh();\n      }\n    });\n  });\n</script>"],["header",{"level":3},"hide"],["para","Triggered when a Tooltip is hidden"],["header",{"level":4},"Example - subscribe to \"hide\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      hide: function() {\n        console.log(\"tooltip is hidden!\");\n      }\n    });\n\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"hide\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip().data(\"kendoTooltip\");\n\n    tooltip.bind(\"hide\", function() {\n        console.log(\"tooltip is hidden!\");\n    });\n  });\n</script>"],["header",{"level":3},"requestStart"],["para","Triggered before an AJAX request started. Note that this event is triggered only when an AJAX request, instead of an iframe, is used."],["header",{"level":4},"Example - subscribe to \"requestStart\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      requestStart: function(e) {\n        console.log(\"request is started\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"requestStart\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"requestStart\", function(e) {\n      console.log(\"request is started\");\n    });\n  });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.target ",["inlinecode","jQuery"]],["para","The target element, for which the tooltip is shown."],["header",{"level":5},"e.options ",["inlinecode","Object"]],["para","The request options which will be set to ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]," or to the iframe"],["header",{"level":3},"error"],["para","Triggered when an AJAX request for content fails."],["header",{"level":4},"Example - subscribe to \"error\" event during initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280,\n      error: function(e) {\n        console.log(\"error\");\n      }\n    });\n  });\n</script>"],["header",{"level":4},"Example - subscribe to \"error\" event after initialization"],["code_block","<span id=\"target\" title=\"Tooltip content\">\n  Some content\n</span>\n\n<script>\n  $(document).ready(function() {\n    var tooltip = $(\"#target\").kendoTooltip({\n      iframe: false,\n      content: {\n        url: \"http://demos.kendoui.com/content/web/tooltip/ajax/ajaxContent3.html\"\n      },\n      width: 220,\n      height: 280\n    }).data(\"kendoTooltip\");\n\n    tooltip.bind(\"error\", function(e) {\n      console.log(\"error\");\n    });\n  });\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]},"kendo.ui.TreeView":{"file":"api/web/treeview.md","name":"kendo.ui.TreeView","config":[{"name":"animation","type":["Boolean","Object"],"short_doc":[["para","A collection of visual animations used when items are expanded or collapsed through user interaction.\nSetting this option to ",["strong","false"]," will disable all animations."]],"doc":[["para","A collection of visual animations used when items are expanded or collapsed through user interaction.\nSetting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example - disable animation of subnodes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: false,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"sub":[{"name":"expand","type":["Boolean","Object"],"short_doc":[["para","The animation that will be used when expanding items."]],"doc":[["para","The animation that will be used when expanding items."],["header",{"level":4},"Example - disable expand animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: false\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"sub":[{"name":"effects","type":["String"],"default":"\"expandVertical\"","short_doc":[["para","A whitespace-delimited string of animation effects that are used when expanding nodes.\nThe supported effects are ",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."]],"doc":[["para","A whitespace-delimited string of animation effects that are used when expanding nodes.\nThe supported effects are ",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."],["header",{"level":4},"Example - make sub-levels fade in and expand vertically"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: {\n      effects: \"fadeIn expandVertical\"\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"animation.expand.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para"," The number of milliseconds used for the animation when a\nnode is expanded."]],"doc":[["para"," The number of milliseconds used for the animation when a\nnode is expanded."],["header",{"level":4},"Example - specify a slow expand animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: {\n      duration: 600\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"animation.expand.duration"}],"orig":"animation.expand"},{"name":"collapse","type":["Boolean","Object"],"short_doc":[["para","The animation that will be used when collapsing items."]],"doc":[["para","The animation that will be used when collapsing items."],["header",{"level":4},"Example - disable the collapse animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: false\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"sub":[{"name":"effects","type":["String"],"short_doc":[["para","A whitespace-delimited string of animation effects that are used when collapsing nodes.\nThe supported effects are ",["strong","fadeOut"]," and ",["strong","collapseVertical"],"."]],"doc":[["para","A whitespace-delimited string of animation effects that are used when collapsing nodes.\nThe supported effects are ",["strong","fadeOut"]," and ",["strong","collapseVertical"],"."],["header",{"level":4},"Example - make sub-levels fade out and collapse vertically"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: {\n      effects: \"fadeOut collapseVertical\"\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"animation.collapse.effects"},{"name":"duration","type":["Number"],"default":"200","short_doc":[["para","The number of milliseconds used for the animation when a node is expanded."]],"doc":[["para","The number of milliseconds used for the animation when a node is expanded."],["header",{"level":4},"Example - specify a collapse animation duration"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: {\n      duration: 400\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"animation.collapse.duration"}],"orig":"animation.collapse"}]},{"name":"autoBind","type":["Boolean"],"default":"true","short_doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]]],"doc":[["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n  data: [ { text: \"Jane Doe\" }, { text: \"John Doe\" }]\n});\n$(\"#treeview\").kendoTreeView({\n  autoBind: false,\n  dataSource: dataSource\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"]]},{"name":"checkboxes","type":["Boolean","Object"],"short_doc":[["para","If ",["inlinecode","true"]," or an object, renders checkboxes beside each node."]],"doc":[["para","If ",["inlinecode","true"]," or an object, renders checkboxes beside each node."],["header",{"level":4},"Example - show node checkboxes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"sub":[{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the checkboxes. Can be used to allow posting of\nadditional information along the treeview checkboxes."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","item - the data item of the given node"],["listitem","treeview - the treeview options"]]],"doc":[["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the checkboxes. Can be used to allow posting of\nadditional information along the treeview checkboxes."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","item - the data item of the given node"],["listitem","treeview - the treeview options"]],["header",{"level":4},"Example - specify a different name for each checkbox, bound to the item id"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    template: \"<input type='checkbox' name='checkedFiles[#= item.id #]' value='true' />\"\n  },\n  dataSource: [\n    { id: 1, text: \"foo\", items: [\n      { id: 2, text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"checkboxes.template"},{"name":"checkChildren","type":["Boolean"],"default":"false","short_doc":[["para","Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This\nalso enables tri-state checkboxes with an indeterminate state."]],"doc":[["para","Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This\nalso enables tri-state checkboxes with an indeterminate state."],["header",{"level":4},"Example - enable tri-state checkboxes and propagate checked state to children"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    checkChildren: true\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"checkboxes.checkChildren"},{"name":"name","type":["String"],"short_doc":[["para","Sets the name attribute of the checkbox inputs. That name will be posted to the server."]],"doc":[["para","Sets the name attribute of the checkbox inputs. That name will be posted to the server."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    name: \"checkedItems[]\"\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]],"orig":"checkboxes.name"}]},{"name":"dataImageUrlField","type":["String"],"default":"null","short_doc":[["para","Sets the field of the data item that provides the image URL of the treeview nodes."]],"doc":[["para","Sets the field of the data item that provides the image URL of the treeview nodes."],["header",{"level":4},"Example - specify custom image URL field"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"Mail\", image: \"http://demos.kendoui.com/content/web/treeview/mail.png\" },\n  { text: \"Search\", image: \"http://demos.kendoui.com/content/web/treeview/search.png\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataImageUrlField: \"image\",\n  dataSource: items\n});\n</script>"]]},{"name":"dataSource","type":["Object","Array","kendo.data.HierarchicalDataSource"],"short_doc":[["para","The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."]],"doc":[["para","The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    data: [\n      { text: \"foo\", items: [\n        { text: \"bar\" }\n      ] }\n    ]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.HierarchicalDataSource instance"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Employees\",\n      dataType: \"jsonp\"\n    }\n  },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\n\n$(\"#treeview\").kendoTreeView({\n  dataSource: dataSource,\n  dataTextField: \"FullName\"\n});\n</script>"]]},{"name":"dataSpriteCssClassField","type":["String"],"default":"null","short_doc":[["para","Sets the field of the data item that provides the sprite CSS class of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."]],"doc":[["para","Sets the field of the data item that provides the sprite CSS class of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."],["header",{"level":4},"Example"],["code_block","<style>\n  #treeview .k-sprite {\n    background-image: url(\"http://demos.kendoui.com/content/web/treeview/coloricons-sprite.png\");\n  }\n\n  .folder { background-position: 0 -16px; }\n  .html { background-position: 0 -48px; }\n</style>\n\n<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"assets\", sprite: \"folder\" },\n  { text: \"index.html\", sprite: \"html\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataSpriteCssClassField: \"sprite\",\n  dataSource: items\n});\n</script>"]]},{"name":"dataTextField","type":["String","Array"],"default":"null","short_doc":[["para","Sets the field of the data item that provides the text content of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."]],"doc":[["para","Sets the field of the data item that provides the text content of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { ProductName: \"Tea\", items: [\n    { ProductName: \"Green Tea\" },\n    { ProductName: \"Black Tea\" }\n  ] },\n  { ProductName: \"Coffee\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataTextField: \"ProductName\",\n  dataSource: items\n});\n</script>"],["header",{"level":4},"Example - using different fields on different levels"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { CategoryName: \"Tea\", items: [\n    { ProductName: \"Green Tea\" },\n    { ProductName: \"Black Tea\" }\n  ] },\n  { CategoryName: \"Coffee\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataTextField: [ \"CategoryName\", \"ProductName\" ],\n  dataSource: items\n});\n</script>"]]},{"name":"dataUrlField","type":["String"],"default":"null","short_doc":[["para","Sets the field of the data item that provides the link URL of the nodes."]],"doc":[["para","Sets the field of the data item that provides the link URL of the nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"Tea\", LinksTo: \"http://tea.example.com\" },\n  { text: \"Coffee\", LinksTo: \"http://coffee.example.com\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataUrlField: \"LinksTo\",\n  dataSource: items\n});\n</script>"]]},{"name":"dragAndDrop","type":["Boolean"],"default":"false","short_doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") drag-and-drop of the nodes."]],"doc":[["para","Disables (",["strong","false"],") or enables (",["strong","true"],") drag-and-drop of the nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\" },\n    { text: \"bar\" }\n  ]\n});\n</script>"]]},{"name":"loadOnDemand","type":["Boolean"],"default":"true","short_doc":[["para","Indicates whether the child datasources should be fetched lazily when parent groups get expanded.\nSetting this to false causes all child dataSources to be loaded at initialization time.\nNote: when initializing the widget from an array (rather than from a HierarchicalDataSource instance), this option defaults to false, rather than true."]],"doc":[["para","Indicates whether the child datasources should be fetched lazily when parent groups get expanded.\nSetting this to false causes all child dataSources to be loaded at initialization time.\nNote: when initializing the widget from an array (rather than from a HierarchicalDataSource instance), this option defaults to false, rather than true."],["header",{"level":4},"Example - force lazy loading of sublevels"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  loadOnDemand: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"]]},{"name":"messages","type":["Object"],"short_doc":[["para","The text messages displayed in the widget. Use it to customize or localize the messages."]],"doc":[["para","The text messages displayed in the widget. Use it to customize or localize the messages."],["header",{"level":4},"Example - customize treeview messages"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    retry: \"Wiederholen\",\n    requestFailed: \"Anforderung fehlgeschlagen.\",\n    loading: \"Laden...\"\n  }\n});\n</script>"]],"sub":[{"name":"requestFailed","type":["String"],"default":"\"Request failed.\"","short_doc":[["para","The text message shown when an error occurs while fetching the content."]],"doc":[["para","The text message shown when an error occurs while fetching the content."],["header",{"level":4},"Example - customize requestFailed message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    requestFailed: \"Anforderung fehlgeschlagen.\"\n  }\n});\n</script>"]],"orig":"messages.requestFailed"},{"name":"retry","type":["String"],"default":"\"Retry\"","short_doc":[["para","The text message shown in the retry button."]],"doc":[["para","The text message shown in the retry button."],["header",{"level":4},"Example - customize retry message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    retry: \"Wiederholen\"\n  }\n});\n</script>"]],"orig":"messages.retry"},{"name":"loading","type":["String"],"default":"\"Loading...\"","short_doc":[["para","The text message shown while the root level items are loading."]],"doc":[["para","The text message shown while the root level items are loading."],["header",{"level":4},"Example - customize loading message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    loading: \"Laden...\"\n  }\n});\n</script>"]],"orig":"messages.loading"}]},{"name":"template","type":["String","Function"],"short_doc":[["para","Template for rendering each node."]],"doc":[["para","Template for rendering each node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  template: \"#= item.text # (#= item.inStock #)\",\n  dataSource: [\n    { text: \"foo\", inStock: 7, items: [\n      { text: \"bar\", inStock: 2 },\n      { text: \"baz\", inStock: 5 }\n    ] }\n  ]\n});\n</script>"]]}],"methods":[{"name":"append","args":[{"name":"nodeData","type":["Object","jQuery"],"short_doc":[["para","A JSON-formatted string or selector that specifies the node to be appended.\nIf the argument is a plain JavaScript object, a new item will be created.\nIf the argument is a jQuery element that holds a node, the treeview node will be moved.\nIf the argument is an array of objects, each item of the array will be appended."]],"doc":[["para","A JSON-formatted string or selector that specifies the node to be appended.\nIf the argument is a plain JavaScript object, a new item will be created.\nIf the argument is a jQuery element that holds a node, the treeview node will be moved.\nIf the argument is an array of objects, each item of the array will be appended."]]},{"name":"parentNode","type":["jQuery"],"short_doc":[["para","The node that will contain the newly appended node. If not specified, the new node will be appended to the\nroot group of the TreeView."]],"doc":[["para","The node that will contain the newly appended node. If not specified, the new node will be appended to the\nroot group of the TreeView."]]},{"name":"success","type":["Function"],"short_doc":[["para","A success callback that will be called once the new node has been appended.\nUseful in the case of remote binding where an item is appended to an unfetched node. The callback is called\nonce the siblings have been fetched."]],"doc":[["para","A success callback that will be called once the new node has been appended.\nUseful in the case of remote binding where an item is appended to an unfetched node. The callback is called\nonce the siblings have been fetched."]]}],"short_doc":[["para","Appends a node to any level of the treeview. This method may also be used to reorder nodes."]],"doc":[["para","Appends a node to any level of the treeview. This method may also be used to reorder nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// appends a new node to the root level\ntreeview.append({ text: \"bar\" });\n\n// appends a new node to the first treeview item\ntreeview.append({ text: \"baz\" }, $(\"#treeview .k-item:first\"));\n\n// move the item with text \"bar\" within the item with text \"foo\"\ntreeview.append(treeview.findByText(\"bar\"), treeview.findByText(\"foo\"));\n\n// append two items to the root level\ntreeview.append([\n  { text: \"qux\" },\n  { text: \"cat\" }\n]);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object|jQuery"]],["para","A JSON-formatted string or selector that specifies the node to be appended.\nIf the argument is a plain JavaScript object, a new item will be created.\nIf the argument is a jQuery element that holds a node, the treeview node will be moved.\nIf the argument is an array of objects, each item of the array will be appended."],["header",{"level":5},"parentNode ",["inlinecode","jQuery"]," ",["em","(optional)"]],["para","The node that will contain the newly appended node. If not specified, the new node will be appended to the\nroot group of the TreeView."],["header",{"level":5},"success ",["inlinecode","Function"]," ",["em","(optional)"]],["para","A success callback that will be called once the new node has been appended.\nUseful in the case of remote binding where an item is appended to an unfetched node. The callback is called\nonce the siblings have been fetched."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The inserted ",["inlinecode","<li>"]," element, wrapped in a jQuery object,\nor ",["inlinecode","null"]," if the new model has not been inserted immediately."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// appends a new node to the root level\ntreeview.append({ text: \"bar\" });\n\n// appends a new node to the first treeview item\ntreeview.append({ text: \"baz\" }, $(\"#treeview .k-item:first\"));\n\n// move the item with text \"bar\" within the item with text \"foo\"\ntreeview.append(treeview.findByText(\"bar\"), treeview.findByText(\"foo\"));\n\n// append two items to the root level\ntreeview.append([\n  { text: \"qux\" },\n  { text: \"cat\" }\n]);\n</script>"]]]},{"name":"collapse","args":[{"name":"nodes","type":["jQuery","Element","String"],"short_doc":[["para","The nodes that will be collapsed."]],"doc":[["para","The nodes that will be collapsed."]]}],"short_doc":[["para","Collapses nodes."]],"doc":[["para","Collapses nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", expanded: true, items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// collapse the item with text \"foo\"\ntreeview.collapse(treeview.findByText(\"foo\"));\n\n// collapse all items\ntreeview.collapse(\".k-item\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that will be collapsed."]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", expanded: true, items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// collapse the item with text \"foo\"\ntreeview.collapse(treeview.findByText(\"foo\"));\n\n// collapse all items\ntreeview.collapse(\".k-item\");\n</script>"]]]},{"name":"dataItem","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","A string, DOM element or jQuery object which represents the node. A string is treated as a jQuery selector."]],"doc":[["para","A string, DOM element or jQuery object which represents the node. A string is treated as a jQuery selector."]]}],"short_doc":[["para","Returns the data item to which the specified node is bound."]],"doc":[["para","Returns the data item to which the specified node is bound."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","A string, DOM element or jQuery object which represents the node. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Node"]," The model of the item that was passed as a parameter."],["header",{"level":4},"Example - get the data item of the first node"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar dataItem = treeview.dataItem(\".k-item:first\");\nconsole.log(dataItem.text); // displays \"foo\"\n</script>"],["para","See also: ",["link",{"href":"/getting-started/web/treeview/overview#getting-the-node-data-in-the-select-event-handler"},"getting the node data in the select event handler"]]],"examples":[[["header",{"level":4},"Example - get the data item of the first node"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar dataItem = treeview.dataItem(\".k-item:first\");\nconsole.log(dataItem.text); // displays \"foo\"\n</script>"],["para","See also: ",["link",{"href":"/getting-started/web/treeview/overview#getting-the-node-data-in-the-select-event-handler"},"getting the node data in the select event handler"]]]]},{"name":"destroy","args":[],"short_doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]]],"doc":[["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.destroy();\n</script>"]]]},{"name":"detach","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","The node that is to be detached."]],"doc":[["para","The node that is to be detached."]]}],"short_doc":[["para","Removes a node from a TreeView, but keeps its jQuery.data() objects."]],"doc":[["para","Removes a node from a TreeView, but keeps its jQuery.data() objects."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that is to be detached."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The node that has been detached."],["header",{"level":4},"Example - remove the node with ID, firstItem"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar item = treeview.findByText(\"foo\");\nitem.data(\"id\", \"abc\");\ntreeview.detach(item);\nconsole.log(item.data(\"id\")); // logs \"abc\"\n</script>"]],"examples":[[["header",{"level":4},"Example - remove the node with ID, firstItem"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar item = treeview.findByText(\"foo\");\nitem.data(\"id\", \"abc\");\ntreeview.detach(item);\nconsole.log(item.data(\"id\")); // logs \"abc\"\n</script>"]]]},{"name":"enable","args":[{"name":"nodes","type":["jQuery","Element","String"],"short_doc":[["para","The nodes that are to be enabled/disabled."]],"doc":[["para","The nodes that are to be enabled/disabled."]]},{"name":"enable","type":["Boolean"],"short_doc":[["para","Whether the nodes should be enabled or disabled."]],"doc":[["para","Whether the nodes should be enabled or disabled."]]}],"short_doc":[["para","Enables or disables nodes."]],"doc":[["para","Enables or disables nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that are to be enabled/disabled."],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional, default: true)"]],["para","Whether the nodes should be enabled or disabled."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", enabled: false },\n    { text: \"bar\", enabled: false }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// enable the item with text \"foo\"\ntreeview.enable(treeview.findByText(\"foo\"));\n\n// enable all items\ntreeview.enable(\".k-item\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", enabled: false },\n    { text: \"bar\", enabled: false }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// enable the item with text \"foo\"\ntreeview.enable(treeview.findByText(\"foo\"));\n\n// enable all items\ntreeview.enable(\".k-item\");\n</script>"]]]},{"name":"expand","args":[{"name":"nodes","type":["jQuery","Element","String"],"short_doc":[["para","The nodes that are to be expanded."]],"doc":[["para","The nodes that are to be expanded."]]}],"short_doc":[["para","Expands collapsed nodes."]],"doc":[["para","Expands collapsed nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that are to be expanded."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// expand the item with text \"foo\"\ntreeview.expand(treeview.findByText(\"foo\"));\n\n// expand all loaded items\ntreeview.expand(\".k-item\");\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// expand the item with text \"foo\"\ntreeview.expand(treeview.findByText(\"foo\"));\n\n// expand all loaded items\ntreeview.expand(\".k-item\");\n</script>"]]]},{"name":"findByText","args":[{"name":"text","type":["String"],"short_doc":[["para","The text that is being searched for."]],"doc":[["para","The text that is being searched for."]]}],"short_doc":[["para","Searches for a node that has specific text."]],"doc":[["para","Searches for a node that has specific text."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text that is being searched for."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," All nodes that have the text."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" },\n    { text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// find the node with text \"foo\"\nvar foo = treeview.findByText(\"foo\");\nconsole.log(foo);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" },\n    { text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// find the node with text \"foo\"\nvar foo = treeview.findByText(\"foo\");\nconsole.log(foo);\n</script>"]]]},{"name":"findByUid","args":[{"name":"text","type":["String"],"short_doc":[["para","The text that is being searched for."]],"doc":[["para","The text that is being searched for."]]}],"short_doc":[["para","Searches for a node with the given unique identifier.\nApplicable when the widget is bound to a ",["link",{"href":"/api/framework/hierarchicaldatasource"},"HierarchicalDataSource"],".\nIf you want to find a node by its ",["inlinecode","id"],", use the ",["link",{"href":"/api/framework/datasource#get"},"dataSource.get()"]," method and supply its uid to the ",["inlinecode","findByUid"]," method."]],"doc":[["para","Searches for a node with the given unique identifier.\nApplicable when the widget is bound to a ",["link",{"href":"/api/framework/hierarchicaldatasource"},"HierarchicalDataSource"],".\nIf you want to find a node by its ",["inlinecode","id"],", use the ",["link",{"href":"/api/framework/datasource#get"},"dataSource.get()"]," method and supply its uid to the ",["inlinecode","findByUid"]," method."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text that is being searched for."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," All nodes that have the text."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar barDataItem = treeview.dataSource.get(2);\nvar barElement = treeview.findByUid(barDataItem.uid);\nconsole.log(barElement);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar barDataItem = treeview.dataSource.get(2);\nvar barElement = treeview.findByUid(barDataItem.uid);\nconsole.log(barElement);\n</script>"]]]},{"name":"insertAfter","args":[{"name":"nodeData","type":["Object"],"short_doc":[["para","A JSON-formatted string or selector that specifies the node to be inserted."]],"doc":[["para","A JSON-formatted string or selector that specifies the node to be inserted."]]},{"name":"referenceNode","type":["jQuery"],"short_doc":[["para","The node that will precede the newly-appended node."]],"doc":[["para","The node that will precede the newly-appended node."]]}],"short_doc":[["para","Inserts a node after a specified node.\nThis method may also be used to reorder nodes."]],"doc":[["para","Inserts a node after a specified node.\nThis method may also be used to reorder nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object"]],["para","A JSON-formatted string or selector that specifies the node to be inserted."],["header",{"level":5},"referenceNode ",["inlinecode","jQuery"]],["para","The node that will precede the newly-appended node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" after \"foo\"\ntreeview.insertAfter({ text: \"bar\" }, foo);\n\n// move the node \"foo\" after the node \"bar\"\ntreeview.insertAfter(foo, treeview.findByText(\"bar\"));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" after \"foo\"\ntreeview.insertAfter({ text: \"bar\" }, foo);\n\n// move the node \"foo\" after the node \"bar\"\ntreeview.insertAfter(foo, treeview.findByText(\"bar\"));\n</script>"]]]},{"name":"insertBefore","args":[{"name":"nodeData","type":["Object"],"short_doc":[["para","A JSON-formatted string or selector that specifies the node to be inserted."]],"doc":[["para","A JSON-formatted string or selector that specifies the node to be inserted."]]},{"name":"referenceNode","type":["jQuery"],"short_doc":[["para","The node that follows the inserted node."]],"doc":[["para","The node that follows the inserted node."]]}],"short_doc":[["para","Inserts a node before another node. This method may also be used to reorder nodes."]],"doc":[["para","Inserts a node before another node. This method may also be used to reorder nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object"]],["para","A JSON-formatted string or selector that specifies the node to be inserted."],["header",{"level":5},"referenceNode ",["inlinecode","jQuery"]],["para","The node that follows the inserted node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" before \"foo\"\ntreeview.insertBefore({ text: \"bar\" }, foo);\n\n// move the node \"foo\" before the node \"bar\"\ntreeview.insertBefore(foo, treeview.findByText(\"bar\"));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" before \"foo\"\ntreeview.insertBefore({ text: \"bar\" }, foo);\n\n// move the node \"foo\" before the node \"bar\"\ntreeview.insertBefore(foo, treeview.findByText(\"bar\"));\n</script>"]]]},{"name":"parent","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","The child node whose parent will be returned."]],"doc":[["para","The child node whose parent will be returned."]]}],"short_doc":[["para","Gets the parent node of the item"]],"doc":[["para","Gets the parent node of the item"],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The child node whose parent will be returned."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The parent node of the given parameter node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar parent = treeview.parent(treeview.findByText(\"bar\"));\nconsole.log(treeview.text(parent)); // logs \"foo\"\n\nparent = treeview.parent(parent);\nconsole.log(parent.length); // logs 0\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar parent = treeview.parent(treeview.findByText(\"bar\"));\nconsole.log(treeview.text(parent)); // logs \"foo\"\n\nparent = treeview.parent(parent);\nconsole.log(parent.length); // logs 0\n</script>"]]]},{"name":"remove","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","The node that is to be removed."]],"doc":[["para","The node that is to be removed."]]}],"short_doc":[["para","Removes a node from the widget."]],"doc":[["para","Removes a node from the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that is to be removed."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\n\ntreeview.remove(bar);\n\nconsole.log($(\"#treeview\").find(\".k-item\").length); // logs 1\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\n\ntreeview.remove(bar);\n\nconsole.log($(\"#treeview\").find(\".k-item\").length); // logs 1\n</script>"]]]},{"name":"select","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","If provided, the node that should be selected."]],"doc":[["para","If provided, the node that should be selected."]]}],"short_doc":[["para","Gets or sets the selected node."]],"doc":[["para","Gets or sets the selected node."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]," ",["em","(optional)"]],["para","If provided, the node that should be selected."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The currently selected node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\ntreeview.select(bar);\n\nconsole.log(treeview.text(treeview.select())); // logs \"bar\"\n\ntreeview.select($()); // clears selection\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\ntreeview.select(bar);\n\nconsole.log(treeview.text(treeview.select())); // logs \"bar\"\n\ntreeview.select($()); // clears selection\n</script>"]]]},{"name":"setDataSource","args":[{"name":"dataSource","type":["kendo.data.HierarchicalDataSource"],"short_doc":[["para","The new dataSource that the widget will bind to"]],"doc":[["para","The new dataSource that the widget will bind to"]]}],"short_doc":[["para","Sets and binds a dataSource to the widget."]],"doc":[["para","Sets and binds a dataSource to the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.HierarchicalDataSource"]],["para","The new dataSource that the widget will bind to"],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.setDataSource(new kendo.data.HierarchicalDataSource({\n  data: [\n    { text: \"bar\", items: [\n      { text: \"baz\" }\n    ] }\n  ]\n}));\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.setDataSource(new kendo.data.HierarchicalDataSource({\n  data: [\n    { text: \"bar\", items: [\n      { text: \"baz\" }\n    ] }\n  ]\n}));\n</script>"]]]},{"name":"text","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","The node of which the text is being retrieved or set."]],"doc":[["para","The node of which the text is being retrieved or set."]]},{"name":"newText","type":["String"],"short_doc":[["para","Optional. When passed, sets the node text to the specified string"]],"doc":[["para","Optional. When passed, sets the node text to the specified string"]]}],"short_doc":[["para","Gets or sets the text of a node in a TreeView."]],"doc":[["para","Gets or sets the text of a node in a TreeView."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node of which the text is being retrieved or set."],["header",{"level":5},"newText ",["inlinecode","String"]],["para","Optional. When passed, sets the node text to the specified string"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of a node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar firstItem = treeview.element.find(\".k-item:first\");\nconsole.log(treeview.text(firstItem)); // logs \"foo\"\n\ntreeview.text(\".k-item:last\", \"qux\"); // sets text to \"qux\"\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar firstItem = treeview.element.find(\".k-item:first\");\nconsole.log(treeview.text(firstItem)); // logs \"foo\"\n\ntreeview.text(\".k-item:last\", \"qux\"); // sets text to \"qux\"\n</script>"]]]},{"name":"toggle","args":[{"name":"node","type":["jQuery","Element","String"],"short_doc":[["para","The node that should be toggled."]],"doc":[["para","The node that should be toggled."]]}],"short_doc":[["para","Toggles the node of a TreeView between its expanded and collapsed states."]],"doc":[["para","Toggles the node of a TreeView between its expanded and collapsed states."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that should be toggled."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.toggle(\".k-item:first\");\n\nvar baz = treeview.findByText(\"baz\");\ntreeview.toggle(baz);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.toggle(\".k-item:first\");\n\nvar baz = treeview.findByText(\"baz\");\ntreeview.toggle(baz);\n</script>"]]]},{"name":"updateIndeterminate","args":[{"name":"node","type":["jQuery"],"short_doc":[["para","Optional. The root of the hierarchy that will be looped through. Allows only a subtree to be processed. The default value is the treeview root."]],"doc":[["para","Optional. The root of the hierarchy that will be looped through. Allows only a subtree to be processed. The default value is the treeview root."]]}],"short_doc":[["para","Updates the indeterminate state of the treeview checkboxes. Should be used for better performance when checking multiple checkboxes through code."]],"doc":[["para","Updates the indeterminate state of the treeview checkboxes. Should be used for better performance when checking multiple checkboxes through code."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery"]],["para","Optional. The root of the hierarchy that will be looped through. Allows only a subtree to be processed. The default value is the treeview root."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    checkChildren: true\n  },\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" },\n      { text: \"baz\" },\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\n$(\":checkbox\").filter(function() {\n  var text = $(this).parent().next().text();\n  return text != \"bar\" && text != \"foo\";\n}).prop(\"checked\", true);\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.updateIndeterminate();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    checkChildren: true\n  },\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" },\n      { text: \"baz\" },\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\n$(\":checkbox\").filter(function() {\n  var text = $(this).parent().next().text();\n  return text != \"bar\" && text != \"foo\";\n}).prop(\"checked\", true);\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.updateIndeterminate();\n</script>"]]]}],"events":[{"name":"collapse","args":[{"name":"e.node","type":["Element"],"short_doc":[["para","The collapsed node"]],"doc":[["para","The collapsed node"]]}],"short_doc":[["para","Triggered before a subgroup gets collapsed."]],"doc":[["para","Triggered before a subgroup gets collapsed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The collapsed node"],["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  collapse: function(e) {\n    console.log(\"Collapsing\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_collapse(e) {\n  console.log(\"Collapsing\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"collapse\", tree_collapse);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  collapse: function(e) {\n    console.log(\"Collapsing\", e.node);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_collapse(e) {\n  console.log(\"Collapsing\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"collapse\", tree_collapse);\n</script>"]]],"type":["Function"]},{"name":"dataBound","args":[{"name":"e.node","type":["jQuery"],"short_doc":[["para","The node whose children have been changed. If the changes have occurred on the root level, this parameter is undefined."]],"doc":[["para","The node whose children have been changed. If the changes have occurred on the root level, this parameter is undefined."]]}],"short_doc":[["para","Triggered after the dataSource change event has been processed (adding/removing items);"]],"doc":[["para","Triggered after the dataSource change event has been processed (adding/removing items);"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","jQuery"]],["para","The node whose children have been changed. If the changes have occurred on the root level, this parameter is undefined."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dataBound: function(e) {\n    console.log(\"DataBound\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_databound(e) {\n  console.log(\"DataBound\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dataBound\", tree_dataBound);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dataBound: function(e) {\n    console.log(\"DataBound\", e.node);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_databound(e) {\n  console.log(\"DataBound\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dataBound\", tree_dataBound);\n</script>"]]],"type":["Function"]},{"name":"drag","args":[{"name":"e.sourceNode","type":["Element"],"short_doc":[["para","The node that is being dragged."]],"doc":[["para","The node that is being dragged."]]},{"name":"e.dropTarget","type":["Element"],"short_doc":[["para","The element that the node is placed over."]],"doc":[["para","The element that the node is placed over."]]},{"name":"e.pageX","type":["Number"],"short_doc":[["para","The x coordinate of the mouse."]],"doc":[["para","The x coordinate of the mouse."]]},{"name":"e.pageY","type":["Number"],"short_doc":[["para","The y coordinate of the mouse."]],"doc":[["para","The y coordinate of the mouse."]]},{"name":"e.statusClass","type":["String"],"short_doc":[["para","The status that the drag clue shows."]],"doc":[["para","The status that the drag clue shows."]]},{"name":"e.setStatusClass","type":["Function"],"short_doc":[["para","Allows a custom drag clue status to be set."],["para","Pre-defined status classes are:"],["bulletlist",["listitem",["strong","k-insert-top"],"\n    - Indicates that the item will be inserted on top."],["listitem",["strong","k-insert-middle"],"\n    - Indicates that the item will be inserted in the middle."],["listitem",["strong","k-insert-bottom"],"\n    - Indicates that the item will be inserted at the bottom."],["listitem",["strong","k-add"],"\n    - Indicates that the item will be added/appended."],["listitem",["strong","k-denied"],"\n    - Indicates an invalid operation. Using this class will automatically\n      make the drop operation invalid, so there will be no need to call\n      ",["inlinecode","setValid(false)"]," in the ",["inlinecode","drop"]," event."]]],"doc":[["para","Allows a custom drag clue status to be set."],["para","Pre-defined status classes are:"],["bulletlist",["listitem",["strong","k-insert-top"],"\n    - Indicates that the item will be inserted on top."],["listitem",["strong","k-insert-middle"],"\n    - Indicates that the item will be inserted in the middle."],["listitem",["strong","k-insert-bottom"],"\n    - Indicates that the item will be inserted at the bottom."],["listitem",["strong","k-add"],"\n    - Indicates that the item will be added/appended."],["listitem",["strong","k-denied"],"\n    - Indicates an invalid operation. Using this class will automatically\n      make the drop operation invalid, so there will be no need to call\n      ",["inlinecode","setValid(false)"]," in the ",["inlinecode","drop"]," event."]]]}],"short_doc":[["para","Triggered while a node is being dragged."]],"doc":[["para","Triggered while a node is being dragged."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dragged."],["header",{"level":5},"e.dropTarget ",["inlinecode","Element"]],["para","The element that the node is placed over."],["header",{"level":5},"e.pageX ",["inlinecode","Number"]],["para","The x coordinate of the mouse."],["header",{"level":5},"e.pageY ",["inlinecode","Number"]],["para","The y coordinate of the mouse."],["header",{"level":5},"e.statusClass ",["inlinecode","String"]],["para","The status that the drag clue shows."],["header",{"level":5},"e.setStatusClass ",["inlinecode","Function"]],["para","Allows a custom drag clue status to be set."],["para","Pre-defined status classes are:"],["bulletlist",["listitem",["strong","k-insert-top"],"\n    - Indicates that the item will be inserted on top."],["listitem",["strong","k-insert-middle"],"\n    - Indicates that the item will be inserted in the middle."],["listitem",["strong","k-insert-bottom"],"\n    - Indicates that the item will be inserted at the bottom."],["listitem",["strong","k-add"],"\n    - Indicates that the item will be added/appended."],["listitem",["strong","k-denied"],"\n    - Indicates an invalid operation. Using this class will automatically\n      make the drop operation invalid, so there will be no need to call\n      ",["inlinecode","setValid(false)"]," in the ",["inlinecode","drop"]," event."]],["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drag: function(e) {\n    console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drag(e) {\n  console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drag\", tree_drag);\n</script>"],["header",{"level":4},"Example - disable node reordering"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" },\n      { text: \"baz\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.bind(\"drag\", function(e) {\n  // if the current status is \"insert-top/middle/bottom\"\n  if (e.statusClass.indexOf(\"insert\") >= 0) {\n    // deny the operation\n    e.setStatusClass(\"k-denied\");\n  }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drag: function(e) {\n    console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drag(e) {\n  console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drag\", tree_drag);\n</script>"]],[["header",{"level":4},"Example - disable node reordering"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" },\n      { text: \"baz\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.bind(\"drag\", function(e) {\n  // if the current status is \"insert-top/middle/bottom\"\n  if (e.statusClass.indexOf(\"insert\") >= 0) {\n    // deny the operation\n    e.setStatusClass(\"k-denied\");\n  }\n});\n</script>"]]],"type":["Function"]},{"name":"dragend","args":[{"name":"e.sourceNode","type":["Element"],"short_doc":[["para","The node that is being dropped."]],"doc":[["para","The node that is being dropped."]]},{"name":"e.destinationNode","type":["Element"],"short_doc":[["para","The node that the sourceNode is being dropped upon."]],"doc":[["para","The node that the sourceNode is being dropped upon."]]},{"name":"e.dropPosition","type":["String"],"short_doc":[["para","Shows where the source has been dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."]],"doc":[["para","Shows where the source has been dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."]]}],"short_doc":[["para","Triggered after a node has been dropped."]],"doc":[["para","Triggered after a node has been dropped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dropped."],["header",{"level":5},"e.destinationNode ",["inlinecode","Element"]],["para","The node that the sourceNode is being dropped upon."],["header",{"level":5},"e.dropPosition ",["inlinecode","String"]],["para","Shows where the source has been dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."],["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragend: function(e) {\n    console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragend(e) {\n  console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragend\", tree_dragend);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragend: function(e) {\n    console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragend(e) {\n  console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragend\", tree_dragend);\n</script>"]]],"type":["Function"]},{"name":"dragstart","args":[{"name":"e.sourceNode","type":["Element"],"short_doc":[["para","The node that will be dragged."]],"doc":[["para","The node that will be dragged."]]}],"short_doc":[["para","Triggered before the dragging of a node starts."]],"doc":[["para","Triggered before the dragging of a node starts."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that will be dragged."],["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    console.log(\"Drag start\", e.sourceNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragstart(e) {\n  console.log(\"Drag start\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragstart\", tree_dragstart);\n</script>"],["header",{"level":4},"Example - disable dragging of root nodes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    if ($(e.sourceNode).parentsUntil(\".k-treeview\", \".k-item\").length == 0) {\n      e.preventDefault();\n    }\n  }\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    console.log(\"Drag start\", e.sourceNode);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragstart(e) {\n  console.log(\"Drag start\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragstart\", tree_dragstart);\n</script>"]],[["header",{"level":4},"Example - disable dragging of root nodes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    if ($(e.sourceNode).parentsUntil(\".k-treeview\", \".k-item\").length == 0) {\n      e.preventDefault();\n    }\n  }\n});\n</script>"]]],"type":["Function"]},{"name":"drop","args":[{"name":"e.sourceNode","type":["Element"],"short_doc":[["para","The node that is being dropped."]],"doc":[["para","The node that is being dropped."]]},{"name":"e.destinationNode","type":["Element"],"short_doc":[["para","The node that the sourceNode is being dropped upon."]],"doc":[["para","The node that the sourceNode is being dropped upon."]]},{"name":"e.valid","type":["Boolean"],"short_doc":[["para","Whether this drop operation is permitted."]],"doc":[["para","Whether this drop operation is permitted."]]},{"name":"e.setValid","type":["Function"],"short_doc":[["para","Allows the drop to be prevented."]],"doc":[["para","Allows the drop to be prevented."]]},{"name":"e.dropTarget","type":["Element"],"short_doc":[["para","The element that the node is placed over."]],"doc":[["para","The element that the node is placed over."]]},{"name":"e.dropPosition","type":["String"],"short_doc":[["para","Shows where the source will be dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."]],"doc":[["para","Shows where the source will be dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."]]}],"short_doc":[["para","Triggered when a node is being dropped."]],"doc":[["para","Triggered when a node is being dropped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dropped."],["header",{"level":5},"e.destinationNode ",["inlinecode","Element"]],["para","The node that the sourceNode is being dropped upon."],["header",{"level":5},"e.valid ",["inlinecode","Boolean"]],["para","Whether this drop operation is permitted."],["header",{"level":5},"e.setValid ",["inlinecode","Function"]],["para","Allows the drop to be prevented."],["header",{"level":5},"e.dropTarget ",["inlinecode","Element"]],["para","The element that the node is placed over."],["header",{"level":5},"e.dropPosition ",["inlinecode","String"]],["para","Shows where the source will be dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."],["header",{"level":4},"The difference between e.setValid(false) and e.preventDefault()"],["para","Both operations cancel the default drag operation, but the indication to the user is different.\n",["inlinecode","e.setValid(false)"]," indicates that the operation was unsuccessful by animating the drag clue to its original position.\n",["inlinecode","e.preventDefault()"]," simply removes the clue, as if it has been dropped.\nAs a general rule, use ",["inlinecode","preventDefault"]," to manually handle the drag&drop operation, and ",["inlinecode","setValid(false)"]," to indicate unsuccessful drag&drops."],["header",{"level":4},"Example - subscribe to the \"drop\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drop: function(e) {\n    console.log(\"Dropped\", e.sourceNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drop\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drop(e) {\n  console.log(\"Dropped\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drop\", tree_drop);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"drop\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drop: function(e) {\n    console.log(\"Dropped\", e.sourceNode);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"drop\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drop(e) {\n  console.log(\"Dropped\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drop\", tree_drop);\n</script>"]]],"type":["Function"]},{"name":"expand","args":[{"name":"e.node","type":["Element"],"short_doc":[["para","The expanded node"]],"doc":[["para","The expanded node"]]}],"short_doc":[["para","Triggered before a subgroup gets expanded."]],"doc":[["para","Triggered before a subgroup gets expanded."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The expanded node"],["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  expand: function(e) {\n    console.log(\"Expand\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_expand(e) {\n  console.log(\"Expand\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"expand\", tree_expand);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  expand: function(e) {\n    console.log(\"Expand\", e.node);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_expand(e) {\n  console.log(\"Expand\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"expand\", tree_expand);\n</script>"]]],"type":["Function"]},{"name":"change","args":[],"short_doc":[["para","Triggered when the selection has changed (either by the user or through the ",["inlinecode","select"]," method)."]],"doc":[["para","Triggered when the selection has changed (either by the user or through the ",["inlinecode","select"]," method)."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(\"Change\", this.select());\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_change(e) {\n  console.log(\"Change\", this.select());\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"change\", tree_change);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(\"Change\", this.select());\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_change(e) {\n  console.log(\"Change\", this.select());\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"change\", tree_change);\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e.node","type":["Element"],"short_doc":[["para","The selected node"]],"doc":[["para","The selected node"]]}],"short_doc":[["para","Triggered when a node is being selected by the user. Cancellable."]],"doc":[["para","Triggered when a node is being selected by the user. Cancellable."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The selected node"],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  select: function(e) {\n    console.log(\"Selecting\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_select(e) {\n  console.log(\"select\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"Selecting\", tree_select);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  select: function(e) {\n    console.log(\"Selecting\", e.node);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_select(e) {\n  console.log(\"select\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"Selecting\", tree_select);\n</script>"]]],"type":["Function"]},{"name":"navigate","args":[{"name":"e.node","type":["Element"],"short_doc":[["para","The focused node"]],"doc":[["para","The focused node"]]}],"short_doc":[["para","Triggered when the user moves the focus on another node"]],"doc":[["para","Triggered when the user moves the focus on another node"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The focused node"],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  navigate: function(e) {\n    console.log(\"Navigated to\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_navigate(e) {\n  console.log(\"Navigating to\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"navigate\", tree_navigate);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  navigate: function(e) {\n    console.log(\"Navigated to\", e.node);\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_navigate(e) {\n  console.log(\"Navigating to\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"navigate\", tree_navigate);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI TreeView. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI TreeView. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"animation ",["inlinecode","Boolean|Object"]],["para","A collection of visual animations used when items are expanded or collapsed through user interaction.\nSetting this option to ",["strong","false"]," will disable all animations."],["header",{"level":4},"Example - disable animation of subnodes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: false,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.collapse ",["inlinecode","Boolean|Object"]],["para","The animation that will be used when collapsing items."],["header",{"level":4},"Example - disable the collapse animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: false\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.collapse.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para","The number of milliseconds used for the animation when a node is expanded."],["header",{"level":4},"Example - specify a collapse animation duration"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: {\n      duration: 400\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.collapse.effects ",["inlinecode","String"]],["para","A whitespace-delimited string of animation effects that are used when collapsing nodes.\nThe supported effects are ",["strong","fadeOut"]," and ",["strong","collapseVertical"],"."],["header",{"level":4},"Example - make sub-levels fade out and collapse vertically"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    collapse: {\n      effects: \"fadeOut collapseVertical\"\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.expand ",["inlinecode","Boolean|Object"]],["para","The animation that will be used when expanding items."],["header",{"level":4},"Example - disable expand animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: false\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.expand.duration ",["inlinecode","Number"]," ",["em","(default: 200)"]],["para"," The number of milliseconds used for the animation when a\nnode is expanded."],["header",{"level":4},"Example - specify a slow expand animation"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: {\n      duration: 600\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"animation.expand.effects ",["inlinecode","String"]," ",["em","(default: \"expandVertical\")"]],["para","A whitespace-delimited string of animation effects that are used when expanding nodes.\nThe supported effects are ",["strong","\"expandVertical\""]," and ",["strong","\"fadeIn\""],"."],["header",{"level":4},"Example - make sub-levels fade in and expand vertically"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  animation: {\n    expand: {\n      effects: \"fadeIn expandVertical\"\n    }\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"autoBind ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","If set to ",["inlinecode","false"]," the widget will not bind to the data source during initialization. In this case data binding will occur when the ",["link",{"href":"/api/framework/datasource#events-change"},"change"]," event of the\ndata source is fired. By default the widget will bind to the data source specified in the configuration."],["blockquote",["para","Setting ",["inlinecode","autoBind"]," to ",["inlinecode","false"]," is useful when multiple widgets are bound to the same data source. Disabling automatic binding ensures that the shared data source does not make more than one request to the remote service."]],["header",{"level":4},"Example - disable automatic binding"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n  data: [ { text: \"Jane Doe\" }, { text: \"John Doe\" }]\n});\n$(\"#treeview\").kendoTreeView({\n  autoBind: false,\n  dataSource: dataSource\n});\ndataSource.read(); // \"read()\" will fire the \"change\" event of the dataSource and the widget will be bound\n</script>"],["header",{"level":3},"checkboxes ",["inlinecode","Boolean|Object"]],["para","If ",["inlinecode","true"]," or an object, renders checkboxes beside each node."],["header",{"level":4},"Example - show node checkboxes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"checkboxes.name ",["inlinecode","String"]],["para","Sets the name attribute of the checkbox inputs. That name will be posted to the server."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    name: \"checkedItems[]\"\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"checkboxes.checkChildren ",["inlinecode","Boolean"],["em","(default: false)"]],["para","Indicates whether checkboxes of child items should get checked when the checkbox of a parent item is checked. This\nalso enables tri-state checkboxes with an indeterminate state."],["header",{"level":4},"Example - enable tri-state checkboxes and propagate checked state to children"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    checkChildren: true\n  },\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"checkboxes.template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"/api/framework/kendo#methods-template"},"template"]," which renders the checkboxes. Can be used to allow posting of\nadditional information along the treeview checkboxes."],["para","The fields which can be used in the template are:"],["bulletlist",["listitem","item - the data item of the given node"],["listitem","treeview - the treeview options"]],["header",{"level":4},"Example - specify a different name for each checkbox, bound to the item id"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    template: \"<input type='checkbox' name='checkedFiles[#= item.id #]' value='true' />\"\n  },\n  dataSource: [\n    { id: 1, text: \"foo\", items: [\n      { id: 2, text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"dataImageUrlField ",["inlinecode","String"]," ",["em","(default: null)"]],["para","Sets the field of the data item that provides the image URL of the treeview nodes."],["header",{"level":4},"Example - specify custom image URL field"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"Mail\", image: \"http://demos.kendoui.com/content/web/treeview/mail.png\" },\n  { text: \"Search\", image: \"http://demos.kendoui.com/content/web/treeview/search.png\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataImageUrlField: \"image\",\n  dataSource: items\n});\n</script>"],["header",{"level":3},"dataSource ",["inlinecode","Object|Array|kendo.data.HierarchicalDataSource"]],["para","The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance."],["para","If the ",["inlinecode","dataSource"]," option is set to a JavaScript object or array the widget will initialize a new ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance using that value as data source configuration."],["para","If the ",["inlinecode","dataSource"]," option is an existing ",["link",{"href":"/api/framework/hierarchicaldatasource"},"kendo.data.HierarchicalDataSource"]," instance the widget will use that instance and will ",["strong","not"]," initialize a new one."],["header",{"level":4},"Example - set dataSource as a JavaScript object"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    data: [\n      { text: \"foo\", items: [\n        { text: \"bar\" }\n      ] }\n    ]\n  }\n});\n</script>"],["header",{"level":4},"Example - set dataSource as a JavaScript array"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":4},"Example - set dataSource as an existing kendo.data.HierarchicalDataSource instance"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar dataSource = new kendo.data.HierarchicalDataSource({\n  transport: {\n    read: {\n      url: \"http://demos.kendoui.com/service/Employees\",\n      dataType: \"jsonp\"\n    }\n  },\n  schema: {\n    model: {\n      id: \"EmployeeId\",\n      hasChildren: \"HasEmployees\"\n    }\n  }\n});\n\n$(\"#treeview\").kendoTreeView({\n  dataSource: dataSource,\n  dataTextField: \"FullName\"\n});\n</script>"],["header",{"level":3},"dataSpriteCssClassField ",["inlinecode","String"]," ",["em","(default: null)"]],["para","Sets the field of the data item that provides the sprite CSS class of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."],["header",{"level":4},"Example"],["code_block","<style>\n  #treeview .k-sprite {\n    background-image: url(\"http://demos.kendoui.com/content/web/treeview/coloricons-sprite.png\");\n  }\n\n  .folder { background-position: 0 -16px; }\n  .html { background-position: 0 -48px; }\n</style>\n\n<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"assets\", sprite: \"folder\" },\n  { text: \"index.html\", sprite: \"html\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataSpriteCssClassField: \"sprite\",\n  dataSource: items\n});\n</script>"],["header",{"level":3},"dataTextField ",["inlinecode","String|Array"]," ",["em","(default: null)"]],["para","Sets the field of the data item that provides the text content of the nodes.\nIf an array, each level uses the field that is at the same index in the array, or the last item in the array."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { ProductName: \"Tea\", items: [\n    { ProductName: \"Green Tea\" },\n    { ProductName: \"Black Tea\" }\n  ] },\n  { ProductName: \"Coffee\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataTextField: \"ProductName\",\n  dataSource: items\n});\n</script>"],["header",{"level":4},"Example - using different fields on different levels"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { CategoryName: \"Tea\", items: [\n    { ProductName: \"Green Tea\" },\n    { ProductName: \"Black Tea\" }\n  ] },\n  { CategoryName: \"Coffee\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataTextField: [ \"CategoryName\", \"ProductName\" ],\n  dataSource: items\n});\n</script>"],["header",{"level":3},"dataUrlField ",["inlinecode","String"]," ",["em","(default: null)"]],["para","Sets the field of the data item that provides the link URL of the nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\nvar items = [\n  { text: \"Tea\", LinksTo: \"http://tea.example.com\" },\n  { text: \"Coffee\", LinksTo: \"http://coffee.example.com\" }\n];\n$(\"#treeview\").kendoTreeView({\n  dataUrlField: \"LinksTo\",\n  dataSource: items\n});\n</script>"],["header",{"level":3},"dragAndDrop ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Disables (",["strong","false"],") or enables (",["strong","true"],") drag-and-drop of the nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\" },\n    { text: \"bar\" }\n  ]\n});\n</script>"],["header",{"level":3},"loadOnDemand ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Indicates whether the child datasources should be fetched lazily when parent groups get expanded.\nSetting this to false causes all child dataSources to be loaded at initialization time.\nNote: when initializing the widget from an array (rather than from a HierarchicalDataSource instance), this option defaults to false, rather than true."],["header",{"level":4},"Example - force lazy loading of sublevels"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  loadOnDemand: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n</script>"],["header",{"level":3},"messages ",["inlinecode","Object"]],["para","The text messages displayed in the widget. Use it to customize or localize the messages."],["header",{"level":4},"Example - customize treeview messages"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    retry: \"Wiederholen\",\n    requestFailed: \"Anforderung fehlgeschlagen.\",\n    loading: \"Laden...\"\n  }\n});\n</script>"],["header",{"level":3},"messages.loading ",["inlinecode","String"]," ",["em","(default: \"Loading...\")"]],["para","The text message shown while the root level items are loading."],["header",{"level":4},"Example - customize loading message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    loading: \"Laden...\"\n  }\n});\n</script>"],["header",{"level":3},"messages.retry ",["inlinecode","String"]," ",["em","(default: \"Retry\")"]],["para","The text message shown in the retry button."],["header",{"level":4},"Example - customize retry message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    retry: \"Wiederholen\"\n  }\n});\n</script>"],["header",{"level":3},"messages.requestFailed ",["inlinecode","String"]," ",["em","(default: \"Request failed.\")"]],["para","The text message shown when an error occurs while fetching the content."],["header",{"level":4},"Example - customize requestFailed message"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: {\n    transport: {\n      read: function(options) {\n        // request always fails after 1s\n        setTimeout(function() {\n          options.error({});\n        }, 1000);\n      }\n    }\n  },\n  messages: {\n    requestFailed: \"Anforderung fehlgeschlagen.\"\n  }\n});\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"]],["para","Template for rendering each node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  template: \"#= item.text # (#= item.inStock #)\",\n  dataSource: [\n    { text: \"foo\", inStock: 7, items: [\n      { text: \"bar\", inStock: 2 },\n      { text: \"baz\", inStock: 5 }\n    ] }\n  ]\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"append"],["para","Appends a node to any level of the treeview. This method may also be used to reorder nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// appends a new node to the root level\ntreeview.append({ text: \"bar\" });\n\n// appends a new node to the first treeview item\ntreeview.append({ text: \"baz\" }, $(\"#treeview .k-item:first\"));\n\n// move the item with text \"bar\" within the item with text \"foo\"\ntreeview.append(treeview.findByText(\"bar\"), treeview.findByText(\"foo\"));\n\n// append two items to the root level\ntreeview.append([\n  { text: \"qux\" },\n  { text: \"cat\" }\n]);\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object|jQuery"]],["para","A JSON-formatted string or selector that specifies the node to be appended.\nIf the argument is a plain JavaScript object, a new item will be created.\nIf the argument is a jQuery element that holds a node, the treeview node will be moved.\nIf the argument is an array of objects, each item of the array will be appended."],["header",{"level":5},"parentNode ",["inlinecode","jQuery"]," ",["em","(optional)"]],["para","The node that will contain the newly appended node. If not specified, the new node will be appended to the\nroot group of the TreeView."],["header",{"level":5},"success ",["inlinecode","Function"]," ",["em","(optional)"]],["para","A success callback that will be called once the new node has been appended.\nUseful in the case of remote binding where an item is appended to an unfetched node. The callback is called\nonce the siblings have been fetched."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The inserted ",["inlinecode","<li>"]," element, wrapped in a jQuery object,\nor ",["inlinecode","null"]," if the new model has not been inserted immediately."],["header",{"level":3},"collapse"],["para","Collapses nodes."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", expanded: true, items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// collapse the item with text \"foo\"\ntreeview.collapse(treeview.findByText(\"foo\"));\n\n// collapse all items\ntreeview.collapse(\".k-item\");\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that will be collapsed."],["header",{"level":3},"dataItem"],["para","Returns the data item to which the specified node is bound."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","A string, DOM element or jQuery object which represents the node. A string is treated as a jQuery selector."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.data.Node"]," The model of the item that was passed as a parameter."],["header",{"level":4},"Example - get the data item of the first node"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar dataItem = treeview.dataItem(\".k-item:first\");\nconsole.log(dataItem.text); // displays \"foo\"\n</script>"],["para","See also: ",["link",{"href":"/getting-started/web/treeview/overview#getting-the-node-data-in-the-select-event-handler"},"getting the node data in the select event handler"]],["header",{"level":3},"destroy"],["para","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."],["blockquote",["para","This method does not remove the widget element from DOM."]],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.destroy();\n</script>"],["header",{"level":3},"detach"],["para","Removes a node from a TreeView, but keeps its jQuery.data() objects."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that is to be detached."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The node that has been detached."],["header",{"level":4},"Example - remove the node with ID, firstItem"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar item = treeview.findByText(\"foo\");\nitem.data(\"id\", \"abc\");\ntreeview.detach(item);\nconsole.log(item.data(\"id\")); // logs \"abc\"\n</script>"],["header",{"level":3},"enable"],["para","Enables or disables nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that are to be enabled/disabled."],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional, default: true)"]],["para","Whether the nodes should be enabled or disabled."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", enabled: false },\n    { text: \"bar\", enabled: false }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// enable the item with text \"foo\"\ntreeview.enable(treeview.findByText(\"foo\"));\n\n// enable all items\ntreeview.enable(\".k-item\");\n</script>"],["header",{"level":3},"expand"],["para","Expands collapsed nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodes ",["inlinecode","jQuery|Element|String"]],["para","The nodes that are to be expanded."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// expand the item with text \"foo\"\ntreeview.expand(treeview.findByText(\"foo\"));\n\n// expand all loaded items\ntreeview.expand(\".k-item\");\n</script>"],["header",{"level":3},"findByText"],["para","Searches for a node that has specific text."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text that is being searched for."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," All nodes that have the text."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" },\n    { text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n// find the node with text \"foo\"\nvar foo = treeview.findByText(\"foo\");\nconsole.log(foo);\n</script>"],["header",{"level":3},"findByUid"],["para","Searches for a node with the given unique identifier.\nApplicable when the widget is bound to a ",["link",{"href":"/api/framework/hierarchicaldatasource"},"HierarchicalDataSource"],".\nIf you want to find a node by its ",["inlinecode","id"],", use the ",["link",{"href":"/api/framework/datasource#get"},"dataSource.get()"]," method and supply its uid to the ",["inlinecode","findByUid"]," method."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]],["para","The text that is being searched for."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," All nodes that have the text."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { id: 1, text: \"foo\" },\n    { id: 2, text: \"bar\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar barDataItem = treeview.dataSource.get(2);\nvar barElement = treeview.findByUid(barDataItem.uid);\nconsole.log(barElement);\n</script>"],["header",{"level":3},"insertAfter"],["para","Inserts a node after a specified node.\nThis method may also be used to reorder nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object"]],["para","A JSON-formatted string or selector that specifies the node to be inserted."],["header",{"level":5},"referenceNode ",["inlinecode","jQuery"]],["para","The node that will precede the newly-appended node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" after \"foo\"\ntreeview.insertAfter({ text: \"bar\" }, foo);\n\n// move the node \"foo\" after the node \"bar\"\ntreeview.insertAfter(foo, treeview.findByText(\"bar\"));\n</script>"],["header",{"level":3},"insertBefore"],["para","Inserts a node before another node. This method may also be used to reorder nodes."],["header",{"level":4},"Parameters"],["header",{"level":5},"nodeData ",["inlinecode","Object"]],["para","A JSON-formatted string or selector that specifies the node to be inserted."],["header",{"level":5},"referenceNode ",["inlinecode","jQuery"]],["para","The node that follows the inserted node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\" }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\nvar foo = treeview.findByText(\"foo\");\n\n// insert \"bar\" before \"foo\"\ntreeview.insertBefore({ text: \"bar\" }, foo);\n\n// move the node \"foo\" before the node \"bar\"\ntreeview.insertBefore(foo, treeview.findByText(\"bar\"));\n</script>"],["header",{"level":3},"parent"],["para","Gets the parent node of the item"],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The child node whose parent will be returned."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The parent node of the given parameter node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar parent = treeview.parent(treeview.findByText(\"bar\"));\nconsole.log(treeview.text(parent)); // logs \"foo\"\n\nparent = treeview.parent(parent);\nconsole.log(parent.length); // logs 0\n</script>"],["header",{"level":3},"remove"],["para","Removes a node from the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that is to be removed."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\n\ntreeview.remove(bar);\n\nconsole.log($(\"#treeview\").find(\".k-item\").length); // logs 1\n</script>"],["header",{"level":3},"select"],["para","Gets or sets the selected node."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]," ",["em","(optional)"]],["para","If provided, the node that should be selected."],["header",{"level":4},"Returns"],["para",["inlinecode","jQuery"]," The currently selected node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar bar = treeview.findByText(\"bar\");\ntreeview.select(bar);\n\nconsole.log(treeview.text(treeview.select())); // logs \"bar\"\n\ntreeview.select($()); // clears selection\n</script>"],["header",{"level":3},"setDataSource"],["para","Sets and binds a dataSource to the widget."],["header",{"level":4},"Parameters"],["header",{"level":5},"dataSource ",["inlinecode","kendo.data.HierarchicalDataSource"]],["para","The new dataSource that the widget will bind to"],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.setDataSource(new kendo.data.HierarchicalDataSource({\n  data: [\n    { text: \"bar\", items: [\n      { text: \"baz\" }\n    ] }\n  ]\n}));\n</script>"],["header",{"level":3},"text"],["para","Gets or sets the text of a node in a TreeView."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node of which the text is being retrieved or set."],["header",{"level":5},"newText ",["inlinecode","String"]],["para","Optional. When passed, sets the node text to the specified string"],["header",{"level":4},"Returns"],["para",["inlinecode","String"]," The text of a node."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\nvar firstItem = treeview.element.find(\".k-item:first\");\nconsole.log(treeview.text(firstItem)); // logs \"foo\"\n\ntreeview.text(\".k-item:last\", \"qux\"); // sets text to \"qux\"\n</script>"],["header",{"level":3},"toggle"],["para","Toggles the node of a TreeView between its expanded and collapsed states."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery|Element|String"]],["para","The node that should be toggled."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] },\n    { text: \"baz\", items: [\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.toggle(\".k-item:first\");\n\nvar baz = treeview.findByText(\"baz\");\ntreeview.toggle(baz);\n</script>"],["header",{"level":3},"updateIndeterminate"],["para","Updates the indeterminate state of the treeview checkboxes. Should be used for better performance when checking multiple checkboxes through code."],["header",{"level":4},"Parameters"],["header",{"level":5},"node ",["inlinecode","jQuery"]],["para","Optional. The root of the hierarchy that will be looped through. Allows only a subtree to be processed. The default value is the treeview root."],["header",{"level":4},"Example"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  checkboxes: {\n    checkChildren: true\n  },\n  dataSource: [\n    { text: \"foo\", expanded: true, items: [\n      { text: \"bar\" },\n      { text: \"baz\" },\n      { text: \"qux\" }\n    ] }\n  ]\n});\n\n$(\":checkbox\").filter(function() {\n  var text = $(this).parent().next().text();\n  return text != \"bar\" && text != \"foo\";\n}).prop(\"checked\", true);\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.updateIndeterminate();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"collapse"],["para","Triggered before a subgroup gets collapsed."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The collapsed node"],["header",{"level":4},"Example - subscribe to the \"collapse\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  collapse: function(e) {\n    console.log(\"Collapsing\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"collapse\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_collapse(e) {\n  console.log(\"Collapsing\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"collapse\", tree_collapse);\n</script>"],["header",{"level":3},"dataBound"],["para","Triggered after the dataSource change event has been processed (adding/removing items);"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","jQuery"]],["para","The node whose children have been changed. If the changes have occurred on the root level, this parameter is undefined."],["header",{"level":4},"Example - subscribe to the \"dataBound\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dataBound: function(e) {\n    console.log(\"DataBound\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dataBound\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_databound(e) {\n  console.log(\"DataBound\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dataBound\", tree_dataBound);\n</script>"],["header",{"level":3},"drag"],["para","Triggered while a node is being dragged."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dragged."],["header",{"level":5},"e.dropTarget ",["inlinecode","Element"]],["para","The element that the node is placed over."],["header",{"level":5},"e.pageX ",["inlinecode","Number"]],["para","The x coordinate of the mouse."],["header",{"level":5},"e.pageY ",["inlinecode","Number"]],["para","The y coordinate of the mouse."],["header",{"level":5},"e.statusClass ",["inlinecode","String"]],["para","The status that the drag clue shows."],["header",{"level":5},"e.setStatusClass ",["inlinecode","Function"]],["para","Allows a custom drag clue status to be set."],["para","Pre-defined status classes are:"],["bulletlist",["listitem",["strong","k-insert-top"],"\n    - Indicates that the item will be inserted on top."],["listitem",["strong","k-insert-middle"],"\n    - Indicates that the item will be inserted in the middle."],["listitem",["strong","k-insert-bottom"],"\n    - Indicates that the item will be inserted at the bottom."],["listitem",["strong","k-add"],"\n    - Indicates that the item will be added/appended."],["listitem",["strong","k-denied"],"\n    - Indicates an invalid operation. Using this class will automatically\n      make the drop operation invalid, so there will be no need to call\n      ",["inlinecode","setValid(false)"]," in the ",["inlinecode","drop"]," event."]],["header",{"level":4},"Example - subscribe to the \"drag\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drag: function(e) {\n    console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drag\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drag(e) {\n  console.log(\"Drag\", e.sourceNode, \"over\", e.dropTarget);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drag\", tree_drag);\n</script>"],["header",{"level":4},"Example - disable node reordering"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" },\n      { text: \"baz\" }\n    ] }\n  ]\n});\n\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\n\ntreeview.bind(\"drag\", function(e) {\n  // if the current status is \"insert-top/middle/bottom\"\n  if (e.statusClass.indexOf(\"insert\") >= 0) {\n    // deny the operation\n    e.setStatusClass(\"k-denied\");\n  }\n});\n</script>"],["header",{"level":3},"dragend"],["para","Triggered after a node has been dropped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dropped."],["header",{"level":5},"e.destinationNode ",["inlinecode","Element"]],["para","The node that the sourceNode is being dropped upon."],["header",{"level":5},"e.dropPosition ",["inlinecode","String"]],["para","Shows where the source has been dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."],["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragend: function(e) {\n    console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragend(e) {\n  console.log(\"Drag end\", e.sourceNode, e.dropPosition, e.destinationNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragend\", tree_dragend);\n</script>"],["header",{"level":3},"dragstart"],["para","Triggered before the dragging of a node starts."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that will be dragged."],["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    console.log(\"Drag start\", e.sourceNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_dragstart(e) {\n  console.log(\"Drag start\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"dragstart\", tree_dragstart);\n</script>"],["header",{"level":4},"Example - disable dragging of root nodes"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  dragstart: function(e) {\n    if ($(e.sourceNode).parentsUntil(\".k-treeview\", \".k-item\").length == 0) {\n      e.preventDefault();\n    }\n  }\n});\n</script>"],["header",{"level":3},"drop"],["para","Triggered when a node is being dropped."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.sourceNode ",["inlinecode","Element"]],["para","The node that is being dropped."],["header",{"level":5},"e.destinationNode ",["inlinecode","Element"]],["para","The node that the sourceNode is being dropped upon."],["header",{"level":5},"e.valid ",["inlinecode","Boolean"]],["para","Whether this drop operation is permitted."],["header",{"level":5},"e.setValid ",["inlinecode","Function"]],["para","Allows the drop to be prevented."],["header",{"level":5},"e.dropTarget ",["inlinecode","Element"]],["para","The element that the node is placed over."],["header",{"level":5},"e.dropPosition ",["inlinecode","String"]],["para","Shows where the source will be dropped. One of the values ",["strong","over"],", ",["strong","before"],", or ",["strong","after"],"."],["header",{"level":4},"The difference between e.setValid(false) and e.preventDefault()"],["para","Both operations cancel the default drag operation, but the indication to the user is different.\n",["inlinecode","e.setValid(false)"]," indicates that the operation was unsuccessful by animating the drag clue to its original position.\n",["inlinecode","e.preventDefault()"]," simply removes the clue, as if it has been dropped.\nAs a general rule, use ",["inlinecode","preventDefault"]," to manually handle the drag&drop operation, and ",["inlinecode","setValid(false)"]," to indicate unsuccessful drag&drops."],["header",{"level":4},"Example - subscribe to the \"drop\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  drop: function(e) {\n    console.log(\"Dropped\", e.sourceNode);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"drop\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_drop(e) {\n  console.log(\"Dropped\", e.sourceNode);\n}\n$(\"#treeview\").kendoTreeView({\n  dragAndDrop: true,\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"drop\", tree_drop);\n</script>"],["header",{"level":3},"expand"],["para","Triggered before a subgroup gets expanded."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The expanded node"],["header",{"level":4},"Example - subscribe to the \"expand\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  expand: function(e) {\n    console.log(\"Expand\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"expand\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_expand(e) {\n  console.log(\"Expand\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"expand\", tree_expand);\n</script>"],["header",{"level":3},"change"],["para","Triggered when the selection has changed (either by the user or through the ",["inlinecode","select"]," method)."],["header",{"level":4},"Example - subscribe to the \"change\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  change: function(e) {\n    console.log(\"Change\", this.select());\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"change\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_change(e) {\n  console.log(\"Change\", this.select());\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"change\", tree_change);\n</script>"],["header",{"level":3},"select"],["para","Triggered when a node is being selected by the user. Cancellable."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The selected node"],["header",{"level":4},"Example - subscribe to the \"select\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  select: function(e) {\n    console.log(\"Selecting\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"select\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_select(e) {\n  console.log(\"select\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"Selecting\", tree_select);\n</script>"],["header",{"level":3},"navigate"],["para","Triggered when the user moves the focus on another node"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.node ",["inlinecode","Element"]],["para","The focused node"],["header",{"level":4},"Example - subscribe to the \"navigate\" event during initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ],\n  navigate: function(e) {\n    console.log(\"Navigated to\", e.node);\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"navigate\" event after initialization"],["code_block","<div id=\"treeview\"></div>\n<script>\nfunction tree_navigate(e) {\n  console.log(\"Navigating to\", e.node);\n}\n$(\"#treeview\").kendoTreeView({\n  dataSource: [\n    { text: \"foo\", items: [\n      { text: \"bar\" }\n    ] }\n  ]\n});\nvar treeview = $(\"#treeview\").data(\"kendoTreeView\");\ntreeview.bind(\"navigate\", tree_navigate);\n</script>"]]},"kendo.ui":{"file":"api/web/ui.md","name":"kendo.ui","config":[],"methods":[{"name":"plugin","args":[{"name":"widget","type":["kendo.ui.Widget"],"short_doc":[["para","The widget function."]],"doc":[["para","The widget function."]]},{"name":"register","type":["Object","kendo.ui"],"short_doc":[["para","The object where the reference to the widget is recorded."]],"doc":[["para","The object where the reference to the widget is recorded."]]},{"name":"prefix","type":["String","\"\""],"short_doc":[["para","The plugin function prefix, e.g. \"Mobile\" will register \"kendoMobileFoo\"."]],"doc":[["para","The plugin function prefix, e.g. \"Mobile\" will register \"kendoMobileFoo\"."]]}],"short_doc":[["para","Helper method for writing new widgets.\nExposes a jQuery plug-in that will handle the widget creation and attach its client-side object in the appropriate data-* attribute."]],"doc":[["para","Helper method for writing new widgets.\nExposes a jQuery plug-in that will handle the widget creation and attach its client-side object in the appropriate data-* attribute."],["header",{"level":4},"Example"],["code_block","function TextBox(element, options) {\n}\n\nkendo.ui.plugin(TextBox);\n\n// initialize a new TextBox for each input, with the given options object.\n$(\"input\").kendoTextBox({ });\n// get the TextBox object and call the value API method\n$(\"input\").data(\"kendoTextBox\").value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"widget ",["inlinecode","kendo.ui.Widget"]],["para","The widget function."],["header",{"level":5},"register ",["inlinecode","Object"]," ",["strong","(default: ",["inlinecode","kendo.ui"],")"]],["para","The object where the reference to the widget is recorded."],["header",{"level":5},"prefix ",["inlinecode","String"]," ",["strong","(default: ",["inlinecode","\"\""],")"]],["para","The plugin function prefix, e.g. \"Mobile\" will register \"kendoMobileFoo\"."]],"examples":[[["header",{"level":4},"Example"],["code_block","function TextBox(element, options) {\n}\n\nkendo.ui.plugin(TextBox);\n\n// initialize a new TextBox for each input, with the given options object.\n$(\"input\").kendoTextBox({ });\n// get the TextBox object and call the value API method\n$(\"input\").data(\"kendoTextBox\").value();"]]]},{"name":"progress","args":[{"name":"element","type":["jQuery"],"short_doc":[["para","The container, which will be overlaid. ",["strong","The element must have a ",["inlinecode","position"]," style applied with one of the following values: ",["inlinecode","relative"],", ",["inlinecode","absolute"],", or ",["inlinecode","fixed"],"."]]],"doc":[["para","The container, which will be overlaid. ",["strong","The element must have a ",["inlinecode","position"]," style applied with one of the following values: ",["inlinecode","relative"],", ",["inlinecode","absolute"],", or ",["inlinecode","fixed"],"."]]]},{"name":"toggle","type":["Boolean"],"short_doc":[["para","The flag, which indicates whether to show or hide the loading overlay."]],"doc":[["para","The flag, which indicates whether to show or hide the loading overlay."]]}],"short_doc":[["para","Shows or hides a semi-transparent overlay with a loading image, with styling, which depends on the used theme."]],"doc":[["para","Shows or hides a semi-transparent overlay with a loading image, with styling, which depends on the used theme."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The container, which will be overlaid. ",["strong","The element must have a ",["inlinecode","position"]," style applied with one of the following values: ",["inlinecode","relative"],", ",["inlinecode","absolute"],", or ",["inlinecode","fixed"],"."]],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","The flag, which indicates whether to show or hide the loading overlay."],["header",{"level":4},"Example"],["code_block","<div id=\"container\" style=\"position:relative\">...</div>\n<script>\n\n\tvar ajaxContainer = $(\"#container\");\n\n\t// show loading overlay\n\tkendo.ui.progress(ajaxContainer, true);\n\n\t// hide loading overlay\n\tkendo.ui.progress(ajaxContainer, false);\n\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"container\" style=\"position:relative\">...</div>\n<script>\n\n\tvar ajaxContainer = $(\"#container\");\n\n\t// show loading overlay\n\tkendo.ui.progress(ajaxContainer, true);\n\n\t// hide loading overlay\n\tkendo.ui.progress(ajaxContainer, false);\n\n</script>"]]]}],"events":[],"fields":[],"short_doc":[],"doc":[["header",{"level":2},"Methods"],["header",{"level":3},"plugin"],["para","Helper method for writing new widgets.\nExposes a jQuery plug-in that will handle the widget creation and attach its client-side object in the appropriate data-* attribute."],["header",{"level":4},"Example"],["code_block","function TextBox(element, options) {\n}\n\nkendo.ui.plugin(TextBox);\n\n// initialize a new TextBox for each input, with the given options object.\n$(\"input\").kendoTextBox({ });\n// get the TextBox object and call the value API method\n$(\"input\").data(\"kendoTextBox\").value();"],["header",{"level":4},"Parameters"],["header",{"level":5},"widget ",["inlinecode","kendo.ui.Widget"]],["para","The widget function."],["header",{"level":5},"register ",["inlinecode","Object"]," ",["strong","(default: ",["inlinecode","kendo.ui"],")"]],["para","The object where the reference to the widget is recorded."],["header",{"level":5},"prefix ",["inlinecode","String"]," ",["strong","(default: ",["inlinecode","\"\""],")"]],["para","The plugin function prefix, e.g. \"Mobile\" will register \"kendoMobileFoo\"."],["header",{"level":3},"progress"],["para","Shows or hides a semi-transparent overlay with a loading image, with styling, which depends on the used theme."],["header",{"level":4},"Parameters"],["header",{"level":5},"element ",["inlinecode","jQuery"]],["para","The container, which will be overlaid. ",["strong","The element must have a ",["inlinecode","position"]," style applied with one of the following values: ",["inlinecode","relative"],", ",["inlinecode","absolute"],", or ",["inlinecode","fixed"],"."]],["header",{"level":5},"toggle ",["inlinecode","Boolean"]],["para","The flag, which indicates whether to show or hide the loading overlay."],["header",{"level":4},"Example"],["code_block","<div id=\"container\" style=\"position:relative\">...</div>\n<script>\n\n\tvar ajaxContainer = $(\"#container\");\n\n\t// show loading overlay\n\tkendo.ui.progress(ajaxContainer, true);\n\n\t// hide loading overlay\n\tkendo.ui.progress(ajaxContainer, false);\n\n</script>"]]},"kendo.ui.Upload":{"file":"api/web/upload.md","name":"kendo.ui.Upload","config":[{"name":"async","type":["Object"],"short_doc":[["para","Configures the ability to upload a file(s) in an asynchronous manner. Please refer to the\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode help topic"],"\nfor more details."]],"doc":[["para","Configures the ability to upload a file(s) in an asynchronous manner. Please refer to the\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode help topic"],"\nfor more details."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"]],"sub":[{"name":"saveUrl","type":["String"],"short_doc":[["para","The URL of the handler that will receive the submitted files. The handler must accept POST requests\ncontaining one or more fields with the same name as the original input name."]],"doc":[["para","The URL of the handler that will receive the submitted files. The handler must accept POST requests\ncontaining one or more fields with the same name as the original input name."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"]],"orig":"async.saveUrl"},{"name":"saveField","type":["String"],"short_doc":[["para","The name of the form field submitted to the save URL. The default value is the input name."]],"doc":[["para","The name of the form field submitted to the save URL. The default value is the input name."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            saveField: \"customSaveField\"\n        }\n    });\n</script>"]],"orig":"async.saveField"},{"name":"removeVerb","type":["String"],"default":"\"POST\"","short_doc":[["para","The HTTP verb to be used by the remove action."]],"doc":[["para","The HTTP verb to be used by the remove action."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            removeVerb: \"DELETE\"\n        }\n    });\n</script>"]],"orig":"async.removeVerb"},{"name":"removeUrl","type":["String"],"short_doc":[["para","The URL of the handler responsible for removing uploaded files (if any). The handler must accept POST\nrequests containing one or more \"fileNames\" fields specifying the files to be deleted."]],"doc":[["para","The URL of the handler responsible for removing uploaded files (if any). The handler must accept POST\nrequests containing one or more \"fileNames\" fields specifying the files to be deleted."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"]],"orig":"async.removeUrl"},{"name":"removeField","type":["String"],"default":"\"fileNames\"","short_doc":[["para","The name of the form field submitted to the Remove URL."]],"doc":[["para","The name of the form field submitted to the Remove URL."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            removeField: \"customRemoveField\"\n        }\n    });\n</script>"]],"orig":"async.removeField"},{"name":"batch","type":["Boolean"],"default":"false","short_doc":[["para","The selected files will be uploaded in separate requests, if this is supported by the browser.\nYou can change this behavior by setting batch to true."]],"doc":[["para","The selected files will be uploaded in separate requests, if this is supported by the browser.\nYou can change this behavior by setting batch to true."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            batch: true\n        }\n    });\n</script>"]],"orig":"async.batch"},{"name":"autoUpload","type":["Boolean"],"default":"true","short_doc":[["para","The selected files will be uploaded immediately by default. You can change this behavior by setting\nautoUpload to false."]],"doc":[["para","The selected files will be uploaded immediately by default. You can change this behavior by setting\nautoUpload to false."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            autoUpload: false\n        }\n    });\n</script>"]],"orig":"async.autoUpload"}]},{"name":"enabled","type":["Boolean"],"default":"true","short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") an ",["strong","Upload"],". A disabled\n",["strong","Upload"]," may be re-enabled via enable()."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") an ",["strong","Upload"],". A disabled\n",["strong","Upload"]," may be re-enabled via enable()."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        enabled: false\n    });\n</script>"]]},{"name":"files","type":["Array"],"short_doc":[["para","List of files to be initially rendered in the Upload widget files list."]],"doc":[["para","List of files to be initially rendered in the Upload widget files list."],["header",{"level":4},"Each file object in the array should contain the following properties"],["bulletlist",["listitem","name"],["listitem","size"],["listitem","extension"]],["blockquote",["para",["strong","Important:"]," This option could be used only when the Upload widget is in ",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],". The files will be rendered as successfully uploaded."]],["header",{"level":4},"Example - passing an array of initial files"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    var files = [\n\t    { name: \"file1.doc\", size: 525, extension: \".doc\" },\n\t    { name: \"file2.jpg\", size: 600, extension: \".jpg\" },\n\t    { name: \"file3.xls\", size: 720, extension: \".xls\" },\n    ];\n\n\t$(\"#upload\").kendoUpload({\n\t    async: {\n\t        saveUrl: \"Home/Save\",\n\t        removeUrl: \"Home/Remove\",\n\t        autoUpload: true\n\t    },\n\t    files: files\n\t});\n</script>"]]},{"name":"localization","type":["Object"],"short_doc":[["para","Sets the strings rendered by the Upload."]],"doc":[["para","Sets the strings rendered by the Upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        localization: {\n            select: \"customSelect\"\n        }\n    });\n</script>"]],"sub":[{"name":"uploadSelectedFiles","type":["String"],"short_doc":[["para","Sets the text of the \"Upload files\" button."]],"doc":[["para","Sets the text of the \"Upload files\" button."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            uploadSelectedFiles: \"customUploadSelectedFiles\"\n        }\n    });\n</script>"]],"orig":"localization.uploadSelectedFiles"},{"name":"statusUploading","type":["String"],"short_doc":[["para","Sets the status message for files that are being uploaded."]],"doc":[["para","Sets the status message for files that are being uploaded."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusUploading: \"customStatusUploading\"\n        }\n    });\n</script>"]],"orig":"localization.statusUploading"},{"name":"statusUploaded","type":["String"],"short_doc":[["para","Sets the status message for uploaded files."]],"doc":[["para","Sets the status message for uploaded files."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusUploaded: \"customStatusUploaded\"\n        }\n    });\n</script>"]],"orig":"localization.statusUploaded"},{"name":"statusFailed","type":["String"],"short_doc":[["para","Sets the status message for failed uploads."]],"doc":[["para","Sets the status message for failed uploads."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusFailed: \"customStatusFailed\"\n        }\n    });\n</script>"]],"orig":"localization.statusFailed"},{"name":"select","type":["String"],"short_doc":[["para","Sets the \"Select...\" button text."]],"doc":[["para","Sets the \"Select...\" button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            select: \"customSelect\"\n        }\n    });\n</script>"]],"orig":"localization.select"},{"name":"retry","type":["String"],"short_doc":[["para","Sets the text of the retry button text."]],"doc":[["para","Sets the text of the retry button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            retry: \"customRetry\"\n        }\n    });\n</script>"]],"orig":"localization.retry"},{"name":"remove","type":["String"],"short_doc":[["para","Sets the text of the remove button text."]],"doc":[["para","Sets the text of the remove button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            remove: \"customRemove\"\n        }\n    });\n</script>"]],"orig":"localization.remove"},{"name":"headerStatusUploading","type":["String"],"short_doc":[["para","Sets the header status message for files that are being uploaded."]],"doc":[["para","Sets the header status message for files that are being uploaded."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            headerStatusUploading: \"customHeaderStatusUploading\"\n        }\n    });\n</script>"]],"orig":"localization.headerStatusUploading"},{"name":"headerStatusUploaded","type":["String"],"short_doc":[["para","Sets the header status message for uploaded files."]],"doc":[["para","Sets the header status message for uploaded files."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            headerStatusUploaded: \"customHeaderStatusUploaded\"\n        }\n    });\n</script>"]],"orig":"localization.headerStatusUploaded"},{"name":"dropFilesHere","type":["String"],"default":"\"drop files here to upload\"","short_doc":[["para","Sets the drop zone hint."]],"doc":[["para","Sets the drop zone hint."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            dropFilesHere: \"customDropFilesHere\"\n        }\n    });\n</script>"]],"orig":"localization.dropFilesHere"},{"name":"cancel","type":["String"],"short_doc":[["para","Sets the text of the cancel button text."]],"doc":[["para","Sets the text of the cancel button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            cancel: \"customCancel\"\n        }\n    });\n</script>"]],"orig":"localization.cancel"}]},{"name":"multiple","type":["Boolean"],"default":"true","short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to select multiple files.\nIf ",["strong","false"],", users will be able to select only one file at a time. Note: This option does not\nlimit the total number of uploaded files in an asynchronous configuration."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to select multiple files.\nIf ",["strong","false"],", users will be able to select only one file at a time. Note: This option does not\nlimit the total number of uploaded files in an asynchronous configuration."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        multiple: false\n    });\n</script>"]]},{"name":"showFileList","type":["Boolean"],"default":"true","short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to display a file listing\nfor uploading a file(s). Disabling a file listing may be useful you wish to customize the UI; use the\nclient-side events to build your own UI."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to display a file listing\nfor uploading a file(s). Disabling a file listing may be useful you wish to customize the UI; use the\nclient-side events to build your own UI."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        showFileList: false\n    });\n</script>"]]},{"name":"template","type":["String","Function"],"short_doc":[["para","The ",["link",{"href":"http://docs.kendoui.com/api/framework/kendo#methods-template"},"template"]," used to render the files in the list"]],"doc":[["para","The ",["link",{"href":"http://docs.kendoui.com/api/framework/kendo#methods-template"},"template"]," used to render the files in the list"],["header",{"level":4},"Template data ",["inlinecode","Array"]],["bulletlist",["listitem","name - the name of the file (string of all file names separated with comma, if batch upload is used)"],["listitem","size - the file size in bytes / the total file size if batch upload is used (null if not available)"],["listitem","files - array with information about all selected files - name, size and extension"]],["blockquote",["para",["strong","Important:"]," You should add the following markup to the template in order to render an action button for each file: ",["inlinecode","<button type='button' class='k-upload-action'></button>"],".\nTo use the default progress-bar, you should add the following markup at the beginning of the template ",["inlinecode","<span class='k-progress'></span>"]," and render the rest of the template relative to it. Please check ",["link",{"href":"http://demos.kendoui.com/web/upload/templates.html"},"Upload Templates"]," for a live demo."]],["header",{"level":4},"Example - specify template as a function"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script id=\"fileTemplate\" type=\"text/x-kendo-template\">\n\t<div>\n\t    <p>Name: #=name#</p>\n\t    <p>Size: #=size# bytes</p>\n    \t<p>Extension: #=files[0].extension#</p>\n    \t<button type='button' class='k-upload-action' style='position: absolute; top: 0; right: 0;'></button>\n\t</div>\n</script>\n<script>\n\t$(\"#upload\").kendoUpload({\n\t    template: kendo.template($('#fileTemplate').html())\n\t});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n\t$(\"#upload\").kendoUpload({\n    template: \"<div><p>Name: #=name#</p>\" +\n              \"<p>Size: #=size# bytes</p><p>Extension: #=files[0].extension#</p>\" +\n              \"<button type='button' class='k-upload-action' style='position: absolute; top: 0; right: 0;'></button>\" +\n              \"</div>\"\n\t});\t\n</script>"]]}],"methods":[{"name":"destroy","args":[],"short_doc":[["para","Prepares the ",["strong","Upload"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Upload element from DOM."]]],"doc":[["para","Prepares the ",["strong","Upload"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Upload element from DOM."]],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload({\n        select: function () {\n            //sample event\n        }\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // detach events and prepare for safe removal\n    upload.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload({\n        select: function () {\n            //sample event\n        }\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // detach events and prepare for safe removal\n    upload.destroy();\n</script>"]]]},{"name":"disable","args":[],"short_doc":[["para","Disables the upload."]],"doc":[["para","Disables the upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload();\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // disables the upload\n    upload.disable();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload();\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // disables the upload\n    upload.disable();\n</script>"]]]},{"name":"enable","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","The argument, which defines whether to enable/disable the upload."]],"doc":[["para","The argument, which defines whether to enable/disable the upload."]]}],"short_doc":[["para","Enables the upload."]],"doc":[["para","Enables the upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // enables the upload\n    upload.enable();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","The argument, which defines whether to enable/disable the upload."]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // enables the upload\n    upload.enable();\n</script>"]]]},{"name":"toggle","args":[{"name":"enable","type":["Boolean"],"short_doc":[["para","(Optional) The new enabled state."]],"doc":[["para","(Optional) The new enabled state."]]}],"short_doc":[["para","Toggles the upload enabled state."]],"doc":[["para","Toggles the upload enabled state."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // toggles the upload enabled state\n    upload.toggle();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","(Optional) The new enabled state."]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // toggles the upload enabled state\n    upload.toggle();\n</script>"]]]}],"events":[{"name":"cancel","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]}],"short_doc":[["para","Fires when the upload has been cancelled while in progress."],["para","Note: The cancel event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."]],"doc":[["para","Fires when the upload has been cancelled while in progress."],["para","Note: The cancel event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        cancel: onCancel\n    });\n\n    function onCancel(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Process the Cancel event\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        cancel: onCancel\n    });\n\n    function onCancel(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Process the Cancel event\n    }\n</script>"]]],"type":["Function"]},{"name":"complete","args":[],"short_doc":[["para","Fires when all active uploads have completed either successfully or with errors."],["para","Note: The complete event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."]],"doc":[["para","Fires when all active uploads have completed either successfully or with errors."],["para","Note: The complete event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        complete: onComplete\n    });\n\n    function onComplete(e) {\n        // The upload is now idle\n    }\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        complete: onComplete\n    });\n\n    function onComplete(e) {\n        // The upload is now idle\n    }\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]},{"name":"e.operation","type":["String"],"short_doc":[["bulletlist",["listitem","\"upload\" or \"remove\"."]]],"doc":[["bulletlist",["listitem","\"upload\" or \"remove\"."]]]},{"name":"e.XMLHttpRequest","type":["Object"],"short_doc":[["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]],"doc":[["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]]}],"short_doc":[["para","Fires when an upload / remove operation has failed."],["para","Note: The error event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."]],"doc":[["para","Fires when an upload / remove operation has failed."],["para","Note: The error event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        error: onError\n    });\n\n    function onError(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Failed to upload \" + files.length + \" files\");\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"e.operation ",["inlinecode","String"]],["bulletlist",["listitem","\"upload\" or \"remove\"."]],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        error: onError\n    });\n\n    function onError(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Failed to upload \" + files.length + \" files\");\n        }\n    }\n</script>"]]],"type":["Function"]},{"name":"progress","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that are being uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that are being uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]},{"name":"percentComplete","type":["Number"],"short_doc":[["para","Upload progress (0 - 100)"]],"doc":[["para","Upload progress (0 - 100)"]]}],"short_doc":[["para","Fires when upload progress data is available."],["para","Note: The progress event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["para","Note: The progress event is not fired in IE.\nSee ",["link",{"href":"/getting-started/web/upload/supported-browsers"},"Supported Browsers"]]],"doc":[["para","Fires when upload progress data is available."],["para","Note: The progress event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["para","Note: The progress event is not fired in IE.\nSee ",["link",{"href":"/getting-started/web/upload/supported-browsers"},"Supported Browsers"]],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        progress: onProgress\n    });\n\n    function onProgress(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        console.log(e.percentComplete);\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that are being uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"percentComplete ",["inlinecode","Number"]],["para","Upload progress (0 - 100)"]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        progress: onProgress\n    });\n\n    function onProgress(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        console.log(e.percentComplete);\n    }\n</script>"]]],"type":["Function"]},{"name":"remove","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]},{"name":"data","type":["Object"],"short_doc":[["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."]],"doc":[["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."]]}],"short_doc":[["para","Fires when an uploaded file is about to be removed.\nCancelling the event will prevent the remove."]],"doc":[["para","Fires when an uploaded file is about to be removed.\nCancelling the event will prevent the remove."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        remove: onRemove\n    });\n\n    function onRemove(e) {\n        // Array with information about the removed files\n        var files = e.files;\n\n        // Process the Remove event\n        // Optionally cancel the remove operation by calling\n        // e.preventDefault()\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"data ",["inlinecode","Object"]],["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        remove: onRemove\n    });\n\n    function onRemove(e) {\n        // Array with information about the removed files\n        var files = e.files;\n\n        // Process the Remove event\n        // Optionally cancel the remove operation by calling\n        // e.preventDefault()\n    }\n</script>"]]],"type":["Function"]},{"name":"select","args":[{"name":"e","type":["Object"],"short_doc":[["para","A custom event object. The event can be cancelled just like when using a standard jQuery event object via ",["inlinecode","e.preventDefault();"]]],"doc":[["para","A custom event object. The event can be cancelled just like when using a standard jQuery event object via ",["inlinecode","e.preventDefault();"]]]},{"name":"e.files","type":["Array"],"short_doc":[["para","An array of the selected files. Each item of the array is an object with the following properties:"],["bulletlist",["listitem","name - the name of a selected file, including its extension"],["listitem","extension - the file extension of a selected file, including the leading dot (i.e. \".jpg\")"],["listitem","size - the size (in bytes) of a selected file (null, if unavailable)"],["listitem","rawFile - an in-memory representation of a selected file"]]],"doc":[["para","An array of the selected files. Each item of the array is an object with the following properties:"],["bulletlist",["listitem","name - the name of a selected file, including its extension"],["listitem","extension - the file extension of a selected file, including the leading dot (i.e. \".jpg\")"],["listitem","size - the size (in bytes) of a selected file (null, if unavailable)"],["listitem","rawFile - an in-memory representation of a selected file"]]]}],"short_doc":[["para","Triggered when a file(s) is selected. Note: Cancelling this event will prevent the selection from\noccurring."]],"doc":[["para","Triggered when a file(s) is selected. Note: Cancelling this event will prevent the selection from\noccurring."],["header",{"level":4},"Wire-up an event handler that triggered when a user selects a file(s)"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        select: onSelect\n    });\n\n    function onSelect(e) {\n        $.each(e.files, function (index, value) {\n            console.log(\"Name: \" + value.name);\n            console.log(\"Size: \" + value.size + \" bytes\");\n            console.log(\"Extension: \" + value.extension);\n        });\n    };\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e ",["inlinecode","Object"]],["para","A custom event object. The event can be cancelled just like when using a standard jQuery event object via ",["inlinecode","e.preventDefault();"]],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","An array of the selected files. Each item of the array is an object with the following properties:"],["bulletlist",["listitem","name - the name of a selected file, including its extension"],["listitem","extension - the file extension of a selected file, including the leading dot (i.e. \".jpg\")"],["listitem","size - the size (in bytes) of a selected file (null, if unavailable)"],["listitem","rawFile - an in-memory representation of a selected file"]]],"examples":[],"type":["Function"]},{"name":"success","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]},{"name":"e.operation","type":["String"],"short_doc":[["para","\"upload\" or \"remove\"."]],"doc":[["para","\"upload\" or \"remove\"."]]},{"name":"e.response","type":["String"],"short_doc":[["para","the response object returned by the server."]],"doc":[["para","the response object returned by the server."]]},{"name":"e.XMLHttpRequest","type":["Object"],"short_doc":[["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]],"doc":[["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]]}],"short_doc":[["para","Fires when an upload / remove operation has been completed successfully."],["para","Note: The success event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."]],"doc":[["para","Fires when an upload / remove operation has been completed successfully."],["para","Note: The success event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        success: onSuccess\n    });\n\n    function onSuccess(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Successfully uploaded \" + files.length + \" files\");\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"e.operation ",["inlinecode","String"]],["para","\"upload\" or \"remove\"."],["header",{"level":5},"e.response ",["inlinecode","String"]],["para","the response object returned by the server."],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        success: onSuccess\n    });\n\n    function onSuccess(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Successfully uploaded \" + files.length + \" files\");\n        }\n    }\n</script>"]]],"type":["Function"]},{"name":"upload","args":[{"name":"e.files","type":["Array"],"short_doc":[["para","List of the files that will be uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]],"doc":[["para","List of the files that will be uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]]]},{"name":"data","type":["Object"],"short_doc":[["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."]],"doc":[["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."]]},{"name":"e.XMLHttpRequest","type":["Object"],"short_doc":[["para","Note: Will be ",["em","undefined"]," if the browser does not support File API."],["para","The XMLHttpRequest instance that will be used to carry out the upload.\nThe request will be in UNSENT state."]],"doc":[["para","Note: Will be ",["em","undefined"]," if the browser does not support File API."],["para","The XMLHttpRequest instance that will be used to carry out the upload.\nThe request will be in UNSENT state."]]}],"short_doc":[["para","Fires when one or more files are about to be uploaded.\nCancelling the event will prevent the upload."],["para","Note: The upload event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."]],"doc":[["para","Fires when one or more files are about to be uploaded.\nCancelling the event will prevent the upload."],["para","Note: The upload event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Check the extension of each file and abort the upload if it is not .jpg\n        $.each(files, function () {\n            if (this.extension.toLowerCase() != \".jpg\") {\n                alert(\"Only .jpg files can be uploaded\")\n                e.preventDefault();\n            }\n        });\n    }\n</script>"],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        var xhr = e.XMLHttpRequest;\n        if (xhr) {\n            xhr.addEventListener(\"readystatechange\", function (e) {\n                if (xhr.readyState == 1 /* OPENED */) {\n                    xhr.setRequestHeader(\"X-Foo\", \"Bar\");\n                }\n            });\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that will be uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"data ",["inlinecode","Object"]],["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","Note: Will be ",["em","undefined"]," if the browser does not support File API."],["para","The XMLHttpRequest instance that will be used to carry out the upload.\nThe request will be in UNSENT state."]],"examples":[[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Check the extension of each file and abort the upload if it is not .jpg\n        $.each(files, function () {\n            if (this.extension.toLowerCase() != \".jpg\") {\n                alert(\"Only .jpg files can be uploaded\")\n                e.preventDefault();\n            }\n        });\n    }\n</script>"]],[["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        var xhr = e.XMLHttpRequest;\n        if (xhr) {\n            xhr.addEventListener(\"readystatechange\", function (e) {\n                if (xhr.readyState == 1 /* OPENED */) {\n                    xhr.setRequestHeader(\"X-Foo\", \"Bar\");\n                }\n            });\n        }\n    }\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Upload. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Upload. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"async ",["inlinecode","Object"]],["para","Configures the ability to upload a file(s) in an asynchronous manner. Please refer to the\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode help topic"],"\nfor more details."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"],["header",{"level":3},"async.autoUpload ",["inlinecode","Boolean"],["em","(default: true)"]],["para","The selected files will be uploaded immediately by default. You can change this behavior by setting\nautoUpload to false."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            autoUpload: false\n        }\n    });\n</script>"],["header",{"level":3},"async.batch ",["inlinecode","Boolean"],["em","(default: false)"]],["para","The selected files will be uploaded in separate requests, if this is supported by the browser.\nYou can change this behavior by setting batch to true."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            batch: true\n        }\n    });\n</script>"],["header",{"level":3},"async.removeField ",["inlinecode","String"],["em","(default: \"fileNames\")"]],["para","The name of the form field submitted to the Remove URL."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            removeField: \"customRemoveField\"\n        }\n    });\n</script>"],["header",{"level":3},"async.removeUrl ",["inlinecode","String"]],["para","The URL of the handler responsible for removing uploaded files (if any). The handler must accept POST\nrequests containing one or more \"fileNames\" fields specifying the files to be deleted."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"],["header",{"level":3},"async.removeVerb ",["inlinecode","String"],["em","(default: \"POST\")"]],["para","The HTTP verb to be used by the remove action."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            removeVerb: \"DELETE\"\n        }\n    });\n</script>"],["header",{"level":3},"async.saveField ",["inlinecode","String"]],["para","The name of the form field submitted to the save URL. The default value is the input name."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\",\n            saveField: \"customSaveField\"\n        }\n    });\n</script>"],["header",{"level":3},"async.saveUrl ",["inlinecode","String"]],["para","The URL of the handler that will receive the submitted files. The handler must accept POST requests\ncontaining one or more fields with the same name as the original input name."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        }\n    });\n</script>"],["header",{"level":3},"enabled ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") an ",["strong","Upload"],". A disabled\n",["strong","Upload"]," may be re-enabled via enable()."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        enabled: false\n    });\n</script>"],["header",{"level":3},"files ",["inlinecode","Array"]],["para","List of files to be initially rendered in the Upload widget files list."],["header",{"level":4},"Each file object in the array should contain the following properties"],["bulletlist",["listitem","name"],["listitem","size"],["listitem","extension"]],["blockquote",["para",["strong","Important:"]," This option could be used only when the Upload widget is in ",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],". The files will be rendered as successfully uploaded."]],["header",{"level":4},"Example - passing an array of initial files"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    var files = [\n\t    { name: \"file1.doc\", size: 525, extension: \".doc\" },\n\t    { name: \"file2.jpg\", size: 600, extension: \".jpg\" },\n\t    { name: \"file3.xls\", size: 720, extension: \".xls\" },\n    ];\n\n\t$(\"#upload\").kendoUpload({\n\t    async: {\n\t        saveUrl: \"Home/Save\",\n\t        removeUrl: \"Home/Remove\",\n\t        autoUpload: true\n\t    },\n\t    files: files\n\t});\n</script>"],["header",{"level":3},"localization ",["inlinecode","Object"]],["para","Sets the strings rendered by the Upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        localization: {\n            select: \"customSelect\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.cancel ",["inlinecode","String"]],["para","Sets the text of the cancel button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            cancel: \"customCancel\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.dropFilesHere ",["inlinecode","String"],["em","(default: \"drop files here to upload\")"]],["para","Sets the drop zone hint."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            dropFilesHere: \"customDropFilesHere\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.headerStatusUploaded ",["inlinecode","String"]],["para","Sets the header status message for uploaded files."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            headerStatusUploaded: \"customHeaderStatusUploaded\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.headerStatusUploading ",["inlinecode","String"]],["para","Sets the header status message for files that are being uploaded."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            headerStatusUploading: \"customHeaderStatusUploading\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.remove ",["inlinecode","String"]],["para","Sets the text of the remove button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            remove: \"customRemove\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.retry ",["inlinecode","String"]],["para","Sets the text of the retry button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            retry: \"customRetry\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.select ",["inlinecode","String"]],["para","Sets the \"Select...\" button text."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            select: \"customSelect\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.statusFailed ",["inlinecode","String"]],["para","Sets the status message for failed uploads."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusFailed: \"customStatusFailed\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.statusUploaded ",["inlinecode","String"]],["para","Sets the status message for uploaded files."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusUploaded: \"customStatusUploaded\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.statusUploading ",["inlinecode","String"]],["para","Sets the status message for files that are being uploaded."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            statusUploading: \"customStatusUploading\"\n        }\n    });\n</script>"],["header",{"level":3},"localization.uploadSelectedFiles ",["inlinecode","String"]],["para","Sets the text of the \"Upload files\" button."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        localization: {\n            uploadSelectedFiles: \"customUploadSelectedFiles\"\n        }\n    });\n</script>"],["header",{"level":3},"multiple ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to select multiple files.\nIf ",["strong","false"],", users will be able to select only one file at a time. Note: This option does not\nlimit the total number of uploaded files in an asynchronous configuration."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        multiple: false\n    });\n</script>"],["header",{"level":3},"showFileList ",["inlinecode","Boolean"],["em","(default: true)"]],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability to display a file listing\nfor uploading a file(s). Disabling a file listing may be useful you wish to customize the UI; use the\nclient-side events to build your own UI."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        showFileList: false\n    });\n</script>"],["header",{"level":3},"template ",["inlinecode","String|Function"]],["para","The ",["link",{"href":"http://docs.kendoui.com/api/framework/kendo#methods-template"},"template"]," used to render the files in the list"],["header",{"level":4},"Template data ",["inlinecode","Array"]],["bulletlist",["listitem","name - the name of the file (string of all file names separated with comma, if batch upload is used)"],["listitem","size - the file size in bytes / the total file size if batch upload is used (null if not available)"],["listitem","files - array with information about all selected files - name, size and extension"]],["blockquote",["para",["strong","Important:"]," You should add the following markup to the template in order to render an action button for each file: ",["inlinecode","<button type='button' class='k-upload-action'></button>"],".\nTo use the default progress-bar, you should add the following markup at the beginning of the template ",["inlinecode","<span class='k-progress'></span>"]," and render the rest of the template relative to it. Please check ",["link",{"href":"http://demos.kendoui.com/web/upload/templates.html"},"Upload Templates"]," for a live demo."]],["header",{"level":4},"Example - specify template as a function"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script id=\"fileTemplate\" type=\"text/x-kendo-template\">\n\t<div>\n\t    <p>Name: #=name#</p>\n\t    <p>Size: #=size# bytes</p>\n    \t<p>Extension: #=files[0].extension#</p>\n    \t<button type='button' class='k-upload-action' style='position: absolute; top: 0; right: 0;'></button>\n\t</div>\n</script>\n<script>\n\t$(\"#upload\").kendoUpload({\n\t    template: kendo.template($('#fileTemplate').html())\n\t});\n</script>"],["header",{"level":4},"Example - specify template as a string"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n\t$(\"#upload\").kendoUpload({\n    template: \"<div><p>Name: #=name#</p>\" +\n              \"<p>Size: #=size# bytes</p><p>Extension: #=files[0].extension#</p>\" +\n              \"<button type='button' class='k-upload-action' style='position: absolute; top: 0; right: 0;'></button>\" +\n              \"</div>\"\n\t});\t\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"destroy"],["para","Prepares the ",["strong","Upload"]," 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."],["blockquote",["para",["strong","Important:"]," This method does not remove the Upload element from DOM."]],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload({\n        select: function () {\n            //sample event\n        }\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // detach events and prepare for safe removal\n    upload.destroy();\n</script>"],["header",{"level":3},"disable"],["para","Disables the upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    $(\"#upload\").kendoUpload();\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // disables the upload\n    upload.disable();\n</script>"],["header",{"level":3},"enable"],["para","Enables the upload."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // enables the upload\n    upload.enable();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]," ",["em","(optional)"]],["para","The argument, which defines whether to enable/disable the upload."],["header",{"level":3},"toggle"],["para","Toggles the upload enabled state."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"upload\" />\n<script>\n    // upload is disabled when initialized\n    $(\"#upload\").kendoUpload({\n        enabled: false\n    });\n\n    var upload = $(\"#upload\").data(\"kendoUpload\");\n\n    // toggles the upload enabled state\n    upload.toggle();\n</script>"],["header",{"level":4},"Parameters"],["header",{"level":5},"enable ",["inlinecode","Boolean"]],["para","(Optional) The new enabled state."],["header",{"level":2},"Events"],["header",{"level":3},"cancel"],["para","Fires when the upload has been cancelled while in progress."],["para","Note: The cancel event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        cancel: onCancel\n    });\n\n    function onCancel(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Process the Cancel event\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":3},"complete"],["para","Fires when all active uploads have completed either successfully or with errors."],["para","Note: The complete event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        complete: onComplete\n    });\n\n    function onComplete(e) {\n        // The upload is now idle\n    }\n</script>"],["header",{"level":3},"error"],["para","Fires when an upload / remove operation has failed."],["para","Note: The error event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        error: onError\n    });\n\n    function onError(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Failed to upload \" + files.length + \" files\");\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"e.operation ",["inlinecode","String"]],["bulletlist",["listitem","\"upload\" or \"remove\"."]],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]],["header",{"level":3},"progress"],["para","Fires when upload progress data is available."],["para","Note: The progress event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["para","Note: The progress event is not fired in IE.\nSee ",["link",{"href":"/getting-started/web/upload/supported-browsers"},"Supported Browsers"]],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        progress: onProgress\n    });\n\n    function onProgress(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        console.log(e.percentComplete);\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that are being uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"percentComplete ",["inlinecode","Number"]],["para","Upload progress (0 - 100)"],["header",{"level":3},"remove"],["para","Fires when an uploaded file is about to be removed.\nCancelling the event will prevent the remove."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        remove: onRemove\n    });\n\n    function onRemove(e) {\n        // Array with information about the removed files\n        var files = e.files;\n\n        // Process the Remove event\n        // Optionally cancel the remove operation by calling\n        // e.preventDefault()\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"data ",["inlinecode","Object"]],["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."],["header",{"level":3},"select"],["para","Triggered when a file(s) is selected. Note: Cancelling this event will prevent the selection from\noccurring."],["header",{"level":4},"Wire-up an event handler that triggered when a user selects a file(s)"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        select: onSelect\n    });\n\n    function onSelect(e) {\n        $.each(e.files, function (index, value) {\n            console.log(\"Name: \" + value.name);\n            console.log(\"Size: \" + value.size + \" bytes\");\n            console.log(\"Extension: \" + value.extension);\n        });\n    };\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e ",["inlinecode","Object"]],["para","A custom event object. The event can be cancelled just like when using a standard jQuery event object via ",["inlinecode","e.preventDefault();"]],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","An array of the selected files. Each item of the array is an object with the following properties:"],["bulletlist",["listitem","name - the name of a selected file, including its extension"],["listitem","extension - the file extension of a selected file, including the leading dot (i.e. \".jpg\")"],["listitem","size - the size (in bytes) of a selected file (null, if unavailable)"],["listitem","rawFile - an in-memory representation of a selected file"]],["header",{"level":3},"success"],["para","Fires when an upload / remove operation has been completed successfully."],["para","Note: The success event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        success: onSuccess\n    });\n\n    function onSuccess(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        if (e.operation == \"upload\") {\n            alert(\"Successfully uploaded \" + files.length + \" files\");\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that were uploaded or removed . Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"e.operation ",["inlinecode","String"]],["para","\"upload\" or \"remove\"."],["header",{"level":5},"e.response ",["inlinecode","String"]],["para","the response object returned by the server."],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","This is either the original XHR used for the operation or a stub containing:"],["bulletlist",["listitem","responseText"],["listitem","status"],["listitem","statusText\nVerify that this is an actual XHR before accessing any other fields."]],["header",{"level":3},"upload"],["para","Fires when one or more files are about to be uploaded.\nCancelling the event will prevent the upload."],["para","Note: The upload event fires only when the upload is in\n",["link",{"href":"/getting-started/web/upload/modes#asynchronous-mode"},"async mode"],"."],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        // Array with information about the uploaded files\n        var files = e.files;\n\n        // Check the extension of each file and abort the upload if it is not .jpg\n        $.each(files, function () {\n            if (this.extension.toLowerCase() != \".jpg\") {\n                alert(\"Only .jpg files can be uploaded\")\n                e.preventDefault();\n            }\n        });\n    }\n</script>"],["header",{"level":4},"Example"],["code_block","<input type=\"file\" name=\"files\" id=\"photos\" />\n<script>\n    $(\"#photos\").kendoUpload({\n        async: {\n            saveUrl: \"save\",\n            removeUrl: \"remove\"\n        },\n        upload: onUpload\n    });\n\n    function onUpload(e) {\n        var xhr = e.XMLHttpRequest;\n        if (xhr) {\n            xhr.addEventListener(\"readystatechange\", function (e) {\n                if (xhr.readyState == 1 /* OPENED */) {\n                    xhr.setRequestHeader(\"X-Foo\", \"Bar\");\n                }\n            });\n        }\n    }\n</script>"],["header",{"level":4},"Event Data"],["header",{"level":5},"e.files ",["inlinecode","Array"]],["para","List of the files that will be uploaded. Each file has:"],["bulletlist",["listitem","name"],["listitem","extension - the file extension\n    including the leading dot - \".jpg\", \".png\", etc."],["listitem","size - the file size in bytes (null if not available)"]],["header",{"level":5},"data ",["inlinecode","Object"]],["para","Optional object that will be\nsent to the save handler in the form of key/value pairs."],["header",{"level":5},"e.XMLHttpRequest ",["inlinecode","Object"]],["para","Note: Will be ",["em","undefined"]," if the browser does not support File API."],["para","The XMLHttpRequest instance that will be used to carry out the upload.\nThe request will be in UNSENT state."]]},"kendo.ui.Window":{"file":"api/web/window.md","name":"kendo.ui.Window","config":[{"name":"actions","type":["Array"],"default":"[\"Close\"]","short_doc":[["para","The buttons for interacting with the window. Predefined array values are \"Close\", \"Refresh\", \"Minimize\",\nand \"Maximize\"."]],"doc":[["para","The buttons for interacting with the window. Predefined array values are \"Close\", \"Refresh\", \"Minimize\",\nand \"Maximize\"."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  actions: [ \"Minimize\", \"Maximize\" ]\n});\n</script>"]]},{"name":"animation","type":["Object"],"short_doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."]],"doc":[["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: false\n});\n</script>"]],"sub":[{"name":"open","type":["Object"],"short_doc":[["para","The animation that will be used when a Window opens."]],"doc":[["para","The animation that will be used when a Window opens."],["header",{"level":4},"Example - disable open animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: false\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the open animation duration."]],"doc":[["para","Defines the open animation duration."],["header",{"level":4},"Example - make the open animation 100 milliseconds long"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: {\n      duration: 100\n    }\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"]],"orig":"animation.open.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for opening of the popup."]],"doc":[["para","Effect to be used for opening of the popup."],["header",{"level":4},"Example - use only fade animation when opening window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: {\n      effects: \"fade:in\"\n    }\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"]],"orig":"animation.open.effects"}],"orig":"animation.open"},{"name":"close","type":["Object"],"short_doc":[["para","The animation that will be used when a Window closes."]],"doc":[["para","The animation that will be used when a Window closes."],["header",{"level":4},"Example - disable close animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: false\n  }\n});\n</script>"]],"sub":[{"name":"duration","type":["Number"],"short_doc":[["para","Defines the close animation duration."]],"doc":[["para","Defines the close animation duration."],["header",{"level":4},"Example - make the close animation 2 seconds long"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: {\n      duration: 2000\n    }\n  }\n});\n</script>"]],"orig":"animation.close.duration"},{"name":"effects","type":["String"],"short_doc":[["para","Effect to be used for closing of the popup."]],"doc":[["para","Effect to be used for closing of the popup."],["header",{"level":4},"Example - use only fade out animation when closing window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: {\n      effects: \"fade:out\"\n    }\n  }\n});\n</script>"]],"orig":"animation.close.effects"}],"orig":"animation.close"}]},{"name":"appendTo","type":["Object","String"],"default":"document.body","short_doc":[["para","The element that the Window will be appended to. Beneficial if the ",["link",{"href":"http://docs.kendoui.com/getting-started/web/window/overview#using-kendo-ui-window-with-a-form"},"Window is used together with a form"],".\nNote that this ",["em","does not"]," constrain the window dragging within the given element."]],"doc":[["para","The element that the Window will be appended to. Beneficial if the ",["link",{"href":"http://docs.kendoui.com/getting-started/web/window/overview#using-kendo-ui-window-with-a-form"},"Window is used together with a form"],".\nNote that this ",["em","does not"]," constrain the window dragging within the given element."],["header",{"level":4},"Example - set the window container to be the form with id=\"mainForm\""],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  appendTo: \"form#mainForm\"\n});\n</script>"]]},{"name":"content","type":["Object","String"],"short_doc":[["para","Specifies a URL or request options that the window should load its content from."],["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."]],"doc":[["para","Specifies a URL or request options that the window should load its content from."],["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."],["header",{"level":4},"Example - fetch content from the server"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: \"/details\"\n});\n</script>"]],"sub":[{"name":"template","type":["String"],"short_doc":[["para","Template for the content of a ",["strong","Window"],". Returned data from the server will be given as the ",["inlinecode","data"]," of this template.\nNote that if the returned data is JSON, the ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},["inlinecode","dataType"]," parameter"]," should be passed, so that the data gets parsed by jQuery."]],"doc":[["para","Template for the content of a ",["strong","Window"],". Returned data from the server will be given as the ",["inlinecode","data"]," of this template.\nNote that if the returned data is JSON, the ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},["inlinecode","dataType"]," parameter"]," should be passed, so that the data gets parsed by jQuery."],["header",{"level":4},"Example - fetch JSON and display it through a template"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: {\n    url: \"/userDetails\",\n    dataType: \"json\",\n    template: \"User name: #= data.username #\"\n  }\n});\n</script>"]],"orig":"content.template"}]},{"name":"draggable","type":["Boolean"],"default":"true","short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to move/drag the widget."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to move/drag the widget."],["header",{"level":4},"Example - disable window dragging"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  draggable: false\n});\n</script>"]]},{"name":"iframe","type":["Boolean"],"short_doc":[["para","Explicitly states whether content iframe should be created."]],"doc":[["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load full page"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: \"http://www.kendoui.com/\",\n  iframe: true\n});\n</script>"]]},{"name":"maxHeight","type":["Number"],"default":"Infinity","short_doc":[["para","The maximum height (in pixels) that may be achieved by resizing the window."]],"doc":[["para","The maximum height (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  maxHeight: 300\n});\n</script>"]]},{"name":"maxWidth","type":["Number"],"default":"Infinity","short_doc":[["para","The maximum width (in pixels) that may be achieved by resizing the window."]],"doc":[["para","The maximum width (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  maxWidth: 300\n});\n</script>"]]},{"name":"minHeight","type":["Number"],"default":"50","short_doc":[["para","The minimum height (in pixels) that may be achieved by resizing the window."]],"doc":[["para","The minimum height (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  minHeight: 100\n});\n</script>"]]},{"name":"minWidth","type":["Number"],"default":"50","short_doc":[["para","The minimum width (in pixels) that may be achieved by resizing the window."]],"doc":[["para","The minimum width (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  minWidth: 100\n});\n</script>"]]},{"name":"modal","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether the window should show a modal overlay over the page."]],"doc":[["para","Specifies whether the window should show a modal overlay over the page."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  modal: true\n});\n</script>"]]},{"name":"pinned","type":["Boolean"],"default":"false","short_doc":[["para","Specifies whether the window should be pinned, i.e. it will not move together with the page content during scrolling."]],"doc":[["para","Specifies whether the window should be pinned, i.e. it will not move together with the page content during scrolling."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  pinned: true,\n  position: { top: 100 }\n});\n</script>"]]},{"name":"position","type":["Object"],"short_doc":[["para","A collection of one or two members, which define the initial Window's top and/or left position on the page."]],"doc":[["para","A collection of one or two members, which define the initial Window's top and/or left position on the page."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  position: {\n    top: 100,\n    left: 200\n  }\n});\n</script>"]],"sub":[{"name":"left","type":["Number"],"short_doc":[["para","Specifies the initial left position of the window."]],"doc":[["para","Specifies the initial left position of the window."]],"orig":"position.left"},{"name":"top","type":["Number"],"short_doc":[["para","Specifies the initial top position of the window."]],"doc":[["para","Specifies the initial top position of the window."]],"orig":"position.top"}]},{"name":"resizable","type":["Boolean"],"default":"true","short_doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to resize a ",["strong","Window"],"."]],"doc":[["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to resize a ",["strong","Window"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  resizable: false\n});\n</script>"]]},{"name":"title","type":["String","Boolean"],"short_doc":[["para","The text in the window title bar. If ",["inlinecode","false"],", the window will be displayed without a title bar. Note that this will prevent the window from being dragged, and the window titlebar buttons will not be shown."]],"doc":[["para","The text in the window title bar. If ",["inlinecode","false"],", the window will be displayed without a title bar. Note that this will prevent the window from being dragged, and the window titlebar buttons will not be shown."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  title: \"Customer details\"\n});\n</script>"],["header",{"level":4},"Example - create a window without a title"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  title: false\n});\n</script>"]]},{"name":"visible","type":["Boolean"],"default":"true","short_doc":[["para","Specifies whether the window will be initially visible."]],"doc":[["para","Specifies whether the window will be initially visible."],["header",{"level":4},"Example - show a dialog after one second delay"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  visible: false\n});\nsetTimeout(function() {\n  $(\"#dialog\").data(\"kendoWindow\").open();\n}, 1000);\n</script>"]]},{"name":"width","type":["Number","String"],"short_doc":[["para","Specifies width of the window."]],"doc":[["para","Specifies width of the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  width: 400\n});\n</script>"],["header",{"level":4},"Example - specify window width in percent"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  width: \"50%\"\n});\n</script>"]]},{"name":"height","type":["Number","String"],"short_doc":[["para","Specifies height of the window."]],"doc":[["para","Specifies height of the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  height: 400\n});\n</script>"],["header",{"level":4},"Example - specify window height in percent"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  height: \"50%\"\n});\n</script>"]]}],"methods":[{"name":"center","args":[],"short_doc":[["para","Centers the window within the viewport."]],"doc":[["para","Centers the window within the viewport."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.center();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.center();\n</script>"]]]},{"name":"close","args":[],"short_doc":[["para","Closes a Window."]],"doc":[["para","Closes a Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example - close a window after one second"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nsetTimeout(function() {\n  dialog.close();\n}, 1000);\n</script>"]],"examples":[[["header",{"level":4},"Example - close a window after one second"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nsetTimeout(function() {\n  dialog.close();\n}, 1000);\n</script>"]]]},{"name":"content","args":[{"name":"content","type":["String"],"short_doc":[["para","The content of the Window."]],"doc":[["para","The content of the Window."]]}],"short_doc":[["para","Gets or set the content of a window."]],"doc":[["para","Gets or set the content of a window."],["header",{"level":4},"Parameters"],["header",{"level":5},"content ",["inlinecode","String"]," ",["em","(optional)"]],["para","The content of the Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," If the content parameter is provided, this method will return the widget object to support chaining. Otherwise, it will return the current content of the widget."],["header",{"level":4},"Example - get the window content"],["code_block","<div id=\"dialog\">foo</div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nconsole.log(dialog.content()); // logs \"foo\"\n</script>"],["header",{"level":4},"Example = set the window content"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.content(\"Kendo UI all the things!\");\n</script>"]],"examples":[[["header",{"level":4},"Example - get the window content"],["code_block","<div id=\"dialog\">foo</div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nconsole.log(dialog.content()); // logs \"foo\"\n</script>"]],[["header",{"level":4},"Example = set the window content"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.content(\"Kendo UI all the things!\");\n</script>"]]]},{"name":"destroy","args":[],"short_doc":[["para","Destroys the window and its modal overlay, if necessary. Removes the widget HTML elements from the DOM."]],"doc":[["para","Destroys the window and its modal overlay, if necessary. Removes the widget HTML elements from the DOM."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.destroy();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.destroy();\n</script>"]]]},{"name":"maximize","args":[],"short_doc":[["para","Maximizes a Window to the entire viewing area of the user agent. Triggers the resize event."]],"doc":[["para","Maximizes a Window to the entire viewing area of the user agent. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.maximize();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.maximize();\n</script>"]]]},{"name":"minimize","args":[],"short_doc":[["para","Maximizes a Window to its title bar."]],"doc":[["para","Maximizes a Window to its title bar."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.minimize();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.minimize();\n</script>"]]]},{"name":"open","args":[],"short_doc":[["para","Opens a Window."]],"doc":[["para","Opens a Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  visible: false\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.open();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  visible: false\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.open();\n</script>"]]]},{"name":"pin","args":[],"short_doc":[["para","Pins the Window at its current position with a position:fixed style, i.e. the widget stops moving together with the other page content when the page is scrolled.\nThe user will still be able to move the Window with the mouse or keyboard."]],"doc":[["para","Pins the Window at its current position with a position:fixed style, i.e. the widget stops moving together with the other page content when the page is scrolled.\nThe user will still be able to move the Window with the mouse or keyboard."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.pin();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.pin();\n</script>"]]]},{"name":"refresh","args":[{"name":"options","type":["Object","String"],"short_doc":[["para","Options for requesting data from the server.\nIf omitted, the window uses the ",["inlinecode","content"]," property\nthat was supplied when the window was created.\nAny options specified here are passed to jQuery.ajax()."]],"doc":[["para","Options for requesting data from the server.\nIf omitted, the window uses the ",["inlinecode","content"]," property\nthat was supplied when the window was created.\nAny options specified here are passed to jQuery.ajax()."]]},{"name":"options.url","type":["String"],"short_doc":[["para","The server URL that will be requested."]],"doc":[["para","The server URL that will be requested."]]},{"name":"options.data","type":["Object"],"short_doc":[["para","A JSON object containing the data that will be passed to the server."]],"doc":[["para","A JSON object containing the data that will be passed to the server."]]},{"name":"options.type","type":["String"],"short_doc":[["para","The HTTP request method (\"GET\", \"POST\")."]],"doc":[["para","The HTTP request method (\"GET\", \"POST\")."]]},{"name":"options.template","type":["String"],"short_doc":[["para","A template to be used for displaying the requested data."]],"doc":[["para","A template to be used for displaying the requested data."]]},{"name":"options.iframe","type":["Boolean"],"short_doc":[["para","Indicates whether the content should be fetched within an iframe, or with AJAX and rendered in the same page."]],"doc":[["para","Indicates whether the content should be fetched within an iframe, or with AJAX and rendered in the same page."]]}],"short_doc":[["para","Refreshes the content of a Window from a remote URL or the initially defined ",["link",{"href":"/api/web/window#configuration-content.template"},"content template"],".\n",["strong","Note that passing ",["inlinecode","data"]," and non-GET requests cannot be sent to an iframe"],", as they require a form with a target attribute."]],"doc":[["para","Refreshes the content of a Window from a remote URL or the initially defined ",["link",{"href":"/api/web/window#configuration-content.template"},"content template"],".\n",["strong","Note that passing ",["inlinecode","data"]," and non-GET requests cannot be sent to an iframe"],", as they require a form with a target attribute."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object|String"]],["para","Options for requesting data from the server.\nIf omitted, the window uses the ",["inlinecode","content"]," property\nthat was supplied when the window was created.\nAny options specified here are passed to jQuery.ajax()."],["header",{"level":5},"options.url ",["inlinecode","String"]],["para","The server URL that will be requested."],["header",{"level":5},"options.data ",["inlinecode","Object"]],["para","A JSON object containing the data that will be passed to the server."],["header",{"level":5},"options.type ",["inlinecode","String"]],["para","The HTTP request method (\"GET\", \"POST\")."],["header",{"level":5},"options.template ",["inlinecode","String"]],["para","A template to be used for displaying the requested data."],["header",{"level":5},"options.iframe ",["inlinecode","Boolean"]],["para","Indicates whether the content should be fetched within an iframe, or with AJAX and rendered in the same page."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.refresh(\"/feedbackForm\");\n\ndialog.refresh({\n    url: \"/feedbackForm\",\n    data: { userId: 42 }\n});\n\ndialog.refresh({\n    url: \"/userInfo\",\n    data: { userId: 42 },\n    template: \"Hello, #= firstName # #= lastName #\"\n});\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.refresh(\"/feedbackForm\");\n\ndialog.refresh({\n    url: \"/feedbackForm\",\n    data: { userId: 42 }\n});\n\ndialog.refresh({\n    url: \"/userInfo\",\n    data: { userId: 42 },\n    template: \"Hello, #= firstName # #= lastName #\"\n});\n</script>"]]]},{"name":"restore","args":[],"short_doc":[["para","Restores a maximized or minimized Window to its previous state. Triggers the resize event."]],"doc":[["para","Restores a maximized or minimized Window to its previous state. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\n\n// maximize the window\ndialog.maximize();\n\nsetTimeout(function() {\n  // restore its original size\n  dialog.restore();\n}, 1000);\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\n\n// maximize the window\ndialog.maximize();\n\nsetTimeout(function() {\n  // restore its original size\n  dialog.restore();\n}, 1000);\n</script>"]]]},{"name":"setOptions","args":[{"name":"options","type":["Object"],"short_doc":[["para","The configuration options to be set."]],"doc":[["para","The configuration options to be set."]]}],"short_doc":[["para","Allows the window to be configured with new options."]],"doc":[["para","Allows the window to be configured with new options."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The configuration options to be set."],["header",{"level":4},"Example - set new dimensions to the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.setOptions({\n  width: 180,\n  height: 225\n});\n</script>"]],"examples":[[["header",{"level":4},"Example - set new dimensions to the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.setOptions({\n  width: 180,\n  height: 225\n});\n</script>"]]]},{"name":"title","args":[{"name":"text","type":["String"],"short_doc":[["para","The title of the Window."]],"doc":[["para","The title of the Window."]]}],"short_doc":[["para","Gets or set the title of a ",["strong","Window"],"."]],"doc":[["para","Gets or set the title of a ",["strong","Window"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]," ",["em","(optional)"]],["para","The title of the Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," If a title is provided, this method will return the window object to support chaining. Otherwise, it will return the current title of the window."],["header",{"level":4},"Example - get the title of the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nvar title = dialog.title();\n</script>"],["header",{"level":4},"Example - set the title of a window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.title(\"Hello\");\n</script>"]],"examples":[[["header",{"level":4},"Example - get the title of the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nvar title = dialog.title();\n</script>"]],[["header",{"level":4},"Example - set the title of a window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.title(\"Hello\");\n</script>"]]]},{"name":"toFront","args":[],"short_doc":[["para","Brings forward a Window to the top of the z-index."]],"doc":[["para","Brings forward a Window to the top of the z-index."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toFront();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toFront();\n</script>"]]]},{"name":"toggleMaximization","args":[],"short_doc":[["para","Toggles a Window between a maximized and restored state. Triggers the resize event."]],"doc":[["para","Toggles a Window between a maximized and restored state. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toggleMaximization();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toggleMaximization();\n</script>"]]]},{"name":"unpin","args":[],"short_doc":[["para","Disables the Window's pinned state, so that the widget will move together with the other page content when the page is scrolled."]],"doc":[["para","Disables the Window's pinned state, so that the widget will move together with the other page content when the page is scrolled."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  pinned: true,\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.unpin();\n</script>"]],"examples":[[["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  pinned: true,\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.unpin();\n</script>"]]]}],"events":[{"name":"activate","args":[],"short_doc":[["para","Triggered when a Window has finished its opening animation."]],"doc":[["para","Triggered when a Window has finished its opening animation."],["header",{"level":4},"Example - subscribe to the \"activate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  activate: function() {\n    // open animation has finished playing\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"activate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_activate() {\n  // open animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"activate\", window_activate);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"activate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  activate: function() {\n    // open animation has finished playing\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"activate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_activate() {\n  // open animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"activate\", window_activate);\n</script>"]]],"type":["Function"]},{"name":"close","args":[{"name":"e.userTriggered","type":["Boolean"],"short_doc":[["para","Indicates whether the close action has been triggered by the user (by clicking the close button or hitting the escape key). When the close method has been called, this field is ",["strong","false"],"."]],"doc":[["para","Indicates whether the close action has been triggered by the user (by clicking the close button or hitting the escape key). When the close method has been called, this field is ",["strong","false"],"."]]}],"short_doc":[["para","Triggered when a Window is closed (by a user or through the close() method)."]],"doc":[["para","Triggered when a Window is closed (by a user or through the close() method)."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.userTriggered ",["inlinecode","Boolean"]],["para","Indicates whether the close action has been triggered by the user (by clicking the close button or hitting the escape key). When the close method has been called, this field is ",["strong","false"],"."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  close: function(e) {\n    // close animation has finished playing\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_close(e) {\n  // close animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"close\", window_close);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  close: function(e) {\n    // close animation has finished playing\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_close(e) {\n  // close animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"close\", window_close);\n</script>"]]],"type":["Function"]},{"name":"deactivate","args":[],"short_doc":[["para","Triggered when a Window has finished its closing animation."]],"doc":[["para","Triggered when a Window has finished its closing animation."],["header",{"level":4},"Example - subscribe to the \"deactivate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  deactivate: function() {\n    // close animation will start soon\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"deactivate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_deactivate() {\n  // close animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"deactivate\", window_deactivate);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"deactivate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  deactivate: function() {\n    // close animation will start soon\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"deactivate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_deactivate() {\n  // close animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"deactivate\", window_deactivate);\n</script>"]]],"type":["Function"]},{"name":"dragend","args":[],"short_doc":[["para","Triggered when a Window has been moved by a user."]],"doc":[["para","Triggered when a Window has been moved by a user."],["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragend: function() {\n    // user has released the window after dragging\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragend() {\n  // user has released the window after dragging\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragend\", window_dragend);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragend: function() {\n    // user has released the window after dragging\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragend() {\n  // user has released the window after dragging\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragend\", window_dragend);\n</script>"]]],"type":["Function"]},{"name":"dragstart","args":[],"short_doc":[["para","Triggered when the user starts to move the window."]],"doc":[["para","Triggered when the user starts to move the window."],["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragstart: function() {\n    // user has started dragging the window\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragstart() {\n  // user has started dragging the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragstart\", window_dragstart);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragstart: function() {\n    // user has started dragging the window\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragstart() {\n  // user has started dragging the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragstart\", window_dragstart);\n</script>"]]],"type":["Function"]},{"name":"error","args":[{"name":"e.xhr","type":["jqXHR"],"short_doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]},{"name":"e.status","type":["String"],"short_doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]],"doc":[["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]]]}],"short_doc":[["para","Triggered when an AJAX request for content fails."]],"doc":[["para","Triggered when an AJAX request for content fails."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  error: function(e) {\n    console.log(\"Request failed with status \" + e.status)\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_error(e) {\n  console.log(\"Request failed with status \" + e.status)\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"error\", window_error);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  error: function(e) {\n    console.log(\"Request failed with status \" + e.status)\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_error(e) {\n  console.log(\"Request failed with status \" + e.status)\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"error\", window_error);\n</script>"]]],"type":["Function"]},{"name":"open","args":[],"short_doc":[["para","Triggered when a Window is opened (i.e. the open() method is called)."]],"doc":[["para","Triggered when a Window is opened (i.e. the open() method is called)."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  open: function() {\n    // open animation will start soon\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_open() {\n  // open animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"open\", window_open);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  open: function() {\n    // open animation will start soon\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_open() {\n  // open animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"open\", window_open);\n</script>"]]],"type":["Function"]},{"name":"refresh","args":[],"short_doc":[["para","Triggered when the content of a Window has finished loading via AJAX,\nwhen the window iframe has finished loading, or when the refresh button\nhas been clicked on a window with static content."]],"doc":[["para","Triggered when the content of a Window has finished loading via AJAX,\nwhen the window iframe has finished loading, or when the refresh button\nhas been clicked on a window with static content."],["header",{"level":4},"Example - subscribe to the \"refresh\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  refresh: function() {\n    // new content has been fetched\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"refresh\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_refresh() {\n  // new content has been fetched\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"refresh\", window_refresh);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"refresh\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  refresh: function() {\n    // new content has been fetched\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"refresh\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_refresh() {\n  // new content has been fetched\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"refresh\", window_refresh);\n</script>"]]],"type":["Function"]},{"name":"resize","args":[],"short_doc":[["para","Triggered when a window has been resized by a user."]],"doc":[["para","Triggered when a window has been resized by a user."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  resize: function() {\n    // user has finished resizing the window\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_resize() {\n  // user has finished resizing the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"resize\", window_resize);\n</script>"]],"examples":[[["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  resize: function() {\n    // user has finished resizing the window\n  }\n});\n</script>"]],[["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_resize() {\n  // user has finished resizing the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"resize\", window_resize);\n</script>"]]],"type":["Function"]}],"fields":[],"short_doc":[["para","Represents the Kendo UI Window. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."]],"doc":[["para","Represents the Kendo UI Window. Inherits from ",["link",{"href":"/api/framework/widget"},"Widget"],"."],["header",{"level":2},"Configuration"],["header",{"level":3},"actions ",["inlinecode","Array"]," ",["em","(default: [\"Close\"])"]],["para","The buttons for interacting with the window. Predefined array values are \"Close\", \"Refresh\", \"Minimize\",\nand \"Maximize\"."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  actions: [ \"Minimize\", \"Maximize\" ]\n});\n</script>"],["header",{"level":3},"animation ",["inlinecode","Object"]],["para","A collection of {Animation} objects, used to change default animations. A value of ",["strong","false"],"\nwill disable all animations in the widget."],["header",{"level":4},"Example - disable animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: false\n});\n</script>"],["header",{"level":3},"animation.close ",["inlinecode","Object"]],["para","The animation that will be used when a Window closes."],["header",{"level":4},"Example - disable close animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: false\n  }\n});\n</script>"],["header",{"level":3},"animation.close.effects ",["inlinecode","String"]],["para","Effect to be used for closing of the popup."],["header",{"level":4},"Example - use only fade out animation when closing window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: {\n      effects: \"fade:out\"\n    }\n  }\n});\n</script>"],["header",{"level":3},"animation.close.duration ",["inlinecode","Number"]],["para","Defines the close animation duration."],["header",{"level":4},"Example - make the close animation 2 seconds long"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    close: {\n      duration: 2000\n    }\n  }\n});\n</script>"],["header",{"level":3},"animation.open ",["inlinecode","Object"]],["para","The animation that will be used when a Window opens."],["header",{"level":4},"Example - disable open animation"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: false\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"],["header",{"level":3},"animation.open.effects ",["inlinecode","String"]],["para","Effect to be used for opening of the popup."],["header",{"level":4},"Example - use only fade animation when opening window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: {\n      effects: \"fade:in\"\n    }\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"],["header",{"level":3},"animation.open.duration ",["inlinecode","Number"]],["para","Defines the open animation duration."],["header",{"level":4},"Example - make the open animation 100 milliseconds long"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  animation: {\n    open: {\n      duration: 100\n    }\n  },\n  visible: false\n});\n$(\"#dialog\").data(\"kendoWindow\").open();\n</script>"],["header",{"level":3},"appendTo ",["inlinecode","Object|String"]," ",["em","(default: document.body)"]],["para","The element that the Window will be appended to. Beneficial if the ",["link",{"href":"http://docs.kendoui.com/getting-started/web/window/overview#using-kendo-ui-window-with-a-form"},"Window is used together with a form"],".\nNote that this ",["em","does not"]," constrain the window dragging within the given element."],["header",{"level":4},"Example - set the window container to be the form with id=\"mainForm\""],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  appendTo: \"form#mainForm\"\n});\n</script>"],["header",{"level":3},"content ",["inlinecode","Object|String"]],["para","Specifies a URL or request options that the window should load its content from."],["para","Note: For URLs starting with a protocol (e.g. http://),\na container iframe element is automatically created. This behavior may change in future\nversions, so it is advisable to always use the ",["link",{"href":"#iframe"},"iframe configuration option"],"."],["header",{"level":4},"Example - fetch content from the server"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: \"/details\"\n});\n</script>"],["header",{"level":3},"content.template ",["inlinecode","String"]],["para","Template for the content of a ",["strong","Window"],". Returned data from the server will be given as the ",["inlinecode","data"]," of this template.\nNote that if the returned data is JSON, the ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},["inlinecode","dataType"]," parameter"]," should be passed, so that the data gets parsed by jQuery."],["header",{"level":4},"Example - fetch JSON and display it through a template"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: {\n    url: \"/userDetails\",\n    dataType: \"json\",\n    template: \"User name: #= data.username #\"\n  }\n});\n</script>"],["header",{"level":3},"draggable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to move/drag the widget."],["header",{"level":4},"Example - disable window dragging"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  draggable: false\n});\n</script>"],["header",{"level":3},"iframe ",["inlinecode","Boolean"]],["para","Explicitly states whether content iframe should be created."],["header",{"level":4},"Example - load full page"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  content: \"http://www.kendoui.com/\",\n  iframe: true\n});\n</script>"],["header",{"level":3},"maxHeight ",["inlinecode","Number"]," ",["em","(default: Infinity)"]],["para","The maximum height (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  maxHeight: 300\n});\n</script>"],["header",{"level":3},"maxWidth ",["inlinecode","Number"]," ",["em","(default: Infinity)"]],["para","The maximum width (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  maxWidth: 300\n});\n</script>"],["header",{"level":3},"minHeight ",["inlinecode","Number"]," ",["em","(default: 50)"]],["para","The minimum height (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  minHeight: 100\n});\n</script>"],["header",{"level":3},"minWidth ",["inlinecode","Number"]," ",["em","(default: 50)"]],["para","The minimum width (in pixels) that may be achieved by resizing the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  minWidth: 100\n});\n</script>"],["header",{"level":3},"modal ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether the window should show a modal overlay over the page."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  modal: true\n});\n</script>"],["header",{"level":3},"pinned ",["inlinecode","Boolean"]," ",["em","(default: false)"]],["para","Specifies whether the window should be pinned, i.e. it will not move together with the page content during scrolling."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  pinned: true,\n  position: { top: 100 }\n});\n</script>"],["header",{"level":3},"position ",["inlinecode","Object"]],["para","A collection of one or two members, which define the initial Window's top and/or left position on the page."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  position: {\n    top: 100,\n    left: 200\n  }\n});\n</script>"],["header",{"level":3},"position.top ",["inlinecode","Number"]],["para","Specifies the initial top position of the window."],["header",{"level":3},"position.left ",["inlinecode","Number"]],["para","Specifies the initial left position of the window."],["header",{"level":3},"resizable ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Enables (",["strong","true"],") or disables (",["strong","false"],") the ability for users to resize a ",["strong","Window"],"."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  resizable: false\n});\n</script>"],["header",{"level":3},"title ",["inlinecode","String|Boolean"]," ",["em","default: \"\""]],["para","The text in the window title bar. If ",["inlinecode","false"],", the window will be displayed without a title bar. Note that this will prevent the window from being dragged, and the window titlebar buttons will not be shown."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  title: \"Customer details\"\n});\n</script>"],["header",{"level":4},"Example - create a window without a title"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  title: false\n});\n</script>"],["header",{"level":3},"visible ",["inlinecode","Boolean"]," ",["em","(default: true)"]],["para","Specifies whether the window will be initially visible."],["header",{"level":4},"Example - show a dialog after one second delay"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  visible: false\n});\nsetTimeout(function() {\n  $(\"#dialog\").data(\"kendoWindow\").open();\n}, 1000);\n</script>"],["header",{"level":3},"width ",["inlinecode","Number | String"]],["para","Specifies width of the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  width: 400\n});\n</script>"],["header",{"level":4},"Example - specify window width in percent"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  width: \"50%\"\n});\n</script>"],["header",{"level":3},"height ",["inlinecode","Number | String"]],["para","Specifies height of the window."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  height: 400\n});\n</script>"],["header",{"level":4},"Example - specify window height in percent"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  height: \"50%\"\n});\n</script>"],["header",{"level":2},"Methods"],["header",{"level":3},"center"],["para","Centers the window within the viewport."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.center();\n</script>"],["header",{"level":3},"close"],["para","Closes a Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example - close a window after one second"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nsetTimeout(function() {\n  dialog.close();\n}, 1000);\n</script>"],["header",{"level":3},"content"],["para","Gets or set the content of a window."],["header",{"level":4},"Parameters"],["header",{"level":5},"content ",["inlinecode","String"]," ",["em","(optional)"]],["para","The content of the Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," If the content parameter is provided, this method will return the widget object to support chaining. Otherwise, it will return the current content of the widget."],["header",{"level":4},"Example - get the window content"],["code_block","<div id=\"dialog\">foo</div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nconsole.log(dialog.content()); // logs \"foo\"\n</script>"],["header",{"level":4},"Example = set the window content"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.content(\"Kendo UI all the things!\");\n</script>"],["header",{"level":3},"destroy"],["para","Destroys the window and its modal overlay, if necessary. Removes the widget HTML elements from the DOM."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.destroy();\n</script>"],["header",{"level":3},"maximize"],["para","Maximizes a Window to the entire viewing area of the user agent. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.maximize();\n</script>"],["header",{"level":3},"minimize"],["para","Maximizes a Window to its title bar."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.minimize();\n</script>"],["header",{"level":3},"open"],["para","Opens a Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  visible: false\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.open();\n</script>"],["header",{"level":3},"pin"],["para","Pins the Window at its current position with a position:fixed style, i.e. the widget stops moving together with the other page content when the page is scrolled.\nThe user will still be able to move the Window with the mouse or keyboard."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.pin();\n</script>"],["header",{"level":3},"refresh"],["para","Refreshes the content of a Window from a remote URL or the initially defined ",["link",{"href":"/api/web/window#configuration-content.template"},"content template"],".\n",["strong","Note that passing ",["inlinecode","data"]," and non-GET requests cannot be sent to an iframe"],", as they require a form with a target attribute."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object|String"]],["para","Options for requesting data from the server.\nIf omitted, the window uses the ",["inlinecode","content"]," property\nthat was supplied when the window was created.\nAny options specified here are passed to jQuery.ajax()."],["header",{"level":5},"options.url ",["inlinecode","String"]],["para","The server URL that will be requested."],["header",{"level":5},"options.data ",["inlinecode","Object"]],["para","A JSON object containing the data that will be passed to the server."],["header",{"level":5},"options.type ",["inlinecode","String"]],["para","The HTTP request method (\"GET\", \"POST\")."],["header",{"level":5},"options.template ",["inlinecode","String"]],["para","A template to be used for displaying the requested data."],["header",{"level":5},"options.iframe ",["inlinecode","Boolean"]],["para","Indicates whether the content should be fetched within an iframe, or with AJAX and rendered in the same page."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.refresh(\"/feedbackForm\");\n\ndialog.refresh({\n    url: \"/feedbackForm\",\n    data: { userId: 42 }\n});\n\ndialog.refresh({\n    url: \"/userInfo\",\n    data: { userId: 42 },\n    template: \"Hello, #= firstName # #= lastName #\"\n});\n</script>"],["header",{"level":3},"restore"],["para","Restores a maximized or minimized Window to its previous state. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\n\n// maximize the window\ndialog.maximize();\n\nsetTimeout(function() {\n  // restore its original size\n  dialog.restore();\n}, 1000);\n</script>"],["header",{"level":3},"setOptions"],["para","Allows the window to be configured with new options."],["header",{"level":4},"Parameters"],["header",{"level":5},"options ",["inlinecode","Object"]],["para","The configuration options to be set."],["header",{"level":4},"Example - set new dimensions to the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.setOptions({\n  width: 180,\n  height: 225\n});\n</script>"],["header",{"level":3},"title"],["para","Gets or set the title of a ",["strong","Window"],"."],["header",{"level":4},"Parameters"],["header",{"level":5},"text ",["inlinecode","String"]," ",["em","(optional)"]],["para","The title of the Window."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," If a title is provided, this method will return the window object to support chaining. Otherwise, it will return the current title of the window."],["header",{"level":4},"Example - get the title of the window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\nvar title = dialog.title();\n</script>"],["header",{"level":4},"Example - set the title of a window"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.title(\"Hello\");\n</script>"],["header",{"level":3},"toFront"],["para","Brings forward a Window to the top of the z-index."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toFront();\n</script>"],["header",{"level":3},"toggleMaximization"],["para","Toggles a Window between a maximized and restored state. Triggers the resize event."],["header",{"level":4},"Returns"],["para",["inlinecode","kendo.ui.Window"]," Returns the window object to support chaining."],["header",{"level":4},"Example"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.toggleMaximization();\n</script>"],["header",{"level":3},"unpin"],["para","Disables the Window's pinned state, so that the widget will move together with the other page content when the page is scrolled."],["header",{"level":4},"Example"],["code_block","<div style=\"height: 5000px;\"></div>\n<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  pinned: true,\n  position: { top: 100 }\n});\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.unpin();\n</script>"],["header",{"level":2},"Events"],["header",{"level":3},"activate"],["para","Triggered when a Window has finished its opening animation."],["header",{"level":4},"Example - subscribe to the \"activate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  activate: function() {\n    // open animation has finished playing\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"activate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_activate() {\n  // open animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"activate\", window_activate);\n</script>"],["header",{"level":3},"close"],["para","Triggered when a Window is closed (by a user or through the close() method)."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.userTriggered ",["inlinecode","Boolean"]],["para","Indicates whether the close action has been triggered by the user (by clicking the close button or hitting the escape key). When the close method has been called, this field is ",["strong","false"],"."],["header",{"level":4},"Example - subscribe to the \"close\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  close: function(e) {\n    // close animation has finished playing\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"close\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_close(e) {\n  // close animation has finished playing\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"close\", window_close);\n</script>"],["header",{"level":3},"deactivate"],["para","Triggered when a Window has finished its closing animation."],["header",{"level":4},"Example - subscribe to the \"deactivate\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  deactivate: function() {\n    // close animation will start soon\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"deactivate\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_deactivate() {\n  // close animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"deactivate\", window_deactivate);\n</script>"],["header",{"level":3},"dragend"],["para","Triggered when a Window has been moved by a user."],["header",{"level":4},"Example - subscribe to the \"dragend\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragend: function() {\n    // user has released the window after dragging\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragend\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragend() {\n  // user has released the window after dragging\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragend\", window_dragend);\n</script>"],["header",{"level":3},"dragstart"],["para","Triggered when the user starts to move the window."],["header",{"level":4},"Example - subscribe to the \"dragstart\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  dragstart: function() {\n    // user has started dragging the window\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"dragstart\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_dragstart() {\n  // user has started dragging the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"dragstart\", window_dragstart);\n</script>"],["header",{"level":3},"error"],["para","Triggered when an AJAX request for content fails."],["header",{"level":4},"Event Data"],["header",{"level":5},"e.xhr ",["inlinecode","jqXHR"]],["para","The XHR request object, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":5},"e.status ",["inlinecode","String"]],["para","The status of the request, as returned from ",["link",{"href":"http://api.jquery.com/jQuery.ajax/"},"jQuery.ajax"]],["header",{"level":4},"Example - subscribe to the \"error\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  error: function(e) {\n    console.log(\"Request failed with status \" + e.status)\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"error\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_error(e) {\n  console.log(\"Request failed with status \" + e.status)\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"error\", window_error);\n</script>"],["header",{"level":3},"open"],["para","Triggered when a Window is opened (i.e. the open() method is called)."],["header",{"level":4},"Example - subscribe to the \"open\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  open: function() {\n    // open animation will start soon\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"open\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_open() {\n  // open animation will start soon\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"open\", window_open);\n</script>"],["header",{"level":3},"refresh"],["para","Triggered when the content of a Window has finished loading via AJAX,\nwhen the window iframe has finished loading, or when the refresh button\nhas been clicked on a window with static content."],["header",{"level":4},"Example - subscribe to the \"refresh\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  refresh: function() {\n    // new content has been fetched\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"refresh\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_refresh() {\n  // new content has been fetched\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"refresh\", window_refresh);\n</script>"],["header",{"level":3},"resize"],["para","Triggered when a window has been resized by a user."],["header",{"level":4},"Example - subscribe to the \"resize\" event during initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\n$(\"#dialog\").kendoWindow({\n  resize: function() {\n    // user has finished resizing the window\n  }\n});\n</script>"],["header",{"level":4},"Example - subscribe to the \"resize\" event after initialization"],["code_block","<div id=\"dialog\"></div>\n<script>\nfunction window_resize() {\n  // user has finished resizing the window\n}\n$(\"#dialog\").kendoWindow();\nvar dialog = $(\"#dialog\").data(\"kendoWindow\");\ndialog.bind(\"resize\", window_resize);\n</script>"]]}}